Wowpedia

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

READ MORE

Wowpedia
(+apexis crystal using temp icon)
m (oops)
Line 22: Line 22:
   
 
### TOKENS ###
 
### TOKENS ###
Apexis Crystal -->{{#if:{{{ac|}}}|&#32;{{{ac|}}} [[File:inv misc apexis crystal.png|160px|Apexis Crystal|link=Apexis Crystal (currency)]]}}<!--
+
Apexis Crystal -->{{#if:{{{ac|}}}|&#32;{{{ac|}}} [[File:inv misc apexis crystal.png|16px|Apexis Crystal|link=Apexis Crystal (currency)]]}}<!--
 
Champion's Seal -->{{#if:{{{cs|}}}|&#32;{{{cs|}}} [[File:Ability paladin artofwar.png|16px|Champion's Seal|link=Champion's Seal]]}}<!--
 
Champion's Seal -->{{#if:{{{cs|}}}|&#32;{{{cs|}}} [[File:Ability paladin artofwar.png|16px|Champion's Seal|link=Champion's Seal]]}}<!--
 
Dalaran Jewelcrafter's Token -->{{#if:{{{djt|}}}|&#32;{{{djt|}}} [[File:Inv misc gem variety 01.png|16px|Dalaran Jewelcrafter's Token|link=Dalaran Jewelcrafter's Token]]}}<!--
 
Dalaran Jewelcrafter's Token -->{{#if:{{{djt|}}}|&#32;{{{djt|}}} [[File:Inv misc gem variety 01.png|16px|Dalaran Jewelcrafter's Token|link=Dalaran Jewelcrafter's Token]]}}<!--

Revision as of 04:40, 29 August 2014

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