Template:Dr-logno and Template:Dr-logno/sandbox: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
per edit request on talk page |
fmt |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{{3}}} |
|||
<includeonly>{{#switch:{{{3}}}|y={{#expr:{{#ifexpr:{{{1}}}<0|{{{1}}}+1|{{{1}}}}}+{{{2|0}}}}}|d={{#expr:{{#ifexpr:{{{1}}}<0|-1+({{{1}}} - {{{1}}} mod 10)/10|({{{1}}} - {{{1}}} mod 10)/10}}+{{{2|0}}}}}|c={{#expr:{{#ifexpr:{{{1}}}<0|1+({{{1}}}-99 - ({{{1}}}-99) mod 100)/100|({{{1}}}+99 - ({{{1}}}+99) mod 100)/100}}+{{{2|0}}}}}|m={{#expr:{{#ifexpr:{{{1}}}<0|1+({{{1}}}-999 - ({{{1}}}-999) mod 1000)/1000|({{{1}}}+999 - ({{{1}}}+999) mod 1000)/1000}}+{{{2|0}}}}}}}</includeonly><noinclude> |
|||
|y={{#expr:<!-- |
|||
-->{{#ifexpr:{{{1}}}<0<!-- |
|||
-->|{{{1}}}+1<!-- |
|||
-->|{{{1}}}<!-- |
|||
-->}}+{{{2|0}}}<!-- |
|||
-->}} |
|||
|d={{#expr:<!-- |
|||
-->{{#ifexpr:{{{1}}}<0<!-- |
|||
-->|-1+({{{1}}} - {{{1}}} mod 10)/10<!-- |
|||
-->|({{{1}}} - {{{1}}} mod 10)/10<!-- |
|||
-->}}+{{{2|0}}}<!-- |
|||
-->}} |
|||
|c={{#expr:<!-- |
|||
-->{{#ifexpr:{{{1}}}<0<!-- |
|||
-->|1+({{{1}}}-99 - ({{{1}}}-99) mod 100)/100<!-- |
|||
-->|({{{1}}}+99 - ({{{1}}}+99) mod 100)/100<!-- |
|||
-->}}+{{{2|0}}}<!-- |
|||
-->}} |
|||
|m={{#expr:<!-- |
|||
-->{{#ifexpr:{{{1}}}<0<!-- |
|||
-->|1+({{{1}}}-999 - ({{{1}}}-999) mod 1000)/1000<!-- |
|||
-->|({{{1}}}+999 - ({{{1}}}+999) mod 1000)/1000<!-- |
|||
-->}}+{{{2|0}}}<!-- |
|||
-->}} |
|||
}}</includeonly><noinclude> |
|||
<!--Categories go on documentation subpage and interwikis go to Wikidata.--> |
<!--Categories go on documentation subpage and interwikis go to Wikidata.--> |
||
{{Documentation}} |
{{Documentation}} |