Difference between revisions of "Template:Item infobox"
JohnnySolas (talk | contribs) |
(Added Eorzea Database and Garland Tools link functionality) |
||
Line 104: | Line 104: | ||
| patch = {{#if: {{{patch|}}} | [[Patch {{{patch}}}|{{{patch|}}}]]}} | | patch = {{#if: {{{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|}}} | |||
}} | }} | ||
</div> | </div> | ||
Line 265: | Line 267: | ||
| patch = | | patch = | ||
| release = | | release = | ||
| id-edb = | |||
| id-gt = | |||
}} | }} | ||
</pre> | </pre> | ||
Line 279: | Line 283: | ||
; release: Optional. Expansion this item belongs to. Accepts: ''heavensward'', or ''stormblood'', or "shadowbringers" or "endwalker". | ; release: Optional. Expansion this item belongs to. Accepts: ''heavensward'', or ''stormblood'', or "shadowbringers" or "endwalker". | ||
{{:Template:Default item parameter/documentation}} | {{:Template:Default item parameter/documentation}} | ||
; 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/810081f550e/, enter '''810081f550e'''. | |||
; id-gt | |||
: ID number in the link to the item on Garland Tools, for example, if the URL is http://garlandtools.org/db/#item/13637, enter '''13637'''. | |||
<!--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: | ||
{{:Template:Item infobox gallery/documentation}} --> | {{:Template:Item infobox gallery/documentation}} --> | ||
Line 295: | Line 303: | ||
| rarity = white | | rarity = white | ||
| patch = 2.0 | | patch = 2.0 | ||
| id-edb = 810081f550e | |||
| id-gt = 13637 | |||
}}</pre> | }}</pre> | ||
{{Item infobox | {{Item infobox | ||
Line 308: | Line 318: | ||
| rarity = white | | rarity = white | ||
| patch = 2.0 | | patch = 2.0 | ||
| id-edb = 810081f550e | |||
| id-gt = 13637 | |||
}} | }} | ||
{{clear}} | {{clear}} |
Revision as of 15:28, 26 July 2021
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".
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.
- 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/810081f550e/, enter 810081f550e.
- id-gt
- ID number in the link to the item on Garland Tools, for example, if the URL is http://garlandtools.org/db/#item/13637, enter 13637.
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 }}
“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