[dismiss]
Difference between revisions of "Template:Currency"
Jump to navigation
Jump to search
JohnnySolas (talk | contribs) |
JohnnySolas (talk | contribs) |
||
(13 intermediate revisions by 3 users not shown) | |||
Line 8: | Line 8: | ||
| white crafters' scrip = {{scrip|white crafter|{{{1|}}}}} | | white crafters' scrip = {{scrip|white crafter|{{{1|}}}}} | ||
| purple crafters' scrip = {{scrip|purple crafter|{{{1|}}}}} | | purple crafters' scrip = {{scrip|purple crafter|{{{1|}}}}} | ||
| orange crafters' scrip = {{scrip|orange crafter|{{{1|}}}}} | |||
| red gatherers' scrip = {{scrip|red gatherer|{{{1|}}}}} | | red gatherers' scrip = {{scrip|red gatherer|{{{1|}}}}} | ||
| yellow gatherers' scrip = {{scrip|yellow gatherer|{{{1|}}}}} | | yellow gatherers' scrip = {{scrip|yellow gatherer|{{{1|}}}}} | ||
| white gatherers' scrip = {{scrip|white gatherer|{{{1|}}}}} | | white gatherers' scrip = {{scrip|white gatherer|{{{1|}}}}} | ||
| purple gatherers' scrip = {{scrip|purple gatherer|{{{1|}}}}} | | purple gatherers' scrip = {{scrip|purple gatherer|{{{1|}}}}} | ||
| | | orange gatherers' scrip = {{scrip|orange gatherer|{{{1|}}}}} | ||
| sack of nuts = {{sack of nuts|{{{1|}}}|{{{3|}}}}} | | sack of nuts = {{sack of nuts|{{{1|}}}|{{{3|}}}}} | ||
| bicolor gemstone = {{bicolor gemstone|{{{1|}}}|{{{3|}}}}} | | bicolor gemstone = {{bicolor gemstone|{{{1|}}}|{{{3|}}}}} | ||
Line 42: | Line 40: | ||
| omicron omnitoken = {{tribe token|omicron omnitoken|{{{1|}}}}} | | omicron omnitoken = {{tribe token|omicron omnitoken|{{{1|}}}}} | ||
| loporrit carat = {{tribe token|loporrit carat|{{{1|}}}}} | | loporrit carat = {{tribe token|loporrit carat|{{{1|}}}}} | ||
| pelu pelplume = {{tribe token|pelu pelplume|{{{1|}}}}} | |||
| seafarer's cowrie = {{cowrie|seafarer|{{{1|}}}}} | | seafarer's cowrie = {{cowrie|seafarer|{{{1|}}}}} | ||
| islander's cowrie = {{cowrie|islander|{{{1|}}}}} | | islander's cowrie = {{cowrie|islander|{{{1|}}}}} | ||
| felicitous token = {{cowrie|token|{{{1|}}}}} | |||
| allagan tomestone of poetics = {{tomestone|poetics|{{{1|}}}}} | | allagan tomestone of poetics = {{tomestone|poetics|{{{1|}}}}} | ||
| allagan tomestone of mendacity = {{tomestone|mendacity|{{{1|}}}}} | | allagan tomestone of mendacity = {{tomestone|mendacity|{{{1|}}}}} | ||
Line 55: | Line 55: | ||
| allagan tomestone of causality = {{tomestone|causality|{{{1|}}}}} | | allagan tomestone of causality = {{tomestone|causality|{{{1|}}}}} | ||
| allagan tomestone of comedy = {{tomestone|comedy|{{{1|}}}}} | | allagan tomestone of comedy = {{tomestone|comedy|{{{1|}}}}} | ||
| allagan tomestone of aesthetics = {{tomestone|aesthetics|{{{1|}}}}} | |||
| allagan tomestone of heliometry = {{tomestone|heliometry|{{{1|}}}}} | |||
| allagan tomestone of mathematics = {{tomestone|mathematics|{{{1|}}}}} | |||
| venture = {{Venture|{{{1|}}}}} | | venture = {{Venture|{{{1|}}}}} | ||
| skybuilders scrip = {{skybuilders scrip|{{{1|}}}|{{{3|}}}}} | | skybuilders scrip = {{skybuilders scrip|{{{1|}}}|{{{3|}}}}} | ||
Line 60: | Line 63: | ||
| company credit = {{company credit|{{{1|}}}|{{{3|}}}}} | | company credit = {{company credit|{{{1|}}}|{{{3|}}}}} | ||
| sil'dihn silver = {{sil'dihn silver|{{{1|}}}|{{{3|}}}}} | | sil'dihn silver = {{sil'dihn silver|{{{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|}}}| {{HQ|12| | | shishu coin = {{shishu coin|{{{1|}}}|{{{3|}}}}} | ||
| aloalo coin = {{aloalo coin|{{{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|}}}| {{HQ|12|}}}}{{#if:{{{1|}}}| {{{1}}}}}{{#if: {{{text|}}} | [[{{{2}}}]] }} | |||
}}</includeonly><noinclude>__NOTOC__ | }}</includeonly><noinclude>__NOTOC__ | ||
Line 79: | Line 84: | ||
;text | ;text | ||
: Optional. If set, this parameter will display the name of the item. Only works for irregular currencies not listed below. | : Optional. If set, this parameter will display the name of the item. Only works for irregular currencies not listed below. | ||
;hq | |||
: Optional. If set, will indicate that the item is {{HQ}} high quality. | |||
==Currencies== | ==Currencies== | ||
Line 97: | Line 104: | ||
|- | |- | ||
| Purple crafters' scrip || <code><nowiki>{{scrip|purple crafter}}</nowiki></code> || {{scrip|purple crafter}} | | Purple crafters' scrip || <code><nowiki>{{scrip|purple crafter}}</nowiki></code> || {{scrip|purple crafter}} | ||
|- | |||
| Orange crafters' scrip || <code><nowiki>{{scrip|orange crafter}}</nowiki></code> || {{scrip|orange crafter}} | |||
|- | |- | ||
| Red gatherers' scrip || <code><nowiki>{{scrip|red gatherer}}</nowiki></code> || {{scrip|red gatherer}} | | Red gatherers' scrip || <code><nowiki>{{scrip|red gatherer}}</nowiki></code> || {{scrip|red gatherer}} | ||
Line 106: | Line 115: | ||
| Purple gatherers' scrip || <code><nowiki>{{scrip|purple gatherer}}</nowiki></code> || {{scrip|purple gatherer}} | | Purple gatherers' scrip || <code><nowiki>{{scrip|purple gatherer}}</nowiki></code> || {{scrip|purple gatherer}} | ||
|- | |- | ||
| | | Orange gatherers' scrip || <code><nowiki>{{scrip|orange gatherer}}</nowiki></code> || {{scrip|orange gatherer}} | ||
|- | |- | ||
| sack of nuts || <code><nowiki>{{sack of nuts}}</nowiki></code> || {{sack of nuts}} | | sack of nuts || <code><nowiki>{{sack of nuts}}</nowiki></code> || {{sack of nuts}} | ||
Line 163: | Line 166: | ||
|- | |- | ||
| Loporrit Carat || <code><nowiki>{{tribe token|loporrit carat}}</nowiki></code> || {{tribe token|loporrit carat}} | | Loporrit Carat || <code><nowiki>{{tribe token|loporrit carat}}</nowiki></code> || {{tribe token|loporrit carat}} | ||
|- | |||
| Pelu Pelplume || <code><nowiki>{{tribe token|pelu pelplume}}</nowiki></code> || {{tribe token|pelu pelplume}} | |||
|- | |- | ||
| Seafarer's Cowrie || <code><nowiki>{{cowrie|seafarer}}</nowiki></code> || {{cowrie|seafarer}} | | Seafarer's Cowrie || <code><nowiki>{{cowrie|seafarer}}</nowiki></code> || {{cowrie|seafarer}} | ||
|- | |- | ||
| Islander's Cowrie || <code><nowiki>{{cowrie|islander}}</nowiki></code> || {{cowrie|islander}} | | Islander's Cowrie || <code><nowiki>{{cowrie|islander}}</nowiki></code> || {{cowrie|islander}} | ||
|- | |||
| Felicitous Token || <code><nowiki>{{cowrie|token}}</nowiki></code> || {{cowrie|token}} | |||
|- | |- | ||
| Allagan tomestone of poetics || <code><nowiki>{{tomestone|poetics}}</nowiki></code> || {{tomestone|poetics}} | | Allagan tomestone of poetics || <code><nowiki>{{tomestone|poetics}}</nowiki></code> || {{tomestone|poetics}} | ||
Line 193: | Line 200: | ||
|- | |- | ||
| Allagan tomestone of comedy || <code><nowiki>{{tomestone|comedy}}</nowiki></code> || {{tomestone|comedy}} | | Allagan tomestone of comedy || <code><nowiki>{{tomestone|comedy}}</nowiki></code> || {{tomestone|comedy}} | ||
|- | |||
| Allagan tomestone of aesthetics || <code><nowiki>{{tomestone|aesthetics}}</nowiki></code> || {{tomestone|aesthetics}} | |||
|- | |||
| Allagan tomestone of heliometry || <code><nowiki>{{tomestone|heliometry}}</nowiki></code> || {{tomestone|heliometry}} | |||
|- | |||
| Allagan tomestone of mathematics || <code><nowiki>{{tomestone|mathematics}}</nowiki></code> || {{tomestone|mathematics}} | |||
|- | |- | ||
| Venture || <code><nowiki>{{venture}}</nowiki></code> || {{venture}} | | Venture || <code><nowiki>{{venture}}</nowiki></code> || {{venture}} |
Latest revision as of 09:44, 25 March 2025
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.
- hq
- Optional. If set, will indicate that the item is
high quality.
Currencies
Examples
Currency | Code | Icon |
---|---|---|
Gil | {{currency|1234|gil}} |
![]() |
Allagan Tomestone of Poetics | {{currency|5|Allagan Tomestone of Poetics}} |
![]() |
Any text; specific icon | {{currency|5|Any text; specific icon|icon=Gil.png|text=y}} |
![]() |