Template:Anchor: Difference between revisions

make target id=s perfectly compatible with html generated by [ [ #wikilink ] ] syntax. Fix also removes all restrictions of what can be an anchor name.
(no, because it's not HTML but wikisource, which is parsed case-insensitively and outputted lowercase if required (see HTML source) - so it's irrelevant to results, and makes source code more readable)
(make target id=s perfectly compatible with html generated by [ [ #wikilink ] ] syntax. Fix also removes all restrictions of what can be an anchor name.)
Line 1:
<noinclude>{{#ifeq:{{SUBPAGENAME}}|sandbox|{{Template sandbox notice}}}}</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><!--
Anonymous user