Difference between revisions of "Template:Currency"
Jump to navigation
Jump to search
m |
(added missing currency) |
||
Line 9: | Line 9: | ||
| yellow gatherers' scrip = {{scrip|yellow gatherer|{{{1|}}}}} | | yellow gatherers' scrip = {{scrip|yellow gatherer|{{{1|}}}}} | ||
| mgp = {{MGP|{{{1|}}}}} | | mgp = {{MGP|{{{1|}}}}} | ||
| wolf mark = {{Wolf mark|{{{1|}}}}} | |||
| allied seal = {{Allied seal|{{{1|}}}}} | |||
| centurio seal = {{Centurio seal|{{{1|}}}}} | |||
| sylphic goldleaf = {{tribe token|sylphic goldleaf|{{{1|}}}}} | |||
| rainbowtide psashp = {{tribe token|rainbowtide psashp|{{{1|}}}}} | |||
| titan cobaltpiece = {{tribe token|titan cobaltpiece|{{{1|}}}}} | |||
| ixali oaknot = {{tribe token|ixali oaknot|{{{1|}}}}} | |||
| steel amalj'ok = {{tribe token|steel amalj'ok|{{{1|}}}}} | |||
| vanu whitebone = {{tribe token|vanu whitebone|{{{1|}}}}} | |||
| black copper gil = {{tribe token|black copper gil|{{{1|}}}}} | |||
| carved kupo nut = {{tribe token|carved kupo nut|{{{1|}}}}} | |||
| kojin sango = {{tribe token|kojin sango|{{{1|}}}}} | |||
| ananta dreamstaff = {{tribe token|ananta dreamstaff|{{{1|}}}}} | |||
| namazu koban = {{tribe token|namazu koban|{{{1|}}}}} | |||
| allagan tomestone of poetics = {{tomestone|poetics|{{{1|}}}}} | |||
| allagan tomestone of verity = {{tomestone|verity|{{{1|}}}}} | |||
| allagan tomestone of creation = {{tomestone|creation|{{{1|}}}}} | |||
| allagan tomestone of mendacity = {{tomestone|mendacity|{{{1|}}}}} | |||
| allagan tomestone of genesis = {{tomestone|genesis|{{{1|}}}}} | |||
| venture = {{Venture|{{{1|}}}}} | |||
| #default = <span style="position:relative;bottom:2px;">{{#if:{{{icon|}}}|[[File:{{{icon}}}|20px|link={{{2|}}}]]|[[{{#show:{{{2}}}|?Has game icon|link=none|default=File:Blank_image.png}}|20px|link={{{2|}}}]]}}</span>{{#if:{{{hq|}}}| {{HQ|12|dark=y}}}}{{#if:{{{1|}}}| {{formatnum:{{{1}}}}}}}{{#if: {{{text|}}} | [[{{{2}}}]] }} | | #default = <span style="position:relative;bottom:2px;">{{#if:{{{icon|}}}|[[File:{{{icon}}}|20px|link={{{2|}}}]]|[[{{#show:{{{2}}}|?Has game icon|link=none|default=File:Blank_image.png}}|20px|link={{{2|}}}]]}}</span>{{#if:{{{hq|}}}| {{HQ|12|dark=y}}}}{{#if:{{{1|}}}| {{formatnum:{{{1}}}}}}}{{#if: {{{text|}}} | [[{{{2}}}]] }} | ||
}}</includeonly><noinclude>__NOTOC__ | }}</includeonly><noinclude>__NOTOC__ | ||
Line 38: | Line 58: | ||
|- | |- | ||
| Manderville Gold Saucer points || <code><nowiki>{{MGP}}</nowiki></code> || {{MGP}} | | Manderville Gold Saucer points || <code><nowiki>{{MGP}}</nowiki></code> || {{MGP}} | ||
|- | |||
| Red crafters' scrip || <code><nowiki>{{scrip|red crafter}}</nowiki></code> || {{scrip|red crafter}} | |||
|- | |||
| Yellow crafters' scrip || <code><nowiki>{{scrip|yellow crafter}}</nowiki></code> || {{scrip|yellow crafter}} | |||
|- | |||
| Red gatherers' scrip || <code><nowiki>{{scrip|red gatherer}}</nowiki></code> || {{scrip|red gatherer}} | |||
|- | |||
| Yellow gatherers' scrip || <code><nowiki>{{scrip|yellow gatherer}}</nowiki></code> || {{scrip|yellow gatherer}} | |||
|- | |||
| Wolf mark || <code><nowiki>{{wolf mark}}</nowiki></code> || {{wolf mark}} | |||
|- | |||
| Allied seal || <code><nowiki>{{allied seal}}</nowiki></code> || {{allied seal}} | |||
|- | |||
| Centurio seal || <code><nowiki>{{centurio seal}}</nowiki></code> || {{centurio seal}} | |||
|- | |||
| Sylphic goldleaf || <code><nowiki>{{tribe token|sylphic goldleaf}}</nowiki></code> || {{tribe token|sylphic goldleaf}} | |||
|- | |||
| Rainbowtide psashp || <code><nowiki>{{tribe token|rainbowtide psashp}}</nowiki></code> || {{tribe token|rainbowtide psashp}} | |||
|- | |||
| Titan cobaltpiece || <code><nowiki>{{tribe token|titan cobaltpiece}}</nowiki></code> || {{tribe token|titan cobaltpiece}} | |||
|- | |||
| Ixali oaknot || <code><nowiki>{{tribe token|ixali oaknot}}</nowiki></code> || {{tribe token|ixali oaknot}} | |||
|- | |||
| Steel amalj'ok || <code><nowiki>{{tribe token|steel amalj'ok}}</nowiki></code> || {{tribe token|steel amalj'ok}} | |||
|- | |||
| Vanu whitebone || <code><nowiki>{{tribe token|vanu whitebone}}</nowiki></code> || {{tribe token|vanu whitebone}} | |||
|- | |||
| Black copper gil || <code><nowiki>{{tribe token|black copper gil}}</nowiki></code> || {{tribe token|black copper gil}} | |||
|- | |||
| Carved kupo nut || <code><nowiki>{{tribe token|carved kupo nut}}</nowiki></code> || {{tribe token|carved kupo nut}} | |||
|- | |||
| Kojin sango || <code><nowiki>{{tribe token|kojin sango}}</nowiki></code> || {{tribe token|kojin sango}} | |||
|- | |||
| Ananta dreamstaff || <code><nowiki>{{tribe token|ananta dreamstaff}}</nowiki></code> || {{tribe token|ananta dreamstaff}} | |||
|- | |||
| Namazu koban || <code><nowiki>{{tribe token|namazu koban}}</nowiki></code> || {{tribe token|namazu koban}} | |||
|- | |||
| Allagan tomestone of poetics || <code><nowiki>{{tomestone|poetics}}</nowiki></code> || {{tomestone|poetics}} | |||
|- | |||
| Allagan tomestone of verity || <code><nowiki>{{tomestone|verity}}</nowiki></code> || {{tomestone|verity}} | |||
|- | |||
| Allagan tomestone of creation || <code><nowiki>{{tomestone|creation}}</nowiki></code> || {{tomestone|creation}} | |||
|- | |||
| Allagan tomestone of mendacity || <code><nowiki>{{tomestone|mendacity}}</nowiki></code> || {{tomestone|mendacity}} | |||
|- | |||
| Allagan tomestone of genesis || <code><nowiki>{{tomestone|genesis}}</nowiki></code> || {{tomestone|genesis}} | |||
|- | |||
| Venture || <code><nowiki>{{venture}}</nowiki></code> || {{venture}} | |||
|} | |} | ||
Revision as of 12:51, 2 November 2018
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.