Template:DW/AnchorText/doc
Template page
More actions
Template documentation (for the above template, sometimes hidden or invisible) [create]
- This template doesn't have any documentation yet! Help out by writing some. There may also be documentation on Wikia Templates which can be copied.
This template currently doesn't have any documentation; you can create it if you know how the template is used. (What is this?)
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:DW/AnchorText/doc/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/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}}