Difference between revisions of "Template:Item infobox"
(Undo revision 236960 by Ma'dranKhajiit (talk)) |
|||
Line 1: | Line 1: | ||
<includeonly>{| | <includeonly>{{#switch:{{lc:{{{release|}}}}}|heavensward = {{Heavensward expansion content}}|stormblood = {{Stormblood expansion content}}|shadowbringers = {{Shadowbringers expansion content}}}}<!-- | ||
--><div class="infobox-n {{#ifeq: {{lc:{{{type|}}}}} | crafting material | crafting | item }}"> | |||
<div style="float:left;height:50px;position:relative;top:0px;left:0px;visibility:hidden;">.</div> | |||
<div class="icon infobox-icon">{{#if: {{{icon|}}} | |||
| | | {{STFI|icon={{{icon}}}|link=File:{{{icon}}}}}{{#set:Has game icon=File:{{{icon}}}}} | ||
{{#if: {{{ | | {{#switch: {{lc:{{{type}}}}} | ||
{{#if: {{{ | | recipe | recipe sheet = [[Category:Recipe sheets missing icon]] | ||
| triple triad card = {{STFI|icon=Triple Triad Card{{#if:{{{card-rarity|}}}| r{{{card-rarity}}}}}.png|link=File:Triple Triad Card{{#if:{{{card-rarity|}}}| r{{{card-rarity}}}}}.png}}{{#set:Has game icon=File:Triple Triad Card{{#if:{{{card-rarity|}}}| r{{{card-rarity}}}}}.png}} | |||
{{#if: {{{ | | #default = {{#vardefine:clean-icon|{{#titleparts:{{#replace:{{#replace:{{PAGENAME}}|:|-}}|/|-}}}}.png}}{{STFI|icon={{#var:clean-icon}}|link=File:{{#var:clean-icon}}}}{{#set:Has game icon=File:{{#var:clean-icon}}}} }} | ||
}}</div> | |||
{{ | <p class="heading">[[Has canonical name::{{{name|{{#titleparts:{{PAGENAME}}}}}}}]]</p> | ||
{{# | <div class="statistics item {{#if:{{{unique|}}}{{{untradable|}}}{{{unsellable|}}}||empty}}"><!-- | ||
{{# | -->{{#if:{{{unique|}}}|{{#set:Is unique=Y}}<span class="characteristic unique" title="Only one of this item can be held at a time.">UNIQUE</span> }}<!-- | ||
{{# | -->{{#if:{{{untradable|}}}|{{#set:Is untradable=Y}}<span class="characteristic untradable" title="This item cannot be traded to another player.">UNTRADABLE</span> }}<!-- | ||
{{#if: {{{ | -->{{#if:{{{unsellable|}}}|{{#set:Is unsellable=Y}}<span class="characteristic unsellable" title="This item cannot be sold to merchants.">UNSELLABLE</span> }}<!-- | ||
{{#if: {{{ | --></div> | ||
{{#if: {{{ | <div class="wrapper"> | ||
{{#if: {{{ | ;[[Item|Item type]] | ||
:{{#arraymap: {{{type|}}} |,|@@@|{{#switch: {{lc:@@@}} | |||
| | <!-- | consumable | ||
{{# | | container | ||
| | | catalyst | ||
{{# | | crafting material | ||
| | | decoration = [[Decoration]]{{#set:Has item type=Decoration}}{{#set:Has decoration type={{ucfirst:{{{decoration type|}}}}}}} | ||
| generic = [[Generic]] | |||
|- | | gardening =[[Has item type::Gardening]] | ||
{{#if: {{ | | ingredient | ||
| materia | |||
{{#if: {{{ | | meal | ||
{{ | | medicine | ||
{{ | | minion =[[Has item type::Minion]] | ||
| miscellany | |||
| | | seasonal miscellany =[[Has item type::Seasonal Miscellany]] | ||
| none | |||
| other | |||
| orchestrion roll =[[Has item type::Orchestrion Roll]] | |||
| upgrade component | |||
| reagent | |||
{{# | | recipe | ||
| recipe sheet = [[Recipe sheet]]{{#set:Has item type=Recipe sheet}} | |||
| service = [[Has item type::Service]] --> | |||
{{#if: {{{ | | triple triad card = [[Has item type::Triple Triad Card]] | ||
{{ | | container = [[Has item type::Container]] | ||
{{# | | crafting material = [[Has item type::Crafting material]] {{#if:{{NAMESPACE}}||__NOTOC__}} | ||
| #default = {{ucfirst:@@@}}{{#set:Has item type={{ucfirst:@@@}}}} | |||
}} |<br>}}{{#if: {{{material-type|}}} | | |||
;[[material|Material type]] | |||
:{{#arraymap: {{{material-type}}} |,|@@@|{{#switch: {{lc:@@@}} | |||
| basic = [[Crafting material#Common crafting materials|Basic material]] | |||
| fine = [[Crafting material#Fine crafting materials|Fine material]] | |||
| component = [[Component]] | |||
| ingredient = [[Ingredient]] | |||
| crafting catalyst = [[Crafting Catalyst]] | |||
| part | weapon part = [[Part]] | |||
| #default = [[{{ucfirst:@@@}}]] | |||
}}|<br>}} }}{{#switch:{{lc:{{{type|}}}}} | |||
| armor skin | |||
| weapon skin = {{#if: {{{skin|}}} | | |||
;[[Skin]] | |||
:{{#arraymap: {{{skin}}} |,|@@@|{{ifexists|@@@ (skin) | |||
| {{cname|@@@ (skin)}}{{#set:Has skin=@@@ (skin)}} | |||
| {{cname|@@@}}{{#set:Has skin=@@@}} | |||
}}|<br>}} | |||
}} | }} | ||
| | | recipe | ||
{{# | | recipe sheet = | ||
{{ | ;[[Class|Classes]] | ||
:{{#vardefine:recipe-object|{{#ask:[[Learned from recipe sheet::{{PAGENAME}}]]|link=none}}}}<!-- | |||
-->{{#arraymap:{{#var:recipe-object}}|,|@@@|{{#ask:[[@@@]]|?Requires rating|?Requires discipline|link=none|format=template|template=Template:Item infobox/recipe object result format}}|}} | |||
| minion = | |||
{{# | ;[[Minion#List of minions|Minion]] | ||
:{{#if:{{{minion-set|}}}|[[Is part of minion set::{{ucfirst:{{{minion-set}}}}}]]}} | |||
| triple triad card = | |||
{{#if: {{{ | ; Card rarity | ||
: {{#if:{{{card-rarity|}}}|{{{card-rarity}}}{{#set:Has triple triad card rarity={{{card-rarity}}}}}}} | |||
| materia = | |||
; Requirements | |||
{{#if: {{{ | : Base Item{{#if:{{{ilvl|}}}| (ilvl {{{ilvl}}}){{#set:Has item level requirement={{{ilvl}}}}}}} | ||
; Adv. melding | |||
{{# | : {{#ifeq:{{{advanced-meld|n}}}|n|No|Yes}} | ||
| alcohol = | |||
;Alcohol | |||
: {{#if: {{{alcohol|}}} | [[Has alcohol content::{{{alcohol}}}]] }} | |||
{{#if: {{{ | }}{{#ifexpr: {{#ask:[[Has ingredient::?;?;{{PAGENAME}}]][[Has recipe source::+]]|format=count}} > 0 | | ||
;[[Crafting]] | |||
{{# | :{{#arraymap: Carpenter, Blacksmith, Armorer, Goldsmith, Leatherworker, Weaver, Alchemist, Culinarian |,|@@@| | ||
{{#vardefine:@@@_min_level|{{#ask:[[Has ingredient::?;?;{{PAGENAME}}]][[Requires class::@@@]]|?Requires crafting level|format=min|default=-1}}}} | |||
{{# | {{#ifexpr: {{#var:@@@_min_level|0}} >= 0 | {{@@@}} {{#var:@@@_min_level}} {{#set:Has minimum usable level=@@@;{{#var:@@@_min_level}}}} }} | ||
|<br>}} | |||
{{#if: {{{ | }}{{Default item parameter | ||
| status = {{{status|}}} | |||
{{# | | rarity = {{{rarity|}}} | ||
| level = {{{level|}}} | |||
{{# | | ilvl = {{{ilvl|}}} | ||
| race = {{{race|}}} | |||
{{# | | gender = {{{race|}}} | ||
| recast = {{{recast|}}} | |||
{{# | | recast-hq = {{{recast-hq|}}} | ||
| cost = {{{cost|}}} | |||
| value = {{{value|}}} | |||
{{ | | value-hq = {{{value-hq|}}} | ||
{{# | | seals = {{{seals|}}} | ||
| patch = {{{patch|}}} | |||
{{# | | skin id = {{#if: {{{skin|}}} | {{#arraymap:{{{skin}}}|,|@@@|{{ifexists|@@@ (skin) | {{#show:@@@ (skin)|?Has game id#|limit=1|default=}} | {{#show:@@@|?Has game id#|limit=1|default=}} }}|,}} }} | ||
{{ | |||
{{ | |||
{ | |||
{ | |||
{ | |||
{{ | |||
{{ | |||
{ | |||
{{#if: {{{ | |||
{{# | |||
{{# | |||
{{# | |||
}} | }} | ||
</div> | |||
{{# | {{#ifeq:{{{gallery|x}}}|no| {{clear}} <!-- hide for unimplemented items with no preview option -->| | ||
{{ | {{#if:{{{gallery|}}}{{{gallery1|}}}{{#switch: {{lc:{{{type|}}}}} | ||
| miniature | |||
| decoration | |||
| | | weapon skin | ||
{{ | | outfit skin | ||
| instrument | |||
{{ | | musical instrument | ||
{{ | | toy | ||
| travel = exist }} | <!-- Show gallery --> {{Item infobox gallery|{{{gallery|}}} | |||
{{ | | name = {{{name|{{BASEPAGENAME}}}}} | ||
{{ | | gallery1 = {{{gallery1|}}} | ||
| gallery1-text = {{{gallery1-text|Click to enlarge.}}} | |||
| gallery2 = {{{gallery2|}}} | |||
| gallery2-text = {{{gallery2-text|Click to enlarge.}}} | |||
| gallery3 = {{{gallery3|}}} | |||
| gallery3-text = {{{gallery3-text|Click to enlarge.}}} | |||
| gallery4 = {{{gallery4|}}} | |||
| gallery4-text = {{{gallery4-text|Click to enlarge.}}} | |||
| gallery5 = {{{gallery5|}}} | |||
| gallery5-text = {{{gallery5-text|Click to enlarge.}}} | |||
}} | }} | ||
| | | {{clear}} <!-- Do not show gallery --> }}}} | ||
{{ | </div> | ||
{{#if:{{{description|}}}{{{effects|}}}{{#switch:{{lc:{{{type|}}}}}|service=x}}|<!-- show description section only if description, hint, or variables are defined, or if type is service --> | |||
{{#if: {{{ | {{Quotation|game|{{#if: {{{description|}}} | {{{description}}}{{#set:Has game description={{{description}}}}} }} | ||
{{#if:{{{effects|}}}|<div class="item-effects">Effects:</div><div class="item-effects-list"> | |||
{{# | {{{effects|}}} | ||
|- | </div>}} | ||
{{#if: {{{ | {{#if:{{{effects-hq|}}}|<div class="item-effects">Effects HQ {{HQ|14|dark}}:</div><div class="item-effects-list"> | ||
{{#if: {{{ | {{{effects-hq|}}} | ||
</div>}}<!-- | |||
--> | |||
{{#if: {{{ | {{#if:{{#switch:{{lc:{{{exp-bonus|}}}}}|n=|y=y|#default={{#switch:{{lc:{{{type|}}}}}|meal=y}}}}|<span style="color:#0a9421; padding-left:1px;">'''EXP Bonus:'''</span> +3% <span style="color:#0a9421;">'''Duration:'''</span> 30m<br>(Duration can be extended to 60m by consuming multiple servings)}} }} | ||
}}<!-- | |||
{{ | |||
{{#if: {{{ | |||
AUTOCATEGORIZATION | |||
--> | -->{{#if: {{NAMESPACE}}<!-- no categories if outside of article namespace --> | ||
{{#ifeq: {{{categorize|y}}} | n | + }} | |||
{{#switch: {{lc:{{{status|}}}}} | historical | unimplemented | future = + }} | |||
| <!-- Do not categorize --> | | |||
{{#if:{{{icon|}}}| | {{#ifexist: File:{{#replace:{{#replace:{{PAGENAME}}|:|-}}|/|-}}.png | | |||
| {{#switch: {{lc:{{{type}}}}} | recipe | recipe sheet = | #default = [[Category:Items missing icon]] }} }} | |||
{{# | |||
{{# | |||
| | |||
{{#if: {{{ | |||
{{# | |||
{{# | |||
|- | |||
|- | |||
| | |||
{{# | |||
{{ | |||
}} | }} | ||
{{#arraymap:{{{type|}}}|,|@@@|{{#switch: {{lc:@@@}} | |||
{{# | | booster | ||
{{ | | consumable | ||
| container | |||
| gizmo | |||
| | | blueprint | ||
| event item | |||
| feast | |||
| finisher | |||
{{#if: {{{ | | food | ||
{{ | | gathering tool | ||
| gift | |||
| harvesting sickle | |||
{{#if: {{{ | | ingredient | ||
| jewel | |||
| logging axe | |||
| mail carrier | |||
{{# | | mining pick | ||
| salvage item | |||
{{#if: {{{ | | salvage kit | ||
| talisman | |||
| tonic | |||
| transmutation | |||
| upgrade component | |||
| utility item = {{#if: {{{key|}}} | [[Category:{{ucfirst:@@@}}s|{{ucfirst:{{{key}}}}}]] | [[Category:{{ucfirst:@@@}}s|{{PAGENAME}}]] }} | |||
| miniature = {{#if: {{{miniature set|}}} | |||
{{ | | {{#switch: {{lc:{{{miniature set}}}}} | ||
{{# | | special = [[Category:Special miniatures]] | ||
{{ | | #default = [[Category:Set {{{miniature set}}} miniatures]] | ||
}} | |||
| [[Category:Miniatures with set undefined]] }} | |||
{{#set: Has miniature id = {{#if: {{{miniature id|}}} | {{{miniature id}}} | 999 }} }} | |||
| trap = [[Category:Consumables]][[Category:Bundles]] | |||
| trick = [[Category:Consumables]][[Category:Bundles]] | |||
| recipe | |||
| recipe sheet = [[Category:Recipe sheets]] | |||
| token = [[Category:Tokens]] | |||
| alcohol = [[Category:Alcohol]] | |||
| service = [[Category:Service items]] | |||
| skin | |||
| weapon skin | |||
| armor skin = [[Category:Consumables|{{PAGENAME}}]] {{#ifeq: {{{skin type|}}} | back item | [[Category:Back item skins]] | [[Category:{{ucfirst:{{{type}}}}}s|{{PAGENAME}}]] }} | |||
| instrument | |||
{{#if: {{{ | | musical instrument = [[Category:Musical instruments]] | ||
{{ | | toy = [[Category:Toys]] | ||
| trophy = [[Category:Trophies]] | |||
| materia | |||
| catalyst = [[Category:Crafting catalysts]] | |||
| minion = [[Category:Minions]] | |||
{{#if: {{{ | | demimateria = [[Category:{{ucfirst:@@@}}]] | ||
| orchestrion roll = [[Category:Orchestrion Rolls]] | |||
{{# | | miscellany = [[Category:Miscellaneous items]] | ||
| seasonal miscellany = [[Category:Miscellaneous items]] | |||
{{# | | crystal = [[Category:Crystals]][[Category:Crafting catalysts]] | ||
| meal = [[Category:Meals]] | |||
| gardening = [[Category:Gardening]] | |||
| medicine = [[Category:Medicines]] | |||
{{# | | decoration = [[Category:{{#switch: {{lc:{{{decoration type|}}}}} | ||
| plants = Plant | |||
| trophies = Trophy | |||
| festivals = Festival | |||
| obstacles = Obstacle | |||
| turrets = Turret | |||
| {{{decoration type}}} }} decorations]] | |||
| other | |||
| none | |||
| generic = {{#if: {{{key|}}} | [[Category:Generic items|{{ucfirst:{{{key}}}}}]] | [[Category:Generic items|{{PAGENAME}}]]}} | |||
| crafting material = [[Category:items]] | |||
| [[Category:Items with no type specified]] | |||
}}<!-- end #switch @@@ --> |}}<!-- end #arraymap --> | |||
{{#if: {{{material-type|}}} | {{#arraymap:{{{material-type|}}}|,|@@@|{{#switch: {{lc:@@@}} | |||
| component = [[Category:Components]] | |||
| lumber | wood | ingot | ore | cloth | leather | skin | stone | metal | reagent = {{#ifexpr: {{#ask:[[Has item data object::{{{name|{{#titleparts:{{PAGENAME}}}}}}}]]|format=count|default=0}} > 0|[[Category:Refined materials]]|[[Category:Basic crafting materials]]}} | |||
| festive = [[Category:Festive materials]] | |||
| other = [[Category:Miscellaneous materials]] | |||
| #default = [[Category:{{ucfirst:@@@}}]] | |||
}}|}} }} | |||
}} | }} | ||
{{#if: {{{minion-set|}}} | {{#arraymap:{{{minion-set|}}}|,|@@@|{{#switch: {{lc:@@@}} | |||
{{#if: {{{ | | poppet = [[Category:Poppet]] | ||
{{ | | monster = [[Category:Monster]] | ||
{ | | gadget = [[Category:Gadget]] | ||
| critter = [[Category:Critter]] | |||
}}|}} | |||
}}<!-- end #ifeq historical --></includeonly><noinclude> | |||
[[Category:Infobox templates]]</noinclude> | == Usage == | ||
Use this infobox for defining general [[item]]s within the game, e.g. trophies, recipe sheets, crafting materials. | |||
<pre> | |||
{{item infobox | |||
| name = | |||
| icon = | |||
| description = | |||
| type = | |||
| effects = | |||
| effects-hq = | |||
| material-type = | |||
| unique = | |||
| untradable = | |||
| unsellable = | |||
| rarity = | |||
| level = | |||
| ilvl = | |||
| race = | |||
| gender = | |||
| recast = | |||
| recast-hq = | |||
| cost = | |||
| value = | |||
| value-hq = | |||
| seals = | |||
| patch = | |||
| release = | |||
}} | |||
</pre> | |||
== Parameters == | |||
; name: Optional. Name of the article. Defaults to <code><nowiki>{{PAGENAME}}</nowiki></code>. | |||
; icon: Optional. Item icon. Defaults to File:<code><nowiki>{{PAGENAME}}</nowiki></code>.png | |||
; description: Optional. Verbatim from the game. | |||
; effects: Optional. Item effects. Applies mostly to consumables, potions, meals, etc. See {{tl|item effect}} for details on how to apply one or multiple effects. | |||
; effects-hq: Optional. Item effects if the item is high quality. Applies mostly to consumables, potions, meals, etc. | |||
; type: Various item types. Includes ''meal'', ''minion'', ''other'', ''container'', ''crafting material'', etc. | |||
; material-type: Optional. The material type for any item with <code><nowiki>type = Crafting material</nowiki></code> set. Examples are: ''cloth'', ''ingredient'', ''reagent'', etc. | |||
; unique/untradeable/unsellable: Optional. Input "y" in the appropriate fields if the item has the trait, otherwise leave blank. | |||
; release: Optional. Expansion this item belongs to. Accepts: ''heavensward'', or ''stormblood'', or "shadowbringers". | |||
{{:Template:Default item parameter/documentation}} | |||
<!--For [[miniature]]s, [[toy]]s and [[town clothing]] the following parameter may be used: | |||
{{:Template:Item infobox gallery/documentation}} --> | |||
== Examples == | |||
<pre>{{Item infobox | |||
| name = Max-Potion | |||
| icon = Max-Potion.png | |||
| description = This spiritous concoction instantly restores a considerable amount of HP. | |||
| effects = {{item effect|restore hp|percent=24|max=1920}} | |||
| effects-hq = {{item effect|restore hp|percent=30|max=2400}} | |||
| type = medicine | |||
| recast = 75 | |||
| value = 29 | |||
| value-hq = 32 | |||
| rarity = white | |||
}}</pre> | |||
{{Item infobox | |||
| name = Max-Potion | |||
| icon = Max-Potion.png | |||
| description = This spiritous concoction instantly restores a considerable amount of HP. | |||
| effects = {{item effect|restore hp|percent=24|max=1920}} | |||
| effects-hq = {{item effect|restore hp|percent=30|max=2400}} | |||
| type = medicine | |||
| recast = 75 | |||
| value = 29 | |||
| value-hq = 32 | |||
| rarity = white | |||
}} | |||
{{clear}} | |||
<pre>{{Item infobox | |||
| name = Raisins | |||
| icon = Raisins.png | |||
| description = Dried lowland grapes, sweetened in the sun. | |||
| effects = {{item effect|spell speed|percent=8|max=2}}{{item effect|vitality|percent=1}}{{item effect|direct hit rate|percent=1}} | |||
| type = meal | |||
| value = 1 | |||
| rarity = white | |||
| unique = y | |||
| untradable = y | |||
| unsellable = y | |||
}}</pre> | |||
{{Item infobox | |||
| name = Raisins | |||
| icon = Raisins.png | |||
| description = Dried lowland grapes, sweetened in the sun. | |||
| effects = {{item effect|spell speed|percent=8|max=2}}{{item effect|vitality|percent=1}}{{item effect|direct hit rate|percent=1}} | |||
| type = meal | |||
| value = 1 | |||
| rarity = white | |||
| unique = y | |||
| untradable = y | |||
| unsellable = y | |||
}} | |||
{{clear}} | |||
<pre>{{Item infobox | |||
| name = Livia sas Junius Card | |||
| description = An uncommon (★★) card used in the game [[Triple Triad]]. | |||
| type = triple triad card | |||
| card-rarity = 2 | |||
| rarity = white | |||
| untradable = y | |||
}}</pre> | |||
{{Item infobox | |||
| name = Livia sas Junius Card | |||
| description = An uncommon (★★) card used in the game [[Triple Triad]]. | |||
| type = triple triad card | |||
| card-rarity = 2 | |||
| rarity = white | |||
| untradable = y | |||
}} | |||
{{clear}} | |||
<pre>{{Item infobox | |||
| name = Mind Materia V | |||
| icon = Mind Materia V.png | |||
| effects = {{item effect|mind|value=15}} | |||
| type = materia | |||
| ilvl = 160 | |||
| advanced-meld = n | |||
| rarity = white | |||
| value = 990 | |||
}}</pre> | |||
{{Item infobox | |||
| name = Mind Materia V | |||
| icon = Mind Materia V.png | |||
| effects = {{item effect|mind|value=15}} | |||
| type = materia | |||
| ilvl = 160 | |||
| advanced-meld = n | |||
| rarity = white | |||
| value = 990 | |||
}} | |||
{{clear}} | |||
<pre>{{Item infobox | |||
| name = Dream Tunic Materials | |||
| icon = Dream Tunic Materials.png | |||
| description = Pre-cut cloth used in the sewing of a Starlight Celebration dream hat. | |||
| type = crafting material | |||
| material-type = cloth | |||
| rarity = white | |||
| value = 1 | |||
}}</pre> | |||
{{Item infobox | |||
| name = Dream Tunic Materials | |||
| icon = Dream Tunic Materials.png | |||
| description = Pre-cut cloth used in the sewing of a Starlight Celebration dream hat. | |||
| type = crafting material | |||
| material-type = cloth | |||
| rarity = white | |||
| value = 1 | |||
}} | |||
{{clear}} | |||
== See also == | |||
* {{tl|Upgrade component infobox}} for upgrade components | |||
* {{tl|Armor infobox}} for armors | |||
* {{tl|Weapon infobox}} for weapons | |||
* {{tl|Trinket infobox}} for accessories | |||
* {{tl|Inventory infobox}} for bags, packs and boxes | |||
[[Category:Infobox templates|Item infobox]] | |||
</noinclude> |
Revision as of 18:13, 7 March 2020
Usage
Use this infobox for defining general items within the game, e.g. trophies, recipe sheets, crafting materials.
{{item infobox | name = | icon = | description = | type = | effects = | effects-hq = | material-type = | unique = | untradable = | unsellable = | rarity = | level = | ilvl = | race = | gender = | recast = | recast-hq = | cost = | value = | value-hq = | seals = | patch = | release = }}
Parameters
- name
- Optional. Name of the article. Defaults to
{{PAGENAME}}
. - icon
- Optional. Item icon. Defaults to File:
{{PAGENAME}}
.png - description
- Optional. Verbatim from the game.
- effects
- Optional. Item effects. Applies mostly to consumables, potions, meals, etc. See {{item effect}} for details on how to apply one or multiple effects.
- effects-hq
- Optional. Item effects if the item is high quality. Applies mostly to consumables, potions, meals, etc.
- type
- Various item types. Includes meal, minion, other, container, crafting material, etc.
- material-type
- Optional. The material type for any item with
type = Crafting material
set. Examples are: cloth, ingredient, reagent, etc. - unique/untradeable/unsellable
- Optional. Input "y" in the appropriate fields if the item has the trait, otherwise leave blank.
- release
- Optional. Expansion this item belongs to. Accepts: heavensward, or stormblood, or "shadowbringers".
The following parameters are handled by the {{Default item parameter}} template:
- level
- Optional. Required level to use the item.
- ilvl
- Optional. Item level.
- rarity
- Specified rarity: basic (white), aetherial (pink), dungeon (green), tomestone (blue), relic (purple). Will be set to Unspecified per default.
- race
- Optional. Required race to use item.
- gender
- Optional. Required gender to use item.
- recast
- Optional. Recast time (in seconds) for consumables such as medicine and meals.
- recast-hq
- Optional. Recast time (in seconds) for consumables such as medicine and meals if the item is high quality.
- cost
- Optional. Currency cost of the item when purchased from a vendor. To match it to the display in any vendor window, use the amount and the appropriate icon template, e.g. 500 {{gil}}, 2000 {{company seal}}, or 50 {{tomestone}}
- value
- Optional. The number of gils a vendor will pay for this item; if not specified sets the item as unsellable.
- value-hq
- Optional. The number of gils a vendor will pay for this item if high quality.
- seals
- Optional. The amount of seals earned through Grand Company deliveries.
- patch
- Optional. The patch where the item became available.
- id-edb
- ID number in the link to the item on Eorzea Database, for example, if the URL is https://na.finalfantasyxiv.com/lodestone/playguide/db/item/fb177317b75/, enter fb177317b75.
- id-gt
- ID number in the link to the item on Garland Tools, for example, if the URL is http://garlandtools.org/db/#item/11252, enter 11252.
Examples
{{Item infobox | name = Max-Potion | icon = Max-Potion.png | description = This spiritous concoction instantly restores a considerable amount of HP. | effects = {{item effect|restore hp|percent=24|max=1920}} | effects-hq = {{item effect|restore hp|percent=30|max=2400}} | type = medicine | recast = 75 | value = 29 | value-hq = 32 | rarity = white }}
“This spiritous concoction instantly restores a considerable amount of HP.
Effects:Restores up to 24 of HP (1920 points max).
Restores up to 30 of HP (2400 points max).
— In-game description
{{Item infobox | name = Raisins | icon = Raisins.png | description = Dried lowland grapes, sweetened in the sun. | effects = {{item effect|spell speed|percent=8|max=2}}{{item effect|vitality|percent=1}}{{item effect|direct hit rate|percent=1}} | type = meal | value = 1 | rarity = white | unique = y | untradable = y | unsellable = y }}
“Dried lowland grapes, sweetened in the sun.
Effects:Spell Speed +8 (Max 2)
Vitality +1
Direct Hit Rate +1
EXP Bonus: +3% Duration: 30m
(Duration can be extended to 60m by consuming multiple servings)— In-game description
{{Item infobox | name = Livia sas Junius Card | description = An uncommon (★★) card used in the game [[Triple Triad]]. | type = triple triad card | card-rarity = 2 | rarity = white | untradable = y }}
“An uncommon (★★) card used in the game Triple Triad.
— In-game description
{{Item infobox | name = Mind Materia V | icon = Mind Materia V.png | effects = {{item effect|mind|value=15}} | type = materia | ilvl = 160 | advanced-meld = n | rarity = white | value = 990 }}
Mind Materia V
- Item type
- Materia
- Requirements
- Base Item (ilvl 160)
- Adv. melding
- No
- Item Level
- 160
- Rarity
- Basic
- Vendor Value
- 990
“Effects:Mind +15
— In-game description
{{Item infobox | name = Dream Tunic Materials | icon = Dream Tunic Materials.png | description = Pre-cut cloth used in the sewing of a Starlight Celebration dream hat. | type = crafting material | material-type = cloth | rarity = white | value = 1 }}
Dream Tunic Materials
- Item type
- Crafting material
- Material type
- Cloth
- Rarity
- Basic
- Vendor Value
- 1
“Pre-cut cloth used in the sewing of a Starlight Celebration dream hat.
— In-game description
See also
- {{Upgrade component infobox}} for upgrade components
- {{Armor infobox}} for armors
- {{Weapon infobox}} for weapons
- {{Trinket infobox}} for accessories
- {{Inventory infobox}} for bags, packs and boxes