Template:Coindisplay: Difference between revisions

From IdleOn MMO Wiki
imported>BigCoight
mNo edit summary
imported>BigCoight
mNo edit summary
Line 1: Line 1:
<div style="display: table-cell; vertical-align: middle;">
{{#ifexpr:{{#len:{{{input}}}}} = 1|[[File:Copper Coin.png|20px]] {{{input}}}}}
{{#ifexpr:{{#len:{{{input}}}}} = 1|[[File:Copper Coin.png|20px]] {{{input}}}}}
{{#ifexpr:{{#len:{{{input}}}}} = 2|[[File:Copper Coin.png|20px]] {{{input}}}}}
{{#ifexpr:{{#len:{{{input}}}}} = 2|[[File:Copper Coin.png|20px]] {{{input}}}}}
Line 8: Line 9:
{{#ifexpr:{{#len:{{{input}}}}} = 8|[[File:Platinum Coin.png|20px]] {{#sub:{{{input}}}|0|2}} [[File:Gold Coin.png|20px]] {{#sub:{{{input}}}|-6|2}} [[File:Silver Coin.png|20px]] {{#sub:{{{input}}}|-4|2}} [[File:Copper Coin.png|20px]] {{#sub:{{{input}}}|-2}}}}
{{#ifexpr:{{#len:{{{input}}}}} = 8|[[File:Platinum Coin.png|20px]] {{#sub:{{{input}}}|0|2}} [[File:Gold Coin.png|20px]] {{#sub:{{{input}}}|-6|2}} [[File:Silver Coin.png|20px]] {{#sub:{{{input}}}|-4|2}} [[File:Copper Coin.png|20px]] {{#sub:{{{input}}}|-2}}}}
{{#ifexpr:{{#len:{{{input}}}}} > 8|[[File:Dementia Coin.png|20px]] {{#sub:{{{input}}}|0|-8}} [[File:Platinum Coin.png|20px]] {{#sub:{{{input}}}|-8|2}} [[File:Gold Coin.png|20px]] {{#sub:{{{input}}}|-6|2}} [[File:Silver Coin.png|20px]] {{#sub:{{{input}}}|-4|2}} [[File:Copper Coin.png|20px]] {{#sub:{{{input}}}|-2}}}}
{{#ifexpr:{{#len:{{{input}}}}} > 8|[[File:Dementia Coin.png|20px]] {{#sub:{{{input}}}|0|-8}} [[File:Platinum Coin.png|20px]] {{#sub:{{{input}}}|-8|2}} [[File:Gold Coin.png|20px]] {{#sub:{{{input}}}|-6|2}} [[File:Silver Coin.png|20px]] {{#sub:{{{input}}}|-4|2}} [[File:Copper Coin.png|20px]] {{#sub:{{{input}}}|-2}}}}
</div>

Revision as of 06:43, 22 November 2020





Dementia Coin.png {{{ Platinum Coin.png in Gold Coin.png pu Silver Coin.png t} Copper Coin.png }}