Difference between revisions of "Template:RCJ"

From mtgpq wiki
Jump to: navigation, search
(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...")
 
 
Line 26: Line 26:
  
 
{{RCJ||75|25}}
 
{{RCJ||75|25}}
 +
 +
[[Category:Symbol templates]]
  
 
</noinclude><includeonly><!--
 
</noinclude><includeonly><!--

Latest revision as of 03:48, 18 February 2019

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:

{{RCJ|1,000|100|85}}

{{RCJ|1,000|30}}

{{RCJ||75|25}}

Produces:

1,000 Mana Runes · 100 Mana Crystals · 85 Mana Jewels

1,000 Mana Runes · 30 Mana Crystals

75 Mana Crystals · 25 Mana Jewels