Difference between revisions of "Template:Item infobox"
Jump to navigation
Jump to search
(114 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{lc:{{{release|}}}}}|heavensward = {{Heavensward expansion content}}|stormblood = {{Stormblood expansion content}}|shadowbringers = {{Shadowbringers expansion content}}}} | <includeonly>{{#switch:{{lc:{{{release|}}}}}|heavensward = {{Heavensward expansion content}}|stormblood = {{Stormblood expansion content}}|shadowbringers = {{Shadowbringers expansion content}}|endwalker = {{Endwalker expansion content}}|dawntrail = {{Dawntrail expansion content}}}}{{#if:{{{release|}}}||{{#switch:{{{patch|}}}|1.0|2.0|2.05|2.1|2.15|2.16|2.2|2.21|2.25|2.28|2.3|2.35|2.38|2.4|2.41|2.45|2.5|2.51|2.55|2.56|2.57=|#default=[[Category:Missing release]]}}}}<!-- | ||
--><div class="infobox-n item"> | |||
<div style="float:left;height:50px;position:relative;top:0px;left:0px;visibility:hidden;">.</div> | <div style="float:left;height:50px;position:relative;top:0px;left:0px;visibility:hidden;">.</div> | ||
<div class="icon infobox-icon">{{#if: {{{icon|}}} | <div class="icon infobox-icon">{{#if: {{{icon|}}} | ||
| {{STFI|icon={{{icon}}}|link=File:{{{icon}}}}}{{#set:Has game icon=File:{{{icon}}}}} | | {{#ifeq:{{lc:{{{type|}}}}}|currency|[[File:{{{icon|}}}|46px]]|{{STFI|icon={{{icon}}}|link=File:{{{icon}}}}}}}{{#set:Has game icon=File:{{{icon}}}}} | ||
| {{#switch: {{lc:{{{type}}}}} | | {{#switch: {{lc:{{{type}}}}} | ||
| recipe | recipe sheet = [[Category:Recipe sheets missing icon]] | | recipe | recipe sheet = [[Category:Recipe sheets missing icon]] | ||
Line 10: | Line 10: | ||
}}</div> | }}</div> | ||
<p class="heading">[[Has canonical name::{{{name|{{#titleparts:{{PAGENAME}}}}}}}]]</p> | <p class="heading">[[Has canonical name::{{{name|{{#titleparts:{{PAGENAME}}}}}}}]]</p> | ||
<div class="statistics item {{#if:{{{unique|}}}{{{untradable|}}}{{{unsellable|}}}||empty}}"><!-- | <div class="statistics item {{#if:{{{unique|}}}{{{untradable|}}}{{{unsellable|}}}{{{market-prohibited|}}}||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:{{{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:{{{market-prohibited|}}}|{{#set:Is market prohibited=Y}}<span class="characteristic untradable" title="This item cannot be sold on the Market Board but can be traded to another player.">MARKET PROHIBITED</span> |{{#if:{{{untradable|}}}|{{#set:Is untradable=Y}}<span class="characteristic untradable" title="This item cannot be sold on the Market Board or traded to another player.">UNTRADABLE</span> }}}}<!-- | ||
-->{{#if:{{{unsellable|}}}|{{#set:Is unsellable=Y}}<span class="characteristic unsellable" title="This item cannot be sold to merchants.">UNSELLABLE</span> }}<!-- | -->{{#if:{{{unsellable|}}}|{{#set:Is unsellable=Y}}<span class="characteristic unsellable" title="This item cannot be sold to merchants.">UNSELLABLE</span> }}<!-- | ||
-->{{#if:{{{island-sanctuary|}}}|{{#set:Is island sanctuary item=Y}}[[File:Island Sanctuary icon.png|link=Island Sanctuary|16px]] <span class="characteristic" style="color:blue" title="This item is part of Island Sanctuary and not stored in the normal player inventory.">ISLAND SANCTUARY ITEM</span> }}<!-- | |||
--></div> | --></div> | ||
<div class="wrapper"> | <div class="wrapper"> | ||
;[[Item|Item type]] | ;[[Item|Item type]] | ||
:{{#arraymap: {{{type|}}} |,|@@@|{{#switch: {{lc:@@@}} | :{{#arraymap: {{{type|}}} |,|@@@|{{#switch: {{lc:@@@}} | ||
| consumable = [[Has item type::Consumable]] | |||
| container | | container = [[Has item type::Container]] | ||
| catalyst | | catalyst = [[Has item type::Catalyst]] | ||
| crafting material | | crafting material = [[Has item type::Material]] | ||
| decoration = [[Decoration]]{{#set:Has item type=Decoration}}{{#set:Has decoration type={{ucfirst:{{{decoration type|}}}}}}} | | decoration = [[Decoration]]{{#set:Has item type=Decoration}}{{#set:Has decoration type={{ucfirst:{{{decoration type|}}}}}}} | ||
| generic = [[Generic]] | | generic = [[Generic]] | ||
| gardening | | gardening = [[Has item type::Gardening]] | ||
| ingredient | | gardening starter = [[Has item type::Gardening]] | ||
| materia | | ingredient = [[Has item type::Ingredient]] | ||
| meal | | key item = [[Has item type::Key Item]] | ||
| medicine | | materia = [[Has item type::Materia]] | ||
| minion | | meal = [[Has item type::Meal]] | ||
| miscellany | | medicine = [[Has item type::Medicine]] | ||
| seasonal miscellany | | minion = [[Has item type::Minion]] | ||
| miscellany = [[Has item type::Miscellany]] | |||
| produce = [[Has item type::Gardening]] | |||
| seasonal miscellany = [[Has item type::Seasonal Miscellany]] | |||
| island sanctuary material = [[Has item type::Island Sanctuary Material]] | |||
| leavings = [[Has item type::Leaving]] | |||
| isleworks handicrafts = [[Has item type::Isleworks Handicrafts]] | |||
| none | | none | ||
| other | | other = [[Has item type::Other]] | ||
| orchestrion roll | | orchestrion roll = [[Has item type::Orchestrion Roll]] | ||
| upgrade component | | upgrade component = [[Has item type::Upgrade Component]] | ||
| reagent | | reagent = [[Has item type::Reagent]] | ||
| recipe | | recipe = [[Has item type::Recipe]] | ||
| recipe sheet = [[Recipe sheet]]{{#set:Has item type=Recipe sheet}} | | recipe sheet = [[Recipe sheet]]{{#set:Has item type=Recipe sheet}} | ||
| service = [[Has item type::Service]] --> | | service = [[Has item type::Service]] --> | ||
| triple triad card = [[Has item type::Triple Triad Card]] | | triple triad card = [[Has item type::Triple Triad Card]] | ||
| container = [[Has item type::Container]] | | container = [[Has item type::Container]] | ||
| facewear = [[Has item type::Facewear]] | |||
| crafting material = [[Has item type::Crafting material]] {{#if:{{NAMESPACE}}||__NOTOC__}} | | crafting material = [[Has item type::Crafting material]] {{#if:{{NAMESPACE}}||__NOTOC__}} | ||
| #default = {{ucfirst:@@@}}{{#set:Has item type={{ucfirst:@@@}}}} | | #default = {{ucfirst:@@@}}{{#set:Has item type={{ucfirst:@@@}}<!-- END #set:Has item type -->}} | ||
}} |<br>}}{{#if: {{{material-type|}}} | | <!-- END #switch:{{lc:@@@}} -->}} |<br>}}{{#if: {{{material-type|}}} | | ||
;[[material|Material type]] | ;[[material|Material type]] | ||
:{{#arraymap: {{{material-type}}} |,|@@@|{{#switch: {{lc:@@@}} | :{{#arraymap: {{{material-type}}} |,|@@@|{{#switch: {{lc:@@@}} | ||
Line 50: | Line 58: | ||
| fine = [[Crafting material#Fine crafting materials|Fine material]] | | fine = [[Crafting material#Fine crafting materials|Fine material]] | ||
| component = [[Component]] | | component = [[Component]] | ||
| ingredient = [[Ingredient]] | | Stone | stone = [[Stone (Material)|Stone]] | ||
| ingredient = [[Ingredient]]{{#set:Has material type=Ingredient}} | |||
| crafting catalyst = [[Crafting Catalyst]] | | crafting catalyst = [[Crafting Catalyst]] | ||
| part | weapon part = [[Part]] | | part | weapon part = [[Part]] | ||
| #default = [[{{ucfirst:@@@}}]] | | #default = [[{{ucfirst:@@@}}]] | ||
| dye = [[Dye]]{{#set:Has material type=Dye}} | |||
}}|<br>}} }}{{#switch:{{lc:{{{type|}}}}} | }}|<br>}} }}{{#switch:{{lc:{{{type|}}}}} | ||
| armor skin | | armor skin | ||
Line 61: | Line 71: | ||
| {{cname|@@@ (skin)}}{{#set:Has skin=@@@ (skin)}} | | {{cname|@@@ (skin)}}{{#set:Has skin=@@@ (skin)}} | ||
| {{cname|@@@}}{{#set:Has skin=@@@}} | | {{cname|@@@}}{{#set:Has skin=@@@}} | ||
}}|<br>}} | }}<!-- END #ifexist:@@@ (skin) -->|<br>}}<!-- END #arraymap --> | ||
}} | }}<!-- END #if:{{{skin|}}} --><!-- continue #arraymap: {{{type}}} --> | ||
| recipe | | recipe | ||
| recipe sheet = | | recipe sheet = | ||
;[[Class|Classes]] | ;[[Class|Classes]] | ||
:{{#vardefine:recipe-object|{{#ask:[[Learned from recipe sheet::{{PAGENAME}}]]|link=none}}}}<!-- | :{{#vardefine:recipe-object|{{#ask:[[Learned from recipe sheet::{{PAGENAME}}]]|link=none}}<!-- END #vardefine:recipe-object -->}}<!-- | ||
-->{{#arraymap:{{#var:recipe-object}}|,|@@@|{{#ask:[[@@@]]|?Requires rating|?Requires discipline|link=none|format=template|template=Template:Item infobox/recipe object result format}}|}} | -->{{#arraymap:{{#var:recipe-object}}|,|@@@|{{#ask:[[@@@]]|?Requires rating|?Requires discipline|link=none|format=template|template=Template:Item infobox/recipe object result format}}|}} | ||
| minion = | | minion = | ||
Line 73: | Line 83: | ||
| triple triad card = | | triple triad card = | ||
; Card rarity | ; Card rarity | ||
: {{#if:{{{card-rarity|}}}|{{{card-rarity}}}{{#set:Has triple triad card rarity={{{card-rarity}}}}}}} | : {{#if:{{{card-rarity|}}}|{{{card-rarity}}}{{#set:Has triple triad card rarity={{{card-rarity}}}}}<!-- END #if:{{{card-rarity|}}} -->}} | ||
| materia = | | materia = | ||
; Requirements | ; Requirements | ||
: Base Item{{#if:{{{ilvl|}}}| (ilvl {{{ilvl}}}){{#set:Has item level requirement={{{ilvl}}}}}}} | : Base Item{{#if:{{{ilvl|}}}| (ilvl {{{ilvl}}}){{#set:Has item level requirement={{{ilvl}}}}}<!-- END #if:{{{ilvl|}}} -->}} | ||
; Adv. melding | ; Adv. melding | ||
: {{#ifeq:{{{advanced-meld|n}}}|n|No|Yes}} | : {{#ifeq:{{{advanced-meld|n}}}|n|No|Yes}} | ||
| island sanctuary material | leavings | produce = | |||
; Unlock rank | |||
:{{{island-rank|Unknown}}} | |||
; Export | |||
: {{#if:{{{export-value-green|}}}|{{cowrie|islander}} {{{export-value-green|Unknown}}}|}}{{#if:{{{export-value-blue|}}}|{{cowrie|seafarer}} {{{export-value-blue|Unknown}}}|}} | |||
| isleworks handicrafts = | |||
; Base export | |||
: {{cowrie|seafarer}} {{{base-export-value|Unknown}}} | |||
; Categories | |||
: {{#arraymap:{{{isleworks-categories}}}|,|@@@| {{#switch:{{lc:@@@}} | |||
| accessories | arms | attire | concoctions | confections | foodstuffs | furnishings | ingredients | metalworks | sundries | textiles | woodworks = {{ucfirst:@@@}} | |||
| creature creations = Creature Creations | |||
| marine merchandise = Marine Merchandise | |||
| preserved food = Preserved Food | |||
| unburied treasures = Unburied Treasures | |||
| #default = <!-- This should never be reached -->}}|<br>}} | |||
| alcohol = | | alcohol = | ||
;Alcohol | ;Alcohol | ||
: {{#if: {{{alcohol|}}} | [[Has alcohol content::{{{alcohol}}}]] }} | : {{#if: {{{alcohol|}}} | [[Has alcohol content::{{{alcohol}}}]] <!-- END #if:{{{alcohol|}}} -->}} | ||
}}{{#ifexpr: {{#ask:[[Has ingredient::?;?;{{PAGENAME}}]][[Has recipe source::+]]|format=count}} > 0 | | <!-- END ??? -->}}{{#ifexpr: {{#ask:[[Has ingredient::?;?;{{PAGENAME}}]][[Has recipe source::+]]|format=count}} > 0 | | ||
;[[Crafting]] | ;[[Crafting]] | ||
:{{#arraymap: Carpenter, Blacksmith, Armorer, Goldsmith, Leatherworker, Weaver, Alchemist, Culinarian |,|@@@| | :{{#arraymap: Carpenter, Blacksmith, Armorer, Goldsmith, Leatherworker, Weaver, Alchemist, Culinarian, Any |,|@@@| | ||
{{#vardefine:@@@_min_level|{{#ask:[[Has ingredient::?;?;{{PAGENAME}}]][[Requires class::@@@]]|?Requires crafting level|format=min|default=-1}}}} | {{#vardefine:@@@_min_level|{{#ask:[[Has ingredient::?;?;{{PAGENAME}}]][[Requires class::@@@]]|?Requires crafting level|format=min|default=-1}}<!-- END #vardefine:@@@_min_level -->}} | ||
{{#ifexpr: {{#var:@@@_min_level|0}} >= 0 | {{@@@}} {{#var:@@@_min_level}} {{#set:Has minimum usable level=@@@;{{#var:@@@_min_level}}}} }} | {{#ifexpr: {{#var:@@@_min_level|0}} >= 0 | {{@@@}} {{#var:@@@_min_level}} {{#set:Has minimum usable level=@@@;{{#var:@@@_min_level}}<!-- END #set -->}}<!-- END #ifexpr -->}} | ||
|<br>}} | |<br><!-- END #arraymap Crafting -->}} | ||
}}{{Default item parameter | <!-- END #ifexpr -->}}{{Default item parameter | ||
| type = {{{type|}}} | |||
| status = {{{status|}}} | | status = {{{status|}}} | ||
| rarity = {{{rarity|}}} | | rarity = {{{rarity|}}} | ||
Line 103: | Line 130: | ||
| patch = {{{patch|}}} | | 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=}} }}|,}} }} | | skin id = {{#if: {{{skin|}}} | {{#arraymap:{{{skin}}}|,|@@@|{{ifexists|@@@ (skin) | {{#show:@@@ (skin)|?Has game id#|limit=1|default=}} | {{#show:@@@|?Has game id#|limit=1|default=}} }}|,}} }} | ||
}} | | id-edb = {{{id-edb|}}} | ||
| id-gt = {{{id-gt|}}} | |||
<!-- END {{Default item parameter}} -->}} {{#if: {{{id-gt|}}}||{{#if:{{{untradable|}}}{{{market-prohibited|}}}{{{island-sanctuary|}}}||{{#switch:{{lc:{{{type|}}}}}|currency|key item=|[[Category:Missing universalis link]]}}}}}} | |||
</div> | </div> | ||
{{#ifeq:{{{gallery|x}}}|no| {{clear}} <!-- hide for unimplemented items with no preview option -->| | {{#ifeq:{{{gallery|x}}}|no| {{clear}} <!-- hide for unimplemented items with no preview option -->| | ||
Line 117: | Line 146: | ||
| name = {{{name|{{BASEPAGENAME}}}}} | | name = {{{name|{{BASEPAGENAME}}}}} | ||
| gallery1 = {{{gallery1|}}} | | gallery1 = {{{gallery1|}}} | ||
| gallery1-text = {{{gallery1-text| | | gallery1-text = {{{gallery1-text|}}} | ||
| gallery2 = {{{gallery2|}}} | | gallery2 = {{{gallery2|}}} | ||
| gallery2-text = {{{gallery2-text| | | gallery2-text = {{{gallery2-text|}}} | ||
| gallery3 = {{{gallery3|}}} | | gallery3 = {{{gallery3|}}} | ||
| gallery3-text = {{{gallery3-text| | | gallery3-text = {{{gallery3-text|}}} | ||
| gallery4 = {{{gallery4|}}} | | gallery4 = {{{gallery4|}}} | ||
| gallery4-text = {{{gallery4-text| | | gallery4-text = {{{gallery4-text|}}} | ||
| gallery5 = {{{gallery5|}}} | | gallery5 = {{{gallery5|}}} | ||
| gallery5-text = {{{gallery5-text| | | gallery5-text = {{{gallery5-text|}}} | ||
}} | }} | ||
| {{clear}} <!-- Do not show gallery --> }}}} | | {{clear}} <!-- Do not show gallery --> }}}} | ||
Line 133: | Line 162: | ||
{{#if:{{{effects|}}}|<div class="item-effects">Effects:</div><div class="item-effects-list"> | {{#if:{{{effects|}}}|<div class="item-effects">Effects:</div><div class="item-effects-list"> | ||
{{{effects|}}} | {{{effects|}}} | ||
</div> | </div>}} | ||
{{#if:{{{effects-hq|}}}|<div class="item-effects">Effects HQ:</div><div class="item-effects-list"> | {{#if:{{{effects-hq|}}}|<div class="item-effects">Effects HQ {{HQ|14|dark}}:</div><div class="item-effects-list"> | ||
{{{effects-hq|}}} | {{{effects-hq|}}} | ||
</div>}}<!-- | </div>}}<!-- | ||
--> | --> | ||
{{#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:{{#switch:{{lc:{{{exp-bonus|}}}}}|n=|y=y|#default={{#switch:{{lc:{{{type|}}}}}|meal=y}}}}|<span style="color:#0a9421; padding-left:1px;">'''EXP Bonus:'''</span> +{{#if:{{{exp-bonus|}}}|{{{exp-bonus|}}}|3}}% <span style="color:#0a9421;">'''Duration:'''</span> 30m<br>(Duration can be extended to 60m by consuming multiple servings)}} }} | ||
}}<!-- | }}<!-- | ||
AUTOCATEGORIZATION | AUTOCATEGORIZATION | ||
Line 161: | Line 189: | ||
| food | | food | ||
| gathering tool | | gathering tool | ||
| gardening starter | |||
| produce | |||
| gift | | gift | ||
| harvesting sickle | | harvesting sickle | ||
Line 214: | Line 244: | ||
| turrets = Turret | | turrets = Turret | ||
| {{{decoration type}}} }} decorations]] | | {{{decoration type}}} }} decorations]] | ||
| key item = [[Category:Key Item]] | |||
| island sanctuary material = [[Category:Island Sanctuary Materials]] | |||
| isleworks handicrafts = [[Category:Isleworks Handicrafts]] | |||
| leavings = [[Category:Leavings]] | |||
| produce = [[Category:Island Produce]] | |||
| facewear = [[Category:Facewear]] | |||
| other | | other | ||
| none | | none | ||
Line 234: | Line 270: | ||
| critter = [[Category:Critter]] | | critter = [[Category:Critter]] | ||
}}|}} | }}|}} | ||
}}<!-- end #ifeq historical --></includeonly><noinclude> | }}<!-- end #ifeq historical --> | ||
{{#if: {{{patch|}}}|[[Category:Items added in patch {{{patch}}}]]|[[Category:Items needing patch]]}}</includeonly><noinclude> | |||
== Usage == | == Usage == | ||
Line 264: | Line 301: | ||
| patch = | | patch = | ||
| release = | | release = | ||
| id-edb = | |||
| id-gt = | |||
}} | }} | ||
</pre> | </pre> | ||
Line 276: | Line 315: | ||
; material-type: Optional. The material type for any item with <code><nowiki>type = Crafting material</nowiki></code> set. Examples are: ''cloth'', ''ingredient'', ''reagent'', 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. | ; 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 | ; release: Optional. Expansion this item belongs to. Accepts: ''heavensward'', or ''stormblood'', or ''shadowbringers'' or ''endwalker'' or ''dawntrail'' | ||
{{:Template:Default item parameter/documentation}} | {{:Template:Default item parameter/documentation}} | ||
<!--For [[miniature]]s, [[toy]]s and [[town clothing]] the following parameter may be used: | <!--For [[miniature]]s, [[toy]]s and [[town clothing]] the following parameter may be used: | ||
Line 291: | Line 330: | ||
| recast = 75 | | recast = 75 | ||
| value = 29 | | value = 29 | ||
| value-hq = 32 | |||
| rarity = white | | rarity = white | ||
| patch = 2.0 | |||
| id-edb = 810081f550e | |||
| id-gt = 13637 | |||
}}</pre> | }}</pre> | ||
{{Item infobox | {{Item infobox | ||
Line 302: | Line 345: | ||
| recast = 75 | | recast = 75 | ||
| value = 29 | | value = 29 | ||
| value-hq = 32 | |||
| rarity = white | | rarity = white | ||
| patch = 2.0 | |||
| id-edb = 810081f550e | |||
| id-gt = 13637 | |||
}} | }} | ||
{{clear}} | {{clear}} | ||
Line 316: | Line 363: | ||
| untradable = y | | untradable = y | ||
| unsellable = y | | unsellable = y | ||
| patch = 2.0 | |||
}}</pre> | }}</pre> | ||
{{Item infobox | {{Item infobox | ||
Line 328: | Line 376: | ||
| untradable = y | | untradable = y | ||
| unsellable = y | | unsellable = y | ||
| patch = 2.0 | |||
}} | }} | ||
{{clear}} | {{clear}} | ||
Line 337: | Line 386: | ||
| rarity = white | | rarity = white | ||
| untradable = y | | untradable = y | ||
| patch = 2.51 | |||
}}</pre> | }}</pre> | ||
{{Item infobox | {{Item infobox | ||
Line 345: | Line 395: | ||
| rarity = white | | rarity = white | ||
| untradable = y | | untradable = y | ||
| patch = 2.51 | |||
}} | }} | ||
{{clear}} | {{clear}} | ||
Line 356: | Line 407: | ||
| rarity = white | | rarity = white | ||
| value = 990 | | value = 990 | ||
| patch = 2.0 | |||
}}</pre> | }}</pre> | ||
{{Item infobox | {{Item infobox | ||
Line 366: | Line 418: | ||
| rarity = white | | rarity = white | ||
| value = 990 | | value = 990 | ||
| patch = 2.0 | |||
| | |||
}} | }} | ||
{{clear}} | {{clear}} | ||
Line 392: | Line 426: | ||
* {{tl|Armor infobox}} for armors | * {{tl|Armor infobox}} for armors | ||
* {{tl|Weapon infobox}} for weapons | * {{tl|Weapon infobox}} for weapons | ||
* {{tl| | * {{tl|Accessory infobox}} for accessories | ||
* {{tl|Inventory infobox}} for bags, packs and boxes | * {{tl|Inventory infobox}} for bags, packs and boxes | ||
Latest revision as of 21:00, 3 November 2024
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 = | id-edb = | id-gt = }}
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 or endwalker or dawntrail
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 | patch = 2.0 | id-edb = 810081f550e | id-gt = 13637 }}
Max-Potion
“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 | patch = 2.0 }}
“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 | patch = 2.51 }}
“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 | patch = 2.0 }}
Mind Materia V
“Effects:Mind +15
— In-game description
See also
- {{Upgrade component infobox}} for upgrade components
- {{Armor infobox}} for armors
- {{Weapon infobox}} for weapons
- {{Accessory infobox}} for accessories
- {{Inventory infobox}} for bags, packs and boxes