Template:HLink/doc: Difference between revisions

From UCSB Nanofab Wiki
Jump to navigation Jump to search
(verbosity)
m (used Tool List/Vac Dep as example)
Line 6: Line 6:
=== Example: ===
=== Example: ===


The code <nowiki>{{HLink|Staff List|Process Group}}</nowiki>
The code <nowiki>{{HLink|Tool List|Vacuum Deposition}}</nowiki>


produces a link to the page "Staff List" and jumps to the subheading "Process Group", like so: {{HLink|Staff List|Process Group}}
produces a link to the page "Tool List" and jumps to the subheading "Vacuum Deposition", like so: {{HLink|Tool List|Vacuum Deposition}}

Revision as of 00:37, 1 December 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|Tool List|Vacuum Deposition}}

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