Template:Default item parameter: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Erin Umbreon (talk | contribs) Define id-gt page variable for other templates to reference the internal ID of the current page |
||
| Line 64: | Line 64: | ||
: [https://universalis.app/market/{{{id-gt}}} Universalis] | : [https://universalis.app/market/{{{id-gt}}} Universalis] | ||
}}<!--AUTOCATEGORIZATION-->{{#ifeq: {{NAMESPACE}}|| | }}<!--AUTOCATEGORIZATION-->{{#ifeq: {{NAMESPACE}}|| | ||
{{#if: {{{id-gt|}}}|{{#set:Has internal ID={{{id-gt|}}}}}|{{#ifeq: {{lc:{{{id-gt-exists|}}}}}|n||[[Category:Items with no internal ID specified]]}}}}<!-- | {{#if: {{{id-gt|}}}|{{#set:Has internal ID={{{id-gt|}}}}}{{#vardefine:id-gt|{{{id-gt|}}}}}|{{#ifeq: {{lc:{{{id-gt-exists|}}}}}|n||[[Category:Items with no internal ID specified]]}}}}<!-- | ||
-->{{#if: {{{id-edb|}}}|{{#set:Has EDB ID={{{id-edb}}}}}|{{#ifeq: {{lc:{{{id-edb-exists|}}}}}|n||[[Category:Items with no EDB ID specified]]}}}} | -->{{#if: {{{id-edb|}}}|{{#set:Has EDB ID={{{id-edb}}}}}|{{#ifeq: {{lc:{{{id-edb-exists|}}}}}|n||[[Category:Items with no EDB ID specified]]}}}} | ||
}}</includeonly><noinclude>{{documentation}}</noinclude> | }}</includeonly><noinclude>{{documentation}}</noinclude> | ||
Revision as of 20:18, 11 February 2026
Documentation for Template:Default item parameter [view] [edit] [history] [purge] (How does this work?)
This template defines values available on all items and is implemented as a subtemplate on all infobox templates for items.
{{default item parameter
| rarity =
| level =
| ilvl =
| race =
| gender =
| recast =
| recast-hq =
| cost =
| value =
| value-hq =
| patch =
| id-edb =
| id-gt =
| id-edb-exists =
| id-gt-exists =
}}
Parameters
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
- Optional. 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
- Optional. Internal ID number from the game files. Used in the links to the external sites such as Garland Tools, Teamcraft, and Universalis. For example, if the URL is http://garlandtools.org/db/#item/11252, enter 11252.
- id-edb-exists
- Optional. For items which will never appear in Eorzea Database, set this parameter to n and do not provide the id-edb parameter. This excludes the item from appearing in the maintenance category Category:Items with no EDB ID specified.
- id-gt-exists
- Optional. For items which will never appear in GarlandTools/Teamcraft/Universalis (etc), set this parameter to n and do not provide the id-gt parameter. This excludes the item from appearing in the maintenance category Category:Items with no internal ID specified.
Implemented on
- {{Armor infobox}} for armor
- {{Item infobox}} for general items
- {{Accessory infobox}} for accessories
- {{Weapon infobox}} for weapons
- {{Airship&Submersible infobox}} for airship/submersible components