m (fixed typo) |
(Documentation) |
||
Line 1: | Line 1: | ||
<span id="{{{1|}}}"></span> | <noinclude>'''Documentation:''' This template creates a point on a page that can be linked from other pages. Place the following example code on a page in the spot to which you need to link: | ||
'''<nowiki>{{</nowiki>anchor|Name for the link on the page<nowiki>}}</nowiki>''' | |||
Then from another page you can enter the code: | |||
'''<nowiki>[[</nowiki>PageNameWithNewAnchor#Name for the link on the page<nowiki>]]</nowiki>''' | |||
or if it is on the current page you can alternately use: | |||
'''<nowiki>[[</nowiki>#Name for the link on the page<nowiki>]]</nowiki>''' | |||
Note that both entries can also use the pipe (|) to display alternate text to the user instead of the actual link name. | |||
The following content after the line will appear on the actual page. | |||
---- | |||
</noinclude><span id="{{{1|}}}"></span> |
Revision as of 00:24, 28 April 2013
Documentation: This template creates a point on a page that can be linked from other pages. Place the following example code on a page in the spot to which you need to link:
{{anchor|Name for the link on the page}}
Then from another page you can enter the code:
[[PageNameWithNewAnchor#Name for the link on the page]]
or if it is on the current page you can alternately use:
[[#Name for the link on the page]]
Note that both entries can also use the pipe (|) to display alternate text to the user instead of the actual link name.
The following content after the line will appear on the actual page.