Template:Anchor

Revision as of 06:58, 6 November 2024 by BlackHawk (talk | contribs) (Created page with "<span id="{{{1}}}" class="wgl-anchor"></span><noinclude>{{AnchorText/doc}}</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template documentation
This documentation is transcluded from Template:Anchor/doc. [edit] [history] [purge]

The templates {{Anchor}} and {{AnchorText}} create anchors on a page. These can be used as the target for links in the format [[Page name#Anchor code]]. They are used as follows:

Code Visible result Link with
{{Anchor|ref}} none #ref
{{AnchorText|text}} text #text
{{AnchorText|ref|text}} text #ref
{{AnchorText|Text}}