Difference between revisions of "Template:Currency"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
Line 39: Line 39:
| allagan tomestone of phantasmagoria = {{tomestone|phantasmagoria|{{{1|}}}}}
| allagan tomestone of phantasmagoria = {{tomestone|phantasmagoria|{{{1|}}}}}
| venture = {{Venture|{{{1|}}}}}
| venture = {{Venture|{{{1|}}}}}
| skybuilders scrip = {{skybuilders scrip|{{{1|}}}|{{{3|}}}}}
| #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|}}}|&nbsp;{{HQ|12|dark=y}}}}{{#if:{{{1|}}}|&nbsp;{{formatnum:{{{1}}}}}}}{{#if: {{{text|}}} |&nbsp;[[{{{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|}}}|&nbsp;{{HQ|12|dark=y}}}}{{#if:{{{1|}}}|&nbsp;{{formatnum:{{{1}}}}}}}{{#if: {{{text|}}} |&nbsp;[[{{{2}}}]] }}
}}</includeonly><noinclude>__NOTOC__
}}</includeonly><noinclude>__NOTOC__
Line 138: Line 139:
|-
|-
| Venture || <code><nowiki>{{venture}}</nowiki></code> || {{venture}}
| Venture || <code><nowiki>{{venture}}</nowiki></code> || {{venture}}
|-
| Skybuilders Scrip || <code><nowiki>{{skybuilders scrip}}</nowiki></code> || {{skybuilders scrip}}
|}
|}



Revision as of 17:24, 12 November 2019


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}} Gil
Company seal {{company seal}} Company seal
Manderville Gold Saucer points {{MGP}} MGP
Red crafters' scrip {{scrip|red crafter}} Red Crafters' Scrip
Yellow crafters' scrip {{scrip|yellow crafter}} Yellow Crafters' Scrip
White crafters' scrip {{scrip|white crafter}} White Crafters' Scrip
Red gatherers' scrip {{scrip|red gatherer}} Red Gatherers' Scrip
Yellow gatherers' scrip {{scrip|yellow gatherer}} Yellow Gatherers' Scrip
White gatherers' scrip {{scrip|white gatherer}} White Gatherers' Scrip
cracked planicluster {{misc|cracked planicluster}} Cracked Planicluster
cracked stellacluster {{misc|cracked stellacluster}} Cracked Stellacluster
cracked planicrystal {{misc|cracked planicrystal}} Cracked Planicrystal
cracked stellacrystal {{misc|cracked stellacrystal}} Cracked Stellacrystal
sack of nuts {{sack of nuts}} Sack of Nuts
Bicolour Gemstone {{bicolor gemstone}} Bicolor Gemstone
Achievement certificate {{achievement certificate}} Achievement Certificate
Wolf mark {{wolf mark}} Wolf Mark
Allied seal {{allied seal}} Allied Seal
Centurio seal {{centurio seal}} Centurio Seal
Sylphic goldleaf {{tribe token|sylphic goldleaf}} Sylphic Goldleaf
Rainbowtide psashp {{tribe token|rainbowtide psashp}} Rainbowtide Psashp
Titan cobaltpiece {{tribe token|titan cobaltpiece}} Titan Cobaltpiece
Ixali oaknot {{tribe token|ixali oaknot}} Ixali Oaknot
Steel amalj'ok {{tribe token|steel amalj'ok}} Steel Amalj'ok
Vanu whitebone {{tribe token|vanu whitebone}} Vanu Whitebone
Black copper gil {{tribe token|black copper gil}} Black Copper Gil
Carved kupo nut {{tribe token|carved kupo nut}} Carved Kupo Nut
Kojin sango {{tribe token|kojin sango}} Kojin Sango
Ananta dreamstaff {{tribe token|ananta dreamstaff}} Ananta Dreamstaff
Namazu koban {{tribe token|namazu koban}} Namazu Koban
Allagan tomestone of poetics {{tomestone|poetics}} Allagan Tomestone of Poetics
Allagan tomestone of verity {{tomestone|verity}} Allagan Tomestone of Verity
Allagan tomestone of creation {{tomestone|creation}} Allagan Tomestone of Creation
Allagan tomestone of mendacity {{tomestone|mendacity}} Allagan Tomestone of Mendacity
Allagan tomestone of genesis {{tomestone|genesis}} Allagan Tomestone of Genesis
Allagan tomestone of goetia {{tomestone|goetia}} Allagan Tomestone of Goetia
Allagan tomestone of phantasmagoria {{tomestone|phantasmagoria}} Allagan Tomestone of Phantasmagoria
Venture {{venture}} Venture
Skybuilders Scrip {{skybuilders scrip}} Skybuilders Scrip

Examples

Currency Code Icon
Gil {{currency|123|gil}} Gil 123
Allagan Tomestone of Poetics {{currency|5|Allagan Tomestone of Poetics}} Allagan Tomestone of Poetics 5
Any text; specific icon {{currency|5|Any text; specific icon|icon=Gil.png|text=y}} Gil.png 5 Any text; specific icon

See also