Difference between revisions of "Template:Anchor"

From Timelines
Jump to: navigation, search
(Remove nesting and anchorencode (only needed for external links))
(add {{{|safesubst:}}} per talk)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#if:{{{1|}}}|<span id="{{anchorencode:{{{1|}}}}}"></span>}}<!--
+
{{{{{|safesubst:}}}#invoke:anchor|main}}<noinclude>
-->{{#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 10.</span>}}<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 15:35, 14 October 2014

Template documentation[create]