User:SyntaxTerror/Sandbox
Jump to navigation
Jump to search
Use
This template allows you to create invisible "anchors" in a page that can be used as link targets. This can be useful to make direct links to table rows for example.
To link to an anchor from within the same page, use [[#Anchor name|display text]]
. To link to an anchor from another page, use [[Article name#Anchor name|display text]]
.
Up to nine different "anchors" (names) can be given to a single template. There is no limit to the number of uses of this template in a page.
If the same name is used several times, the link will only point to the first occurrence of the template on the page.
Syntax
{{Anchor|''Name of anchor 1''|...|''Name of anchor 9''}}
Example
Something{{Anchor|Something}}
in the wikicode of a page can be linked using:
[[#Something]]
on the same page.[[Name of the page#Something]]
on another page.