Wowpedia
Advertisement
Description
This template is designed to represent the most common forms of currency: the set of gold, silver, and copper, justice/valor/honor/conquest points, achievement points, and badge rewards tracked using the currency window.
All other items that are used as currency, tier loot tokens, and quest objectives should use {{costitem|<cost>|<actual item>|<display name/desired link>}} instead of this template.
Syntax
{{Cost|<gold>|<silver>|<copper>|<g=>|<s=>|<c=>|<ach=>|<cs=>|<ca=>|<dca=>|<djt=>|<dpt=>|<ijt=>|<it=>|<mwt=>|<tbc=>}}
Example
{{cost|1||30}}
{{cost|2|3}}
{{cost||4|5}}
{{cost|||6}}
{{cost|eob=2}}
{{cost|it=5}}
Result
1g 30c
2g 3s
4s 5c
6c
2 Echoes of Battle
5 Ironpaw Token

Table usage

For tables that have a column filled with money, the gold, silver, and copper can be manually aligned by using the letter "x". Each "x" is replaced with a space that has the same width as a single digit, acting as a mini indent.

If a coin type is filled entirely with x's, that type's icon will additionally be made invisible.

Example
{| class="darktable zebra"
! Cost
|-
| {{cost|123|45|67}}
|-
| {{cost|xx1|x2|x3}}
|-
| {{cost|xxx|12}}
|-
| {{cost|xxx|xx|12}}
|}
Cost
123g 45s 67c
  1g  2s  3c
   g 12s
   g   s 12c

See also

  • {{coppercost|<amount>}} — show an amount of money given as a number copper coins.
  • {{costcopper|<g>|<s>|<c>}} — {{cost}}-like syntax to display the copper value of the currency
Advertisement