7,180
edits
Changes
Created page with "<noinclude> ==Usage== Format amounts of resources with icons and separators, e.g. for display in a rewards table. * The first parameter is the amount of Runes. * The first par..."
<noinclude>
==Usage==
Format amounts of resources with icons and separators, e.g. for display in a rewards table.
* The first parameter is the amount of Runes.
* The first parameter is the amount of Crystals.
* The first parameter is the amount of Jewels.
Leaving a parameter blank omits it from the formatted output.
==Example==
The following shorthand:
<pre><nowiki>
{{RCJ|1,000|100|85}}
{{RCJ|1,000|30}}
{{RCJ||75|25}}
</nowiki></pre>
Produces:
{{RCJ|1,000|100|85}}
{{RCJ|1,000|30}}
{{RCJ||75|25}}
</noinclude><includeonly><!--
-->{{#if:{{{1|}}}|{{Runes|{{{1}}}}}{{#if:{{{2|}}}{{{3|}}}| '''·''' }}}}<!--
-->{{#if:{{{2|}}}|{{Crystals|{{{2}}}}}{{#if:{{{3|}}}| '''·''' }}}}<!--
-->{{#if:{{{3|}}}|{{Jewels|{{{3}}}}}}}<!--
--></includeonly>
==Usage==
Format amounts of resources with icons and separators, e.g. for display in a rewards table.
* The first parameter is the amount of Runes.
* The first parameter is the amount of Crystals.
* The first parameter is the amount of Jewels.
Leaving a parameter blank omits it from the formatted output.
==Example==
The following shorthand:
<pre><nowiki>
{{RCJ|1,000|100|85}}
{{RCJ|1,000|30}}
{{RCJ||75|25}}
</nowiki></pre>
Produces:
{{RCJ|1,000|100|85}}
{{RCJ|1,000|30}}
{{RCJ||75|25}}
</noinclude><includeonly><!--
-->{{#if:{{{1|}}}|{{Runes|{{{1}}}}}{{#if:{{{2|}}}{{{3|}}}| '''·''' }}}}<!--
-->{{#if:{{{2|}}}|{{Crystals|{{{2}}}}}{{#if:{{{3|}}}| '''·''' }}}}<!--
-->{{#if:{{{3|}}}|{{Jewels|{{{3}}}}}}}<!--
--></includeonly>