Template:Rusty coins/doc

From Darkan
Revision as of 03:40, 15 December 2011 by imported>Henneyj (Creating page with '{{documentation}} The '''Rusty coins''' template is a version of Template:Coins for dungeoneering articles. It shows the amount of coins with a preview image. The amount i...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Documentation This is a documentation subpage for Template:Rusty coins.
It contains usage information, categories, and other content that is not part of the original template page.

The Rusty coins template is a version of Template:Coins for dungeoneering articles.

It shows the amount of coins with a preview image. The amount is formatted with a comma (if the value is greater than 1,000), and with the following colors:

  • Red - negative numbers
  • Blue - positive numbers
  • Green - if the number is zero

Usage

{{Rusty coins|Amount=number of coins}}

or

{{Rusty coins|number of coins}}

Examples

The following are some examples:

{{Rusty coins|Amount=-3000}}

Produces the following result:   −3,000

{{Rusty coins|Amount=245.50}}

Produces the following result:   245.5

{{Rusty coins|Amount=0}}

Produces the following result:   0