Template:Internal anchor link
Appearance
[[{{{PAGENAME}}}#|{{{PAGENAME}}}]]
This template is intended to provide convenient links to anchors within a body of text.
Three unnamed parameters are used:
- Provides the page name of the target (preferably relative Wikilinks)
- Provides an anchor within the document, and by default is the text shown for the link
- If specified, gives an alternate text for the link
Example:
{{int|Wikisource:Style guide|Wikilinks}}
produces Wikilinks.
Note: at the moment it seems capitalization is required for the anchor to function (if the section header or "id=" attribute is capitalized); the third parameter offers a clumsy workaround for this.