Template:Coindisplay: Difference between revisions

From IdleOn MMO Wiki
imported>Kiokurashi
No edit summary
imported>Wekhter
mNo edit summary
Line 6: Line 6:
-->{{#vardefine: coin5 | {{#iferror: {{#expr: floor({{{1}}} div 100^4)}} | 0}} }}<!--
-->{{#vardefine: coin5 | {{#iferror: {{#expr: floor({{{1}}} div 100^4)}} | 0}} }}<!--


-->{{#ifexpr: {{#var: coin5}} > 0 | [[File:Dementia Coin.png]]{{#var: coin5}}}} <!--
-->{{#ifexpr: {{#var: coin5}} > 0 | [[File:Dementia Coin.png|link=]]{{#var: coin5}}}} <!--
-->{{#ifexpr: {{#var: coin4}} > 0 | [[File:Platinum Coin.png]]{{#var: coin4}}}} <!--
-->{{#ifexpr: {{#var: coin4}} > 0 | [[File:Platinum Coin.png|link=]]{{#var: coin4}}}} <!--
-->{{#ifexpr: {{#var: coin3}} > 0 | [[File:Gold Coin.png]]{{#var: coin3}}}} <!--
-->{{#ifexpr: {{#var: coin3}} > 0 | [[File:Gold Coin.png|link=]]{{#var: coin3}}}} <!--
-->{{#ifexpr: {{#var: coin2}} > 0 | [[File:Silver Coin.png]]{{#var: coin2}}}} <!--
-->{{#ifexpr: {{#var: coin2}} > 0 | [[File:Silver Coin.png|link=]]{{#var: coin2}}}} <!--
-->{{#ifexpr: {{#var: coin1}} > 0 | [[File:Copper Coin.png]]{{#var: coin1}}}}<!--
-->{{#ifexpr: {{#var: coin1}} > 0 | [[File:Copper Coin.png|link=]]{{#var: coin1}}}}<!--
-->}}
-->}}

Revision as of 17:31, 26 August 2021