Template:Coindisplay: Difference between revisions

From IdleOn MMO Wiki
imported>Kiokurashi
No edit summary
imported>Kiokurashi
No edit summary
Line 1: Line 1:
{{#iferror: {{#expr: floor({{{1}}})}} | ? |<!--
{{#iferror: {{#expr: floor({{{1|{{#var:num}}}}})}} | ? |<!--
-->{{#vardefine: coin1 | {{#iferror: {{#expr: floor({{{1}}} div 100^0) mod 100 }} | 0}} }}<!--
-->{{#vardefine: coin1 | {{#iferror: {{#expr: floor({{{1|{{#var:num}}}}} div 100^0) mod 100 }} | 0}} }}<!--
-->{{#vardefine: coin2 | {{#iferror: {{#expr: floor({{{1}}} div 100^1) mod 100 }} | 0}} }}<!--
-->{{#vardefine: coin2 | {{#iferror: {{#expr: floor({{{1|{{#var:num}}}}} div 100^1) mod 100 }} | 0}} }}<!--
-->{{#vardefine: coin3 | {{#iferror: {{#expr: floor({{{1}}} div 100^2) mod 100 }} | 0}} }}<!--
-->{{#vardefine: coin3 | {{#iferror: {{#expr: floor({{{1|{{#var:num}}}}} div 100^2) mod 100 }} | 0}} }}<!--
-->{{#vardefine: coin4 | {{#iferror: {{#expr: floor({{{1}}} div 100^3) mod 100 }} | 0}} }}<!--
-->{{#vardefine: coin4 | {{#iferror: {{#expr: floor({{{1|{{#var:num}}}}} div 100^3) mod 100 }} | 0}} }}<!--
-->{{#vardefine: coin5 | {{#iferror: {{#expr: floor({{{1}}} div 100^4)}} | 0}} }}<!--
-->{{#vardefine: coin5 | {{#iferror: {{#expr: floor({{{1|{{#var:num}}}}} 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 12:29, 13 May 2021

?