Template:Currency
From Guild Wars 2 Wiki
Jump to navigationJump to search
Description[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.
Usage[edit]
{{currency|<Value>|<Currency>}} {{currency|<Value>|<Currency>|icon=<Icon>}}
Parameters[edit]
- 1 (unnamed parameter)
- Value of currency to prefix to the icon.
- 2 (unnamed parameter)
- Name of the currency article. This is the article the icon links to.
- 3 (unnamed parameter)
- If the currency is coin, setting this to anything will force display of 0 value gold, silver, and copper coins.
- icon
- Optional. The file to use as the icon, include the extension.
- text
- Optional. If set, this parameter will display the name of the item.
Predefined currencies[edit]
Examples[edit]
Currency | Code | Icon |
---|---|---|
Example | {{currency|5|Nonexistent page|icon=Karma.png}} |
5 |
Coin | {{currency|123|coin}} |
1 23 |
Glob of Ectoplasm | {{currency|5|Glob of Ectoplasm}} |
5 |