Template:&: Difference between revisions

m
Indent {{#switch:…}} body
m (Prepare for cleaner diff)
m (Indent {{#switch:…}} body)
Line 1:
<onlyinclude>{{#if:{{{1}}}<!--
-->|{{#if:{{{1|}}}<!--
-->|&amp;{{#switch:{{{1}}}<!--
-->|!=<nowiki/>#33<!-- the nowiki/ is necessary for displaying the # sign--><!--
-->|"=quot<!--&#34;--><!--
-->|#=<nowiki/>#35<!--
-->|$=<nowiki/>#36<!--
-->|%=<nowiki/>#37<!--&percent; doesn't work--><!--
-->|&=amp<!--&#38;--><!--
-->|'=apos<!--&#39;--><!--
-->|+=<nowiki/>#43<!--&add; doesn't work--><!--
-->|<=lt<!--&#60;--><!--
-->|>=gt<!--&#62;--><!--
-->|~=<nowiki/>#732<!--&tilde; doesn't work--><!--
-->|{{#ifeq:{{#sub:{{{1}}}|0|1}}|#|<nowiki/>}}{{{1}}}}};<!--
-->}};<!--
-->|{{#forargs:|p|v|{{#if:{{#var:p}}{{#var:v}}||&amp;#61;<!--check if the equal symbol has been sent (&equal; doesn't work)-->}}}}<!--
-->}}<!--
-->}}<!--
-->|{{#if:{{{2}}}||&amp;#124;}}<!--check if the pipe symbol has been sent
-->}}</onlyinclude>
{{doc}}
Anonymous user