Difference between revisions of "Template:HLink/doc"

From UCSB Nanofab Wiki
Jump to navigation Jump to search
(copied/updated from RL/doc)
 
(minor)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
This template (HLink = Header Link) lets you link to a subheading on a page. It takes 2 arguments:
+
This template (HLink = Heading Link) lets you link to a subheading on a page. It takes 2 arguments:
   
 
*the first argument is the page name
 
*the first argument is the page name
 
*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|Tool List|Vacuum Deposition}}</nowiki>
  +
  +
produces a link to the page "Tool List" and jumps to the subheading "Vacuum Deposition", like so: {{HLink|Tool List|Vacuum Deposition}}

Latest revision as of 17:37, 30 November 2017

This template (HLink = Heading 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|Tool List|Vacuum Deposition}}

produces a link to the page "Tool List" and jumps to the subheading "Vacuum Deposition", like so: Vacuum Deposition