Open main menu

mtgpq wiki β

Template:RCJ

Revision as of 01:59, 18 February 2019 by Volrak (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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