Template:AnchorText/doc

Revision as of 07:58, 2 June 2020 by Banri (talk | contribs) (Created page with "{{Documentation}} The templates {{Tl|Anchor}} and {{T|AnchorText}} create anchors on a page. These can be used as the target for links in the format <nowiki>Page name#Ancho...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a documentation subpage for Template:AnchorText.
It contains usage information, categories, and other content that is not part of the original template page.

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
{{Anchor text|text}} text #text
{{Anchor text|ref|text}} text #ref
{{AnchorText|Text}}