Template:Game icon
{{game icon|name|text|size=|alt=|hq=|qty=|wrap=}}
Links to something in the game and displays its icon alongside the link. This template supports basically anything - items, actions, traits, quests, and anything else that uses Property:Has game icon.
Parameters
Base parameters
- name (unnamed parameter 1)
- Item name. Defaults to "Item".
- text (unnamed parameter 2)
- alt
- Optional. Link text; defaults to canonical name. Set to x to prevent link text from appearing. Unnamed parameter 2 has precedence over
altnamed parameter. - size
- Optional. Can be small (default), mid, or big.
- wrap
- Set to anything to force text to wrap. Generally only used in infoboxes. Will not wrap text by default.
Item parameters
- hq
- Optional. Displays a high quality item.
Item/currency parameters
- qty
- Optional. Quantity of currency or items, displayed between icon and text. Mostly used by {{Vendor table row}} to display vendor/exchange costs. Accepts a number or a hyphenated range.
Template Data
Links to an item and displays its in-game icon.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Item | 1 | Page name of the target item | Page name | required |
| Link text | 2 | Text displayed in the link. Defaults to the linked item's canonical name. Use "x" to hide the link text and display only the icon. | Line | optional |
| Size | size | Display size of the icon.
| String | optional |
| HQ | hq | For items only. Shows the high quality version of the item in the icon. | Boolean | optional |
| Quantity | qty | For items and currencies only. Quantity of currency or items represented. Accepts a number or a hyphenated range. | String | optional |
| Wrap | wrap | Force link text to wrap. Generally only used in other templates like infoboxes. | Boolean | optional |
Examples
Items
- Raisins is produced from
{{game icon|Raisins}} - Raisins is produced from
{{game icon|Raisins|size=small}} - Raisins is produced from
{{game icon|Raisins|size=mid}} - Raisins is produced from
{{game icon|Raisins|size=big}} - Fruit is produced from
{{game icon|Raisins|Fruit}} - is produced from
{{game icon|Raisins|x}} - Fruit is produced from
{{game icon|Raisins|alt=Fruit}} - is produced from
{{game icon|Raisins|x|alt=Fruit}}(parameter 2 takes precedence overalt) - Raisins is produced from
{{game icon|Raisins|hq=1}} - Adventuring Sweater is produced from
{{game icon|Adventuring Sweater|size=big}}(dye slots) - Wind-up Mystel is produced from
{{game icon|Wind-up Mystel}}(minion) - Amber Draught Chocobo is produced from
{{game icon|Amber Draught Chocobo}}(mount) - 5–10 Blue Gatherers' Scrip Token is produced from
{{game icon|Blue Gatherers' Scrip Token|qty=5-10}}(item quantity + ranges)
This is an example a paragraph with the {{game icon|Raisins}} item in it.
This is an example a paragraph with the Raisins item in it.
Other frame icons
- Quick Nock is produced from
{{game icon|Quick Nock}}(actions) - Duty Support is produced from
{{game icon|Duty Support|size=mid}}(system actions that use {{Lead STFI}} - Shucked, Not Stirred is produced from
{{game icon|Shucked, Not Stirred|size=big}}(achievement) - Enhanced Quick Nock is produced from
{{game icon|Enhanced Quick Nock}}(traits)
Currencies
Gil is produced from {{game icon|Gil|size=big}}
1000–2000 is produced from {{game icon|Gil|qty=1000-2000}}(currency range with name hidden)
500 + 1 Universal Tomestone 3.0 (mixing currencies and tokens, as in {{Vendor table row}})
Probably easier to use {{currency}} for most things still
Quests
To the Bannock is produced from {{game icon|To the Bannock}}
So You Want to Be a Lancer is produced from {{game icon|So You Want to Be a Lancer|size=big}}