Template:Coindisplay: Difference between revisions

From IdleOn MMO Wiki
imported>Kyromyr
mNo edit summary
imported>Kyromyr
m (Don't modulo the final coin.)
Line 4: Line 4:
-->{{#vardefine: coin3 | {{#iferror: {{#expr: floor({{{1}}} div 100^2) mod 100 }} | 0}} }}<!--
-->{{#vardefine: coin3 | {{#iferror: {{#expr: floor({{{1}}} div 100^2) mod 100 }} | 0}} }}<!--
-->{{#vardefine: coin4 | {{#iferror: {{#expr: floor({{{1}}} div 100^3) mod 100 }} | 0}} }}<!--
-->{{#vardefine: coin4 | {{#iferror: {{#expr: floor({{{1}}} div 100^3) mod 100 }} | 0}} }}<!--
-->{{#vardefine: coin5 | {{#iferror: {{#expr: floor({{{1}}} div 100^4) mod 100 }} | 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]]{{#var: coin5}}}} <!--

Revision as of 13:06, 22 November 2020

?