Template:DW/AnchorText
Template page
More actions
{{{1}}}
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]
Template loop detected: Template:DW/AnchorText/doc
The above text is transcluded from Template:DW/AnchorText/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:DW/AnchorText/doc. (View all subpages of this page.)
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:DW/AnchorText/doc. (View all subpages of this 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 |
| {{AnchorText|text}} | text | #text |
| {{AnchorText|ref|text}} | text | #ref |
{{AnchorText|Text}}