Difference between revisions of "Template:Anchor"

From Timelines
Jump to: navigation, search
(The HTML isn't wikicode and it should conform to the xhtml specification which what we're output our pages in. We should not depend on Tidy to fix our code.)
(add {{{|safesubst:}}} per talk)
 
(15 intermediate revisions by 10 users not shown)
Line 1: Line 1:
<noinclude>{{#ifeq:{{SUBPAGENAME}}|sandbox|{{Template sandbox notice}}}}</noinclude><!--
+
{{{{{|safesubst:}}}#invoke:anchor|main}}<noinclude>
-->{{#if:{{{ 1|}}}|<sapn 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:yellow">[[Template:Anchor]]: too many anchors</div><!--
 
-->}}<!--
 
-->}} }} }} }} }} }} }} }} }} }}<noinclude>
 
 
 
 
{{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]