User:JonTheMon/templates/currency

From Guild Wars 2 Wiki
Jump to navigationJump to search
[[File:{{{2}}}.png|20px|link=]]


This is the icon template for the different currencies. To use the generic version, add: {{Currency|<image name>|<link>|<text>}}. To use the concrete version, add: {{<currency>|<text>}}.

This template is not meant to be referenced directly. Use the templates described below instead.

Generic version[edit]

Usage[edit]

  • <type> is always obligatory (by default: Empty).
  • <link> is optional (by default: <image name>).
  • <text> is optional (by default: Empty).

Examples[edit]

Examples[edit]

Currency Code Icon
Coin {{User:JonTheMon/templates/currency|123|coin}} Silver coin 23 Copper coin
Glob of Ectoplasm {{User:JonTheMon/templates/currency|5|Glob of Ectoplasm}}
Glob of Ectoplasm.png
Example {{User:JonTheMon/templates/currency|5|Nonexistent page|icon=Karma.png}}
Karma.png
Example {{User:JonTheMon/templates/currency|5000|experience|icon=Karma.png}} 5,000 Experience.png

Concrete version[edit]

This template is not meant to be referenced directly, and you should use these templates instead: {{Copper}}, {{Experience}}, {{Gem}}, {{Glory}}, {{Gold}}, {{Influence}}, {{Karma}}, {{Silver}}, {{Supply}}.

Usage[edit]

  • <currency> is always obligatory, and calls the specific template.
    • Options for <currency>: (by default: ERROR)
      • Copper: Copper coin
      • Experience: Experience.png
      • Gem: Gem
      • Glory: Glory
      • Gold: Gold coin
      • Influence: Influence
      • Karma: Karma
      • Silver: Silver coin
      • Supply: Supply
  • <text> is optional (by default: Empty).

Examples[edit]

  • {{Karma}}: Karma
  • {{Influence|100}}: 100 Influence
  • {{Silver}}: Silver coin
  • {{Experience|50}}: 50 Experience.png