Template:Dyr-make: Difference between revisions

From Guild of Archivists
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#switch:{{{2}}}
<includeonly>{{#switch:{{{2}}}
   |y={{#ifexpr:{{{1}}}<0
   |y={{#ifexpr:{{{1}}}<0
     |{{dyrep |{{#expr:abs {{{1}}}+1}}| {{{3|}}}b }}
     |{{dyrep |{{#expr:abs {{{1}}}}}| {{{3|}}}b }}
     |{{dyrep |{{{1}}}| {{{3|}}} }}
     |{{dyrep |{{{1}}}| {{{3|}}} }}
   }}
   }}
   |d={{#ifexpr:{{{1}}}<0
   |d={{#ifexpr:{{{1}}}<0
     | {{dyrep | {{#expr:abs({{{1}}}-1) }}s BE | {{{3|}}}|{{{1}}}s BE}}
     | {{dyrep | {{#expr:abs({{{1}}})}}s BE | {{{3|}}}|{{#expr:abs({{{1}}})}}s BE}}
     | {{dyrep | {{{1}}}s DE | {{{3|}}}|{{{1}}}s DE}}
     | {{dyrep | {{{1}}}s DE | {{{3|}}}|{{{1}}}s DE}}
   }}
   }}

Latest revision as of 18:22, 25 May 2018

Template documentation[create]