Difference between revisions of "Template:Currency"
Jump to navigation
Jump to search
Whitenorth (talk | contribs) |
Whitenorth (talk | contribs) |
||
Line 33: | Line 33: | ||
| namazu koban = {{tribe token|namazu koban|{{{1|}}}}} | | namazu koban = {{tribe token|namazu koban|{{{1|}}}}} | ||
| fae fancy = {{tribe token|fae fancy|{{{1|}}}}} | | fae fancy = {{tribe token|fae fancy|{{{1|}}}}} | ||
| hammered frogment = {{tribe token|hammered frogment|{{{1|}}}}} | |||
| qitari compliment = {{tribe token|qitari compliment|{{{1|}}}}} | | qitari compliment = {{tribe token|qitari compliment|{{{1|}}}}} | ||
| allagan tomestone of poetics = {{tomestone|poetics|{{{1|}}}}} | | allagan tomestone of poetics = {{tomestone|poetics|{{{1|}}}}} | ||
Line 127: | Line 128: | ||
|- | |- | ||
| Fae Fancy || <code><nowiki>{{tribe token|fae fancy}}</nowiki></code> || {{tribe token|fae fancy}} | | Fae Fancy || <code><nowiki>{{tribe token|fae fancy}}</nowiki></code> || {{tribe token|fae fancy}} | ||
|- | |||
| Hammered Frogment || <code><nowiki>{{tribe token|hammered frogment}}</nowiki></code> || {{tribe token|hammered frogment}} | |||
|- | |- | ||
| Qitari compliment || <code><nowiki>{{tribe token|qitari compliment}}</nowiki></code> || {{tribe token|qitari compliment}} | | Qitari compliment || <code><nowiki>{{tribe token|qitari compliment}}</nowiki></code> || {{tribe token|qitari compliment}} |
Revision as of 20:47, 12 August 2020
Usage
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
- 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
Examples
Currency | Code | Icon |
---|---|---|
Gil | {{currency|123|gil}} |
123 |
Allagan Tomestone of Poetics | {{currency|5|Allagan Tomestone of Poetics}} |
5 |
Any text; specific icon | {{currency|5|Any text; specific icon|icon=Gil.png|text=y}} |
5 Any text; specific icon |