Template:Internal anchor link/doc
Appearance
This is a documentation subpage for Template:Internal anchor link. It contains usage information, categories and other content that is not part of the original template page. |
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.