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}}}}} = 3|Silver Coins {{#sub:{{{input}}}|0|1}} Copper {{#sub:{{{input}}}|-2}}}}{{#ifexpr:{{#len:{{{input}}}}} = 4| Silver Coins {{#sub:{{{input}}}|0|2}} Copper {{#sub:{{{input}}}|-2}}}}{{#ifexpr:{{#len:{{{input}}}}} = 5|Gold Coins {{#sub:{{{input}}}|0|1}} Silver Coins {{#sub:{{{input}}}|-4|2}} Copper {{#sub:{{{input}}}|-2}}}}{{#ifexpr:{{#len:{{{input}}}}} = 6|Gold Coins {{#sub:{{{input}}}|0|2}} Silver Coins {{#sub:{{{input}}}|-4|2}} Copper {{#sub:{{{input}}}|-2}}}}{{#ifexpr:{{#len:{{{input}}}}} = 7|Platinum Coins {{#sub:{{{input}}}|0|1}} Gold Coins {{#sub:{{{input}}}|-6|2}} Silver Coins {{#sub:{{{input}}}|-4|2}} Copper {{#sub:{{{input}}}|-2}}}}{{#ifexpr:{{#len:{{{input}}}}} = 8|Platinum Coins {{#sub:{{{input}}}|0|2}} Gold Coins {{#sub:{{{input}}}|-6|2}} Silver Coins {{#sub:{{{input}}}|-4|2}} Copper {{#sub:{{{input}}}|-2}}}}{{#ifexpr:{{#len:{{{input}}}}} > 8| Pink Coin {{#sub:{{{input}}}|0|-8}} Platinum Coins {{#sub:{{{input}}}|-8|2}} Gold Coins {{#sub:{{{input}}}|-6|2}} Silver Coins {{#sub:{{{input}}}|-4|2}} Copper {{#sub:{{{input}}}|-2}}}}
{{#ifexpr:{{#len:{{{input}}}}} = 2|Copper {{{input}}}}}
{{#ifexpr:{{#len:{{{input}}}}} = 3|Silver Coins {{#sub:{{{input}}}|0|1}} Copper {{#sub:{{{input}}}|-2}}}}
{{#ifexpr:{{#len:{{{input}}}}} = 4| Silver Coins {{#sub:{{{input}}}|0|2}} Copper {{#sub:{{{input}}}|-2}}}}
{{#ifexpr:{{#len:{{{input}}}}} = 5|Gold Coins {{#sub:{{{input}}}|0|1}} Silver Coins {{#sub:{{{input}}}|-4|2}} Copper {{#sub:{{{input}}}|-2}}}}
{{#ifexpr:{{#len:{{{input}}}}} = 6|Gold Coins {{#sub:{{{input}}}|0|2}} Silver Coins {{#sub:{{{input}}}|-4|2}} Copper {{#sub:{{{input}}}|-2}}}}
{{#ifexpr:{{#len:{{{input}}}}} = 7|Platinum Coins {{#sub:{{{input}}}|0|1}} Gold Coins {{#sub:{{{input}}}|-6|2}} Silver Coins {{#sub:{{{input}}}|-4|2}} Copper {{#sub:{{{input}}}|-2}}}}
{{#ifexpr:{{#len:{{{input}}}}} = 8|Platinum Coins {{#sub:{{{input}}}|0|2}} Gold Coins {{#sub:{{{input}}}|-6|2}} Silver Coins {{#sub:{{{input}}}|-4|2}} Copper {{#sub:{{{input}}}|-2}}}}
{{#ifexpr:{{#len:{{{input}}}}} > 8| Pink Coin {{#sub:{{{input}}}|0|-8}} Platinum Coins {{#sub:{{{input}}}|-8|2}} Gold Coins {{#sub:{{{input}}}|-6|2}} Silver Coins {{#sub:{{{input}}}|-4|2}} Copper {{#sub:{{{input}}}|-2}}}}

Revision as of 06:26, 22 November 2020

Pink Coin {{{ Platinum Coins in Gold Coins pu Silver Coins t} Copper }}