Difference between revisions of "Template:Anchor"
From DAS Wiki
en>Plastikspork (Fix |=FOO bug where {{anchor|=FOO}} transcludes Template:FOO) |
en>Baris6161TURK (Moving TemplateData to the /doc page.) |
||
Line 1: | Line 1: | ||
− | {{< | + | <!-- |
− | {{ | + | -->{{#if:{{{ 1|}}}|<span id="{{anchorencode:{{{ 1|}}}}}"></span><!-- |
− | <!-- | + | -->{{#if:{{{ 2|}}}|<span id="{{anchorencode:{{{ 2|}}}}}"></span><!-- |
+ | -->{{#if:{{{ 3|}}}|<span id="{{anchorencode:{{{ 3|}}}}}"></span><!-- | ||
+ | -->{{#if:{{{ 4|}}}|<span id="{{anchorencode:{{{ 4|}}}}}"></span><!-- | ||
+ | -->{{#if:{{{ 5|}}}|<span id="{{anchorencode:{{{ 5|}}}}}"></span><!-- | ||
+ | -->{{#if:{{{ 6|}}}|<span id="{{anchorencode:{{{ 6|}}}}}"></span><!-- | ||
+ | -->{{#if:{{{ 7|}}}|<span id="{{anchorencode:{{{ 7|}}}}}"></span><!-- | ||
+ | -->{{#if:{{{ 8|}}}|<span id="{{anchorencode:{{{ 8|}}}}}"></span><!-- | ||
+ | -->{{#if:{{{ 9|}}}|<span id="{{anchorencode:{{{ 9|}}}}}"></span><!-- | ||
+ | -->{{#if:{{{10|}}}|<span id="{{anchorencode:{{{10|}}}}}"></span><!-- | ||
+ | -->{{#if:{{{11|}}} | ||
+ | |<span class="error">[[Template:Anchor]] (or Anchors): too many anchors, maximum is ten</span><!-- | ||
+ | -->}}<!-- | ||
+ | -->}} }} }} }} }} }} }} }} }} }}<noinclude> | ||
+ | {{Documentation|content= | ||
+ | {{high-use|5000}} | ||
+ | == Usage == | ||
+ | See [[w:Template:Anchor]] for documentation. | ||
+ | |||
+ | This version of the anchor template cannot be substituted. To insert an anchor without the template, use <code><nowiki><span id="Anchor name"></span></nowiki></code>. | ||
+ | == TemplateData == | ||
+ | {{Anchor/doc}} | ||
+ | |||
+ | [[Category:Templates{{#translation:}}]] | ||
+ | }} | ||
</noinclude> | </noinclude> |
Revision as of 12:11, February 28, 2021
Template documentation
This template is used on approximately 80,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
See w:Template:Anchor for documentation.
This version of the anchor template cannot be substituted. To insert an anchor without the template, use <span id="Anchor name"></span>
.
TemplateData
[[Category:Templates{{#translation:}}]]