Difference between revisions of "Template:HLink/doc"

From UCSB Nanofab Wiki
Jump to navigation Jump to search
(copied/updated from RL/doc)
 
(verbosity)
Line 4: Line 4:
 
*the second argument is the subheading on that page.
 
*the second argument is the subheading on that page.
   
Example:
+
=== Example: ===
   
<nowiki>{{HLink|Staff List|Process Group}}</nowiki> produces: {{HLink|Staff List|Process Group}}
+
The code <nowiki>{{HLink|Staff List|Process Group}}</nowiki>
  +
  +
produces a link to the page "Staff List" and jumps to the subheading "Process Group", like so: {{HLink|Staff List|Process Group}}

Revision as of 17:35, 30 November 2017

This template (HLink = Header Link) lets you link to a subheading on a page. It takes 2 arguments:

  • the first argument is the page name
  • the second argument is the subheading on that page.

Example:

The code {{HLink|Staff List|Process Group}}

produces a link to the page "Staff List" and jumps to the subheading "Process Group", like so: Process Group