Template:Currency

From Guild Wars 2 Wiki
Jump to: navigation, search


Usage[edit]

This template creates an icon for the type of currency. Each currency is defined in a separate template. This template is not meant to be use directly if the currency is defined in its own template. If the currency isn't defined, a default currency icon is generated.

{{currency|<Value>|<Currency>}}
{{currency|<Value>|<Currency>|icon=<Icon>}}

Parameters[edit]

Unnamed parameter 1
Value of currency to prefix to the icon.
Unnamed parameter 2
Name of the currency article. This is the article the icon links to.
icon
The file to use as the icon, include the extension. Defaults to {{{2}}}.png.
text
Optional. If set, this parameter will display the name of the item. Only works for irregular currencies not listed below.

Currencies[edit]

Currency Code Icon
Coin {{coin}} Copper coin
Copper {{copper}} Copper coin
Silver {{silver}} Silver coin
Gold {{gold}} Gold coin
Experience {{experience}}
Experience.png
Gem {{gem}} Gem.png
Glory {{glory}}
Glory.png
Influence {{influence}} Influence
Karma {{karma}} Karma.png
Supply {{supply}} Supply.png
Laurel {{laurel}} Laurel.png
Spirit Shard {{spirit shard}} Spirit Shard.png
Guild Commendation {{guild commendation}} Guild Commendation.png

Examples[edit]

Currency Code Icon
Example {{currency|5|Example|icon=Karma.png}}
Karma.png
Coin {{currency|123|coin}} Silver coin 23 Copper coin
Glob of Ectoplasm {{currency|5|Glob of Ectoplasm}}
Glob of Ectoplasm.png