Difference between revisions of "Template:Anchor"

From Timelines
Jump to: navigation, search
(make target id=s perfectly compatible with html generated by [ [ #wikilink ] ] syntax. Fix also removes all restrictions of what can be an anchor name.)
(add {{{|safesubst:}}} per talk)
 
(17 intermediate revisions by 12 users not shown)
Line 1: Line 1:
<noinclude>{{#ifeq:{{SUBPAGENAME}}|sandbox|{{Template sandbox notice}}}}</noinclude><!--
+
{{{{{|safesubst:}}}#invoke:anchor|main}}<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}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
+
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
 
</noinclude>
 
</noinclude>

Latest revision as of 16:35, 14 October 2014

Template documentation[create]