Template:Anchor: Difference between revisions
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.
m>Maelgwnbot m (Bot testing: removing out-dated semi - protection template) |
m>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.) |
||
Line 1: | Line 1: | ||
<noinclude>{{#ifeq:{{SUBPAGENAME}}|sandbox|{{Template sandbox notice}}}}</noinclude><!-- | <noinclude>{{#ifeq:{{SUBPAGENAME}}|sandbox|{{Template sandbox notice}}}}</noinclude><!-- | ||
-->{{#if:{{{ 1|}}}|< | -->{{#if:{{{ 1|}}}|<sapn id="{{anchorencode:{{{ 1|}}}}}" /><!-- | ||
-->{{#if:{{{ 2|}}}|< | -->{{#if:{{{ 2|}}}|<span id="{{anchorencode:{{{ 2|}}}}}" /><!-- | ||
-->{{#if:{{{ 3|}}}|< | -->{{#if:{{{ 3|}}}|<span id="{{anchorencode:{{{ 3|}}}}}" /><!-- | ||
-->{{#if:{{{ 4|}}}|< | -->{{#if:{{{ 4|}}}|<span id="{{anchorencode:{{{ 4|}}}}}" /><!-- | ||
-->{{#if:{{{ 5|}}}|< | -->{{#if:{{{ 5|}}}|<span id="{{anchorencode:{{{ 5|}}}}}" /><!-- | ||
-->{{#if:{{{ 6|}}}|< | -->{{#if:{{{ 6|}}}|<span id="{{anchorencode:{{{ 6|}}}}}" /><!-- | ||
-->{{#if:{{{ 7|}}}|< | -->{{#if:{{{ 7|}}}|<span id="{{anchorencode:{{{ 7|}}}}}" /><!-- | ||
-->{{#if:{{{ 8|}}}|< | -->{{#if:{{{ 8|}}}|<span id="{{anchorencode:{{{ 8|}}}}}" /><!-- | ||
-->{{#if:{{{ 9|}}}|< | -->{{#if:{{{ 9|}}}|<span id="{{anchorencode:{{{ 9|}}}}}" /><!-- | ||
-->{{#if:{{{10|}}}|< | -->{{#if:{{{10|}}}|<span id="{{anchorencode:{{{10|}}}}}" /><!-- | ||
-->{{#if:{{{11|}}} | -->{{#if:{{{11|}}} | ||
|< | |<div style="background:yellow">[[Template:Anchor]]: too many anchors</div><!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->}} }} }} }} }} }} }} }} }} }}<noinclude> | -->}} }} }} }} }} }} }} }} }} }}<noinclude> |