Template:Anchor: Difference between revisions
Appearance
Forgottenman (talk | contribs) m attempt empty span element |
Forgottenman (talk | contribs) m all empty span elements |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<!-- | <!-- | ||
-->{{#if:{{{ 1|}}}|<span id="{{{ 1|}}}"></span><!-- | -->{{#if:{{{ 1|}}}|<span id="{{{ 1|}}}"></span><!-- | ||
-->{{#if:{{{ 2|}}}|<span id="{{{ 2|}}}" /><!-- | -->{{#if:{{{ 2|}}}|<span id="{{{ 2|}}}"></span><!-- | ||
-->{{#if:{{{ 3|}}}|<span id="{{{ 3|}}}" /><!-- | -->{{#if:{{{ 3|}}}|<span id="{{{ 3|}}}"></span><!-- | ||
-->{{#if:{{{ 4|}}}|<span id="{{{ 4|}}}" /><!-- | -->{{#if:{{{ 4|}}}|<span id="{{{ 4|}}}"></span><!-- | ||
-->{{#if:{{{ 5|}}}|<span id="{{{ 5|}}}" /><!-- | -->{{#if:{{{ 5|}}}|<span id="{{{ 5|}}}"></span><!-- | ||
-->{{#if:{{{ 6|}}}|<span id="{{{ 6|}}}" /><!-- | -->{{#if:{{{ 6|}}}|<span id="{{{ 6|}}}"></span><!-- | ||
-->{{#if:{{{ 7|}}}|<span id="{{{ 7|}}}" /><!-- | -->{{#if:{{{ 7|}}}|<span id="{{{ 7|}}}"></span><!-- | ||
-->{{#if:{{{ 8|}}}|<span id="{{{ 8|}}}" /><!-- | -->{{#if:{{{ 8|}}}|<span id="{{{ 8|}}}"></span><!-- | ||
-->{{#if:{{{ 9|}}}|<span id="{{{ 9|}}}" /><!-- | -->{{#if:{{{ 9|}}}|<span id="{{{ 9|}}}"></span><!-- | ||
-->{{#if:{{{10|}}}|<span id="{{{10|}}}" /><!-- | -->{{#if:{{{10|}}}|<span id="{{{10|}}}"></span><!-- | ||
-->{{#if:{{{11|}}} | -->{{#if:{{{11|}}} | ||
|<div style="background-color: Yellow;">[[Template:Anchor]]: too many anchors</div><!-- | |<div style="background-color: Yellow;">[[Template:Anchor]]: too many anchors</div><!-- | ||
Latest revision as of 22:32, 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. |