Template:Coindisplay: Difference between revisions

From IdleOn MMO Wiki
imported>BigCoight
mNo edit summary
imported>BigCoight
mNo edit summary
Line 1: Line 1:
{{#ifexpr:{{#len:{{{input}}}}} = 1|Copper {{{input}}}| }}
{{#ifexpr:{{#len:{{{input}}}}} = 1|Copper {{{input}}}}}
{{#ifexpr:{{#len:{{{input}}}}} = 2|Copper {{{input}}}| }}
{{#ifexpr:{{#len:{{{input}}}}} = 2|Copper {{{input}}}}}
{{#ifexpr:{{#len:{{{input}}}}} = 3|Silver Coins {{#sub:{{{input}}}|2|3}} Copper {{#sub:{{{input}}}|0|2}}|}}
{{#ifexpr:{{#len:{{{input}}}}} = 3|Silver Coins {{#sub:{{{input}}}|2|3}} Copper {{#sub:{{{input}}}|0|2}}}}
{{#ifexpr:{{#len:{{{input}}}}} = 4| Silver Coins {{#sub:{{{input}}}|2|4}} Copper {{#sub:{{{input}}}|0|2}}}}
{{#ifexpr:{{#len:{{{input}}}}} = 4| Silver Coins {{#sub:{{{input}}}|2|4}} Copper {{#sub:{{{input}}}|0|2}}}}
{{#ifexpr:{{#len:{{{input}}}}} = 5|Gold Coins {{#sub:{{{input}}}|4|5}} Silver Coins {{#sub:{{{input}}}|2|3}} Copper {{#sub:{{{input}}}|0|2}}|}}
{{#ifexpr:{{#len:{{{input}}}}} = 5|Gold Coins {{#sub:{{{input}}}|4|5}} Silver Coins {{#sub:{{{input}}}|2|3}} Copper {{#sub:{{{input}}}|0|2}}}}
{{#ifexpr:{{#len:{{{input}}}}} = 6|Gold Coins {{#sub:{{{input}}}|4|6}} Silver Coins {{#sub:{{{input}}}|2|4}} Copper {{#sub:{{{input}}}|0|2}}|}}
{{#ifexpr:{{#len:{{{input}}}}} = 6|Gold Coins {{#sub:{{{input}}}|4|6}} Silver Coins {{#sub:{{{input}}}|2|4}} Copper {{#sub:{{{input}}}|0|2}}}}
{{#ifexpr:{{#len:{{{input}}}}} > 6|Platinum Coins {{#sub:{{{input}}}|6}} Gold Coins {{#sub:{{{input}}}|4|6}} Silver Coins {{#sub:{{{input}}}|2|4}} Copper {{#sub:{{{input}}}|0|2}}|}}
{{#ifexpr:{{#len:{{{input}}}}} > 6|Platinum Coins {{#sub:{{{input}}}|6}} Gold Coins {{#sub:{{{input}}}|4|6}} Silver Coins {{#sub:{{{input}}}|2|4}} Copper {{#sub:{{{input}}}|0|2}}}}

Revision as of 06:12, 22 November 2020




Platinum Coins ut}}} Gold Coins nput}} Silver Coins {inp Copper {{