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|[[File:Copper Coin.png]]{{{input}}}}}{{#ifexpr:{{#len:{{{input}}}}} = 2|[[File:Copper Coin.png]]{{{input}}}}}{{#ifexpr:{{#len:{{{input}}}}} = 3|[[File:Silver Coin.png]]{{#sub:{{{input}}}|0|1}} [[File:Copper Coin.png]]{{#sub:{{{input}}}|-2}}}}{{#ifexpr:{{#len:{{{input}}}}} = 4| [[File:Silver Coin.png]]{{#sub:{{{input}}}|0|2}} [[File:Copper Coin.png]]{{#sub:{{{input}}}|-2}}}}{{#ifexpr:{{#len:{{{input}}}}} = 5|[[File:Gold Coin.png]]{{#sub:{{{input}}}|0|1}} [[File:Silver Coin.png]]{{#sub:{{{input}}}|-4|2}} [[File:Copper Coin.png]]{{#sub:{{{input}}}|-2}}}}{{#ifexpr:{{#len:{{{input}}}}} = 6|[[File:Gold Coin.png]]{{#sub:{{{input}}}|0|2}} [[File:Silver Coin.png]]{{#sub:{{{input}}}|-4|2}} [[File:Copper Coin.png]]{{#sub:{{{input}}}|-2}}}}{{#ifexpr:{{#len:{{{input}}}}} = 7|[[File:Platinum Coin.png]]{{#sub:{{{input}}}|0|1}} [[File:Gold Coin.png]]{{#sub:{{{input}}}|-6|2}} [[File:Silver Coin.png]]{{#sub:{{{input}}}|-4|2}} [[File:Copper Coin.png]]{{#sub:{{{input}}}|-2}}}}{{#ifexpr:{{#len:{{{input}}}}} = 8|[[File:Platinum Coin.png]]{{#sub:{{{input}}}|0|2}} [[File:Gold Coin.png]]{{#sub:{{{input}}}|-6|2}} [[File:Silver Coin.png]]{{#sub:{{{input}}}|-4|2}} [[File:Copper Coin.png]]{{#sub:{{{input}}}|-2}}}}{{#ifexpr:{{#len:{{{input}}}}} > 8| [[File:Dementia Coin.png]]{{#sub:{{{input}}}|0|-8}} [[File:Platinum Coin.png]]{{#sub:{{{input}}}|-8|2}} [[File:Gold Coin.png]]{{#sub:{{{input}}}|-6|2}} [[File:Silver Coin.png]]{{#sub:{{{input}}}|-4|2}} [[File:Copper Coin.png]]{{#sub:{{{input}}}|-2}}}} | {{#ifexpr:{{#len:{{{input}}}}} = 1|[[File:Copper Coin.png|15px]] {{{input}}}}} | ||
{{#ifexpr:{{#len:{{{input}}}}} = 2|[[File:Copper Coin.png|15px]] {{{input}}}}} | |||
{{#ifexpr:{{#len:{{{input}}}}} = 3|[[File:Silver Coin.png|15px]] {{#sub:{{{input}}}|0|1}} [[File:Copper Coin.png|15px]] {{#sub:{{{input}}}|-2}}}} | |||
{{#ifexpr:{{#len:{{{input}}}}} = 4|[[File:Silver Coin.png|15px]] {{#sub:{{{input}}}|0|2}} [[File:Copper Coin.png|15px]] {{#sub:{{{input}}}|-2}}}} | |||
{{#ifexpr:{{#len:{{{input}}}}} = 5|[[File:Gold Coin.png|15px]] {{#sub:{{{input}}}|0|1}} [[File:Silver Coin.png|15px]] {{#sub:{{{input}}}|-4|2}} [[File:Copper Coin.png|15px]] {{#sub:{{{input}}}|-2}}}} | |||
{{#ifexpr:{{#len:{{{input}}}}} = 6|[[File:Gold Coin.png|15px]] {{#sub:{{{input}}}|0|2}} [[File:Silver Coin.png|15px]] {{#sub:{{{input}}}|-4|2}} [[File:Copper Coin.png|15px]] {{#sub:{{{input}}}|-2}}}} | |||
{{#ifexpr:{{#len:{{{input}}}}} = 7|[[File:Platinum Coin.png|15px]] {{#sub:{{{input}}}|0|1}} [[File:Gold Coin.png|15px]] {{#sub:{{{input}}}|-6|2}} [[File:Silver Coin.png|15px]] {{#sub:{{{input}}}|-4|2}} [[File:Copper Coin.png|15px]] {{#sub:{{{input}}}|-2}}}} | |||
{{#ifexpr:{{#len:{{{input}}}}} = 8|[[File:Platinum Coin.png|15px]] {{#sub:{{{input}}}|0|2}} [[File:Gold Coin.png|15px]] {{#sub:{{{input}}}|-6|2}} [[File:Silver Coin.png|15px]] {{#sub:{{{input}}}|-4|2}} [[File:Copper Coin.png|15px]] {{#sub:{{{input}}}|-2}}}} | |||
{{#ifexpr:{{#len:{{{input}}}}} > 8|[[File:Dementia Coin.png|15px]] {{#sub:{{{input}}}|0|-8}} [[File:Platinum Coin.png|15px]] {{#sub:{{{input}}}|-8|2}} [[File:Gold Coin.png|15px]] {{#sub:{{{input}}}|-6|2}} [[File:Silver Coin.png|15px]] {{#sub:{{{input}}}|-4|2}} [[File:Copper Coin.png|15px]] {{#sub:{{{input}}}|-2}}}} |