Changes

Jump to: navigation, search

Template:Currency

No change in size, 4 years ago
no edit summary
{{#vardefine:copper|{{#expr:{{{1}}}mod100}}}}
|{{#vardefine:gold|0}}{{#vardefine:silver|0}}{{#vardefine:copper|0}}
}} }}<span style="white-space:nowrap;">{{#ifexpr:{{#var:platinum}}+{{#var:gold}}+{{#var:silver}}+{{#var:copper}}>0 <!--We also display copper if 0 value-->
| {{#ifexpr:{{#var:platinum}}>0 | {{#var:platinum}} {{Platinum}} }}<!--
-->{{#ifexpr:{{#var:gold}}>0 | {{#ifexpr:{{#var:platinum}}>0|&nbsp;}}{{#var:gold}} {{Gold}} }}<!--
-->{{#ifexpr:{{#var:copper}}>0 | {{#ifexpr:{{#var:platinum}}>0 or {{#var:gold}}>0 or {{#var:silver}}>0|&nbsp;}}{{#var:copper}} {{Copper}} }}
| {{copper|0}}
}}</span> }}</includeonly><noinclude>
{{doc}}
 
1,420

edits

Navigation menu