Template:RCJ

From mtgpq wiki
Revision as of 03:48, 18 February 2019 by Volrak (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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