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