Difference between revisions of "Template:Item infobox"
Jump to navigation
Jump to search
(107 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{ | <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 class="icon infobox-icon">{{#if: {{{icon|}}} | |||
| | | {{#ifeq:{{lc:{{{type|}}}}}|currency|[[File:{{{icon|}}}|46px]]|{{STFI|icon={{{icon}}}|link=File:{{{icon}}}}}}}{{#set:Has game icon=File:{{{icon}}}}} | ||
| {{#switch: {{lc:{{{type}}}}} | |||
| 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}} | ||
| #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|}}}{{{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: {{{ | -->{{#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: {{{ | -->{{#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> }}<!-- | ||
{{#if: {{{ | --></div> | ||
{{#if: {{{ | <div class="wrapper"> | ||
{{ | ;[[Item|Item type]] | ||
| | :{{#arraymap: {{{type|}}} |,|@@@|{{#switch: {{lc:@@@}} | ||
{{# | | consumable = [[Has item type::Consumable]] | ||
| container = [[Has item type::Container]] | |||
{{# | | catalyst = [[Has item type::Catalyst]] | ||
| | | crafting material = [[Has item type::Material]] | ||
| decoration = [[Decoration]]{{#set:Has item type=Decoration}}{{#set:Has decoration type={{ucfirst:{{{decoration type|}}}}}}} | |||
| generic = [[Generic]] | |||
| gardening = [[Has item type::Gardening]] | |||
| | | gardening starter = [[Has item type::Gardening]] | ||
| ingredient = [[Has item type::Ingredient]] | |||
| key item = [[Has item type::Key Item]] | |||
| materia = [[Has item type::Materia]] | |||
| meal = [[Has item type::Meal]] | |||
| | | medicine = [[Has item type::Medicine]] | ||
| 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 | ||
| other = [[Has item type::Other]] | |||
| orchestrion roll = [[Has item type::Orchestrion Roll]] | |||
| upgrade component = [[Has item type::Upgrade Component]] | |||
| reagent = [[Has item type::Reagent]] | |||
| recipe = [[Has item type::Recipe]] | |||
| recipe sheet = [[Recipe sheet]]{{#set:Has item type=Recipe sheet}} | |||
| service = [[Has item type::Service]] --> | |||
| triple triad card = [[Has item type::Triple Triad Card]] | |||
| container = [[Has item type::Container]] | |||
| facewear = [[Has item type::Facewear]] | |||
| collection = [[Has item type::Collection]] | |||
| crafting material = [[Has item type::Crafting material]] {{#if:{{NAMESPACE}}||__NOTOC__}} | |||
| #default = {{ucfirst:@@@}}{{#set:Has item type={{ucfirst:@@@}}<!-- END #set:Has item type -->}} | |||
<!-- END #switch:{{lc:@@@}} -->}} |<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]] | |||
| Stone | stone = [[Stone (Material)|Stone]] | |||
| ingredient = [[Ingredient]]{{#set:Has material type=Ingredient}} | |||
| crafting catalyst = [[Crafting Catalyst]] | |||
| part | weapon part = [[Part]] | |||
| #default = [[{{ucfirst:@@@}}]] | |||
| dye = [[Dye]]{{#set:Has material type=Dye}} | |||
}}|<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=@@@}} | |||
}}<!-- END #ifexist:@@@ (skin) -->|<br>}}<!-- END #arraymap --> | |||
}}<!-- END #if:{{{skin|}}} --><!-- continue #arraymap: {{{type}}} --> | |||
| recipe | |||
| recipe sheet = | |||
;[[Class|Classes]] | |||
:{{#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}}|}} | |||
| minion = | |||
;[[Minion#List of minions|Minion]] | |||
:{{#if:{{{minion-set|}}}|[[Is part of minion set::{{ucfirst:{{{minion-set}}}}}]]}} | |||
| triple triad card = | |||
; Card rarity | |||
: {{#if:{{{card-rarity|}}}|{{{card-rarity}}}{{#set:Has triple triad card rarity={{{card-rarity}}}}}<!-- END #if:{{{card-rarity|}}} -->}} | |||
| materia = | |||
; Requirements | |||
: Base Item{{#if:{{{ilvl|}}}| (ilvl {{{ilvl}}}){{#set:Has item level requirement={{{ilvl}}}}}<!-- END #if:{{{ilvl|}}} -->}} | |||
; Adv. melding | |||
: {{#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 | |||
: {{#if: {{{alcohol|}}} | [[Has alcohol content::{{{alcohol}}}]] <!-- END #if:{{{alcohol|}}} -->}} | |||
<!-- END ??? -->}}{{#ifexpr: {{#ask:[[Has ingredient::?;?;{{PAGENAME}}]][[Has recipe source::+]]|format=count}} > 0 | | |||
;[[Crafting]] | |||
:{{#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}}<!-- END #vardefine:@@@_min_level -->}} | |||
{{#ifexpr: {{#var:@@@_min_level|0}} >= 0 | {{@@@}} {{#var:@@@_min_level}} {{#set:Has minimum usable level=@@@;{{#var:@@@_min_level}}<!-- END #set -->}}<!-- END #ifexpr -->}} | |||
|<br><!-- END #arraymap Crafting -->}} | |||
<!-- END #ifexpr -->}}{{Default item parameter | |||
| type = {{{type|}}} | |||
| 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=}} }}|,}} }} | |||
| 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> | |||
{{#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|}}} | |||
| gallery2 = {{{gallery2|}}} | |||
| gallery2-text = {{{gallery2-text|}}} | |||
| gallery3 = {{{gallery3|}}} | |||
| gallery3-text = {{{gallery3-text|}}} | |||
| gallery4 = {{{gallery4|}}} | |||
| gallery4-text = {{{gallery4-text|}}} | |||
| gallery5 = {{{gallery5|}}} | |||
| gallery5-text = {{{gallery5-text|}}} | |||
}} | }} | ||
| | | {{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 --> | |||
{{Quotation|game|{{#if: {{{description|}}} | {{{description}}}{{#set:Has game description={{{description}}}}} }} | |||
{{#if:{{{effects|}}}|<div class="item-effects">Effects:</div><div class="item-effects-list"> | |||
{{{effects|}}} | |||
{{#if: {{{ | </div>}} | ||
{{#if:{{{effects-hq|}}}|<div class="item-effects">Effects HQ {{HQ|14|dark}}:</div><div class="item-effects-list"> | |||
{{{effects-hq|}}} | |||
{{#if: {{{ | </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> +{{#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 | ||
{{#if: {{{ | -->{{#if: {{NAMESPACE}}<!-- no categories if outside of article namespace --> | ||
{{#ifeq: {{{categorize|y}}} | n | + }} | |||
{{#switch: {{lc:{{{status|}}}}} | historical | unimplemented | future = + }} | |||
| <!-- Do not categorize --> | | |||
{{#if: {{ | {{#if:{{{icon|}}}| | {{#ifexist: File:{{#replace:{{#replace:{{PAGENAME}}|:|-}}|/|-}}.png | | ||
| {{#switch: {{lc:{{{type}}}}} | recipe | recipe sheet = | #default = [[Category:Items missing icon]] }} }} | |||
{{# | }} | ||
{{ | {{#arraymap:{{{type|}}}|,|@@@|{{#switch: {{lc:@@@}} | ||
{{ | | booster | ||
| consumable | |||
{{#if: {{{ | | container | ||
| gizmo | |||
{{# | | blueprint | ||
| event item | |||
{{# | | feast | ||
| finisher | |||
{{#if: {{{ | | food | ||
| gathering tool | |||
{{ | | gardening starter | ||
| produce | |||
{{#if: {{{ | | gift | ||
| harvesting sickle | |||
| ingredient | |||
{{ | | jewel | ||
{{#if: {{{ | | logging axe | ||
| mail carrier | |||
| mining pick | |||
{{ | | salvage item | ||
{{# | | 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]] | |||
{{#if: {{{ | | trick = [[Category:Consumables]][[Category:Bundles]] | ||
{{ | | recipe | ||
| recipe sheet = [[Category:Recipe sheets]] | |||
| token = [[Category:Tokens]] | |||
{{#if: {{{ | | 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 | |||
| musical instrument = [[Category:Musical instruments]] | |||
| toy = [[Category:Toys]] | |||
| trophy = [[Category:Trophies]] | |||
| materia | |||
| catalyst = [[Category:Crafting catalysts]] | |||
| minion = [[Category:Minions]] | |||
| 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]] | |||
| 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 | |||
| 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 --> | |||
{{#if: {{{patch|}}}|[[Category:Items added in patch {{{patch}}}]]|[[Category:Items needing patch]]}}</includeonly><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 = | |||
| id-edb = | |||
| id-gt = | |||
}} | }} | ||
</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'' or ''endwalker'' or ''dawntrail'' | |||
{{: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 | |||
| patch = 2.0 | |||
| id-edb = 810081f550e | |||
| id-gt = 13637 | |||
}}</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 | ||
| patch = 2.0 | |||
| id-edb = 810081f550e | |||
{{ | | id-gt = 13637 | ||
}} | |||
{{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 | |||
| patch = 2.0 | |||
}}</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 | |||
| patch = 2.0 | |||
}} | |||
{{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 | |||
| patch = 2.51 | |||
}}</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 | |||
| patch = 2.51 | |||
}} | }} | ||
{{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 | |||
| patch = 2.0 | |||
}}</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 | |||
| patch = 2.0 | |||
{{ | |||
{{ | |||
}} | }} | ||
{{clear}} | |||
{{ | |||
== See also == | |||
{{ | * {{tl|Upgrade component infobox}} for upgrade components | ||
* {{tl|Armor infobox}} for armors | |||
* {{tl|Weapon infobox}} for weapons | |||
{{ | * {{tl|Accessory infobox}} for accessories | ||
* {{tl|Inventory infobox}} for bags, packs and boxes | |||
{{ | |||
{{ | [[Category:Infobox templates|Item infobox]] | ||
{{ | |||
</noinclude> |
Latest revision as of 01:58, 16 December 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