Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Register
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

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
xx1g x2s x3c
xxxg 12s
xxxg xxs 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