Template:Coin/doc

This template is used as a standardized way to display formatted coin values.

Usage
There are 2 API styles:

Style A
Example:  means 1 Gold 30 Copper Coins.

Style B
Examples:  means 1 Gold 30 Silver Coins;   means 1 Gold 25 Silver Coins.

Spacing and capitalization is ignored.

Other parameters
Digit to round the combined value to; default is 2. Can also be negative, and can be used with all API styles.
 * round

Note

 * This template is table-sorting-friendly (needs  in header). See the example table above or here.
 * It is only designed for positive numbers – negative values as input may lead to unexpected results.