Template:Anchor: Difference between revisions

From All Skies Encyclopaedia
imported>Dispenser
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.
imported>Plastikspork
Fix |=FOO bug where {{anchor|=FOO}} transcludes Template:FOO
 
(16 intermediate revisions by 11 users not shown)
Line 1: Line 1:
<noinclude>{{#ifeq:{{SUBPAGENAME}}|sandbox|{{Template sandbox notice}}}}</noinclude><!--
{{<includeonly>safesubst:</includeonly>#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 22:06, 31 January 2021