Template:Anchor/doc

From UnderWiki
< Template:Anchor
Revision as of 06:49, 2 February 2015 by Fenyx4 (talk | contribs) (1 revision imported: Template import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template manually adds one or more HTML anchors (i.e., link targets) to a page. This allows incoming links to target locations on the page other than section headings.

Usage

{{anchor|<target>}}

This allows links of the form [[#target]] to be used on the same page and links of the form [[Page title#target]] to be used on a different page (assuming "Page title" is the title of the page this template is used on).