Template:Anchor: Difference between revisions
Appearance
Forgottenman (talk | contribs) create from WS |
Forgottenman (talk | contribs) m rm extra closes |
||
| Line 13: | Line 13: | ||
|<div style="background-color: Yellow;">[[Template:Anchor]]: too many anchors</div><!-- | |<div style="background-color: Yellow;">[[Template:Anchor]]: too many anchors</div><!-- | ||
-->}}<!-- | -->}}<!-- | ||
--> | -->}} }} }} }} }} }} }} }} }} }}<noinclude> | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> | ||
Revision as of 21:30, 10 March 2011
Usage
Used to create an anchor point in text that allows for wikilinks.
{{anchor|point}} creates the anchor named point. This can then be linked to from the same or another page using a link like this: [[Page#point]]. This template does not create visible text: the anchor will be invisible to the reader. For visible text, use {{Anchor+}}.
Multiple anchors
Anchor can carry 10 variables
{{anchor|point1|point2|point3|...|point10}}
Thus this anchor is reachable by any of the links [[Page#point1]], [[Page#point2]], etc.
| The above documentation is transcluded from Template:Anchor/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |