Difference between revisions of "Template:Item infobox"
Jump to navigation
Jump to search
(63 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{lc:{{{release|}}}}}|heavensward = {{Heavensward expansion content}}|stormblood = {{Stormblood expansion content}}|shadowbringers = {{Shadowbringers expansion content}}|endwalker = {{Endwalker 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 | --><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]] | ||
| gardening starter =[[Has item type::Gardening]] | | gardening starter = [[Has item type::Gardening]] | ||
| ingredient | | ingredient = [[Has item type::Ingredient]] | ||
| key item | | key item = [[Has item type::Key Item]] | ||
| materia | | materia = [[Has item type::Materia]] | ||
| meal | | meal = [[Has item type::Meal]] | ||
| medicine | | medicine = [[Has item type::Medicine]] | ||
| minion | | minion = [[Has item type::Minion]] | ||
| miscellany | | miscellany = [[Has item type::Miscellany]] | ||
| produce | | produce = [[Has item type::Gardening]] | ||
| seasonal miscellany | | seasonal miscellany = [[Has item type::Seasonal Miscellany]] | ||
| isleworks handicrafts =[[Has item type::Isleworks Handicrafts]] | | 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:@@@}}<!-- END #set:Has item type -->}} | | #default = {{ucfirst:@@@}}{{#set:Has item type={{ucfirst:@@@}}<!-- END #set:Has item type -->}} | ||
Line 85: | Line 89: | ||
; 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 = | | isleworks handicrafts = | ||
; Base export | ; Base export | ||
: | : {{cowrie|seafarer}} {{{base-export-value|Unknown}}} | ||
; Categories | ; 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 | ||
Line 100: | Line 115: | ||
|<br><!-- END #arraymap Crafting -->}} | |<br><!-- END #arraymap Crafting -->}} | ||
<!-- END #ifexpr -->}}{{Default item parameter | <!-- END #ifexpr -->}}{{Default item parameter | ||
| type = {{{type|}}} | |||
| status = {{{status|}}} | | status = {{{status|}}} | ||
| rarity = {{{rarity|}}} | | rarity = {{{rarity|}}} | ||
Line 116: | Line 132: | ||
| id-edb = {{{id-edb|}}} | | id-edb = {{{id-edb|}}} | ||
| id-gt = {{{id-gt|}}} | | id-gt = {{{id-gt|}}} | ||
<!-- END {{Default item parameter}} -->}} | <!-- 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 151: | Line 167: | ||
</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 229: | Line 245: | ||
| {{{decoration type}}} }} decorations]] | | {{{decoration type}}} }} decorations]] | ||
| key item = [[Category:Key Item]] | | 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 294: | 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 342: | Line 363: | ||
| untradable = y | | untradable = y | ||
| unsellable = y | | unsellable = y | ||
| patch = 2.0 | |||
}}</pre> | }}</pre> | ||
{{Item infobox | {{Item infobox | ||
Line 354: | Line 376: | ||
| untradable = y | | untradable = y | ||
| unsellable = y | | unsellable = y | ||
| patch = 2.0 | |||
}} | }} | ||
{{clear}} | {{clear}} | ||
Line 363: | Line 386: | ||
| rarity = white | | rarity = white | ||
| untradable = y | | untradable = y | ||
| patch = 2.51 | |||
}}</pre> | }}</pre> | ||
{{Item infobox | {{Item infobox | ||
Line 371: | Line 395: | ||
| rarity = white | | rarity = white | ||
| untradable = y | | untradable = y | ||
| patch = 2.51 | |||
}} | }} | ||
{{clear}} | {{clear}} | ||
Line 382: | Line 407: | ||
| rarity = white | | rarity = white | ||
| value = 990 | | value = 990 | ||
| patch = 2.0 | |||
}}</pre> | }}</pre> | ||
{{Item infobox | {{Item infobox | ||
Line 392: | Line 418: | ||
| rarity = white | | rarity = white | ||
| value = 990 | | value = 990 | ||
| patch = 2.0 | |||
| | |||
}} | }} | ||
{{clear}} | {{clear}} |
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