Template:PriceFormatted: Difference between revisions
From Ymirheim Wiki
(Created page with "{{#ifexpr: {{{1}}} > 10000 | {{#expr: floor({{{1}}} / 10000) }} <span style="color: rgb(255, 198, 0)">Zeny</span> }} {{#expr: {{{1}}} mod 10000 }} <span style="color: rgb(67, 182, 255)">Rupee</span>") |
(Marked this version for translation) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#ifexpr: {{{1}}} > | <includeonly>{{#ifexpr: {{{1}}} > 9999 | {{#expr: floor({{{1}}} / 10000) }} <span style="color: rgb(255, 198, 0)"><translate nowrap><!--T:1--> Zeny</translate></span> }} {{#expr: {{{1}}} mod 10000 }} <span style="color: rgb(67, 182, 255)"><translate nowrap><!--T:2--> Rupee</translate></span></includeonly><noinclude> | ||
This template can be used to format an item price from a number that specifies the amount of money in Rupee. | |||
== Examples == | |||
<pre><nowiki>{{PriceFormatted|125289}}</nowiki></pre> | |||
{{PriceFormatted|125289}} | |||
[[Category:Formatting Templates{{#translation:}}]] | |||
</noinclude> |
Latest revision as of 12:58, 29 July 2025
This template can be used to format an item price from a number that specifies the amount of money in Rupee.
Examples
{{PriceFormatted|125289}}
12 Zeny 5289 Rupee