Template:Anchor: Difference between revisions
From All Skies Encyclopaedia
imported>Fullstop (make target id=s perfectly compatible with html generated by [ [ #wikilink ] ] syntax. Fix also removes all restrictions of what can be an anchor name.) |
imported>Plastikspork (Fix |=FOO bug where {{anchor|=FOO}} transcludes Template:FOO) |
||
(18 intermediate revisions by 13 users not shown) | |||
Line 1: | Line 1: | ||
{{<includeonly>safesubst:</includeonly>#invoke:anchor|main}}<noinclude> |
|||
<noinclude>{{#ifeq:{{SUBPAGENAME}}|sandbox|{{Template sandbox notice}}}}</noinclude><!-- |
|||
-->{{#if:{{{ 1|}}}|<SPAN ID="{{anchorencode:{{{ 1|}}}}}" /><!-- |
|||
-->{{#if:{{{ 2|}}}|<SPAN ID="{{anchorencode:{{{ 2|}}}}}" /><!-- |
|||
-->{{#if:{{{ 3|}}}|<SPAN ID="{{anchorencode:{{{ 3|}}}}}" /><!-- |
|||
-->{{#if:{{{ 4|}}}|<SPAN ID="{{anchorencode:{{{ 4|}}}}}" /><!-- |
|||
-->{{#if:{{{ 5|}}}|<SPAN ID="{{anchorencode:{{{ 5|}}}}}" /><!-- |
|||
-->{{#if:{{{ 6|}}}|<SPAN ID="{{anchorencode:{{{ 6|}}}}}" /><!-- |
|||
-->{{#if:{{{ 7|}}}|<SPAN ID="{{anchorencode:{{{ 7|}}}}}" /><!-- |
|||
-->{{#if:{{{ 8|}}}|<SPAN ID="{{anchorencode:{{{ 8|}}}}}" /><!-- |
|||
-->{{#if:{{{ 9|}}}|<SPAN ID="{{anchorencode:{{{ 9|}}}}}" /><!-- |
|||
-->{{#if:{{{10|}}}|<SPAN ID="{{anchorencode:{{{10|}}}}}" /><!-- |
|||
-->{{#if:{{{11|}}} |
|||
|<DIV STYLE="background-color:yellow">[[Template:Anchor]]: too many anchors</DIV><!-- |
|||
-->}}<!-- |
|||
-->}} }} }} }} }} }} }} }} }} }}<noinclude> |
|||
{{pp-semi-protected| small=yes | reason=No need for such template to be anon-editable. }} |
|||
{{Documentation}} |
{{Documentation}} |
||
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> |
|||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --> |
|||
</noinclude> |
</noinclude> |