Difference between revisions of "Template:Currency"
Jump to navigation
Jump to search
m |
m |
||
Line 4: | Line 4: | ||
| experience = {{experience|{{{1|}}}}} | | experience = {{experience|{{{1|}}}}} | ||
| company seal = {{company seal|{{{1|}}}}} | | company seal = {{company seal|{{{1|}}}}} | ||
| red crafters' scrip = {{scrip|red crafter|{{{1|}}}}} | |||
| yellow crafters' scrip = {{scrip|yellow crafter|{{{1|}}}}} | |||
| red gatherers' scrip = {{scrip|red gatherer|{{{1|}}}}} | |||
| yellow gatherers' scrip = {{scrip|yellow gatherer|{{{1|}}}}} | |||
| mgp = {{MGP|{{{1|}}}}} | | mgp = {{MGP|{{{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}}}]] }} |
Revision as of 16:31, 30 October 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.
Currencies
Currency | Code | Icon |
---|---|---|
Gil | {{gil}} |
|
Company seal | {{company seal}} |
|
Manderville Gold Saucer points | {{MGP}} |