Template:Anchor/doc: Difference between revisions
Appearance
Forgottenman (talk | contribs) create from WS |
Forgottenman (talk | contribs) m reduce headings, adjust title |
||
| Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
== | ==Usage== | ||
Used to create an anchor point in text that allows for wikilinks. | Used to create an anchor point in text that allows for wikilinks. | ||
<nowiki>{{anchor|point}}</nowiki> creates the anchor named ''point''. This can then be linked to from the same or another page using a link like this: <nowiki>[[Page#point]]</nowiki>. This template does not create visible text: the anchor will be invisible to the reader. For visible text, use {{tl|Anchor+}}. | <nowiki>{{anchor|point}}</nowiki> creates the anchor named ''point''. This can then be linked to from the same or another page using a link like this: <nowiki>[[Page#point]]</nowiki>. This template does not create visible text: the anchor will be invisible to the reader. For visible text, use {{tl|Anchor+}}. | ||
===Multiple anchors=== | |||
Anchor can carry 10 variables | Anchor can carry 10 variables | ||
<pre>{{anchor|point1|point2|point3|...|point10}}</pre> | <pre>{{anchor|point1|point2|point3|...|point10}}</pre> | ||
Latest revision as of 22:30, 10 March 2011
| This is a documentation subpage for Template:Anchor. It contains usage information, categories and other content that is not part of the original template page. |
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.