Template:Inventory infobox
From Guild Wars 2 Wiki
Jump to navigationJump to search
Description[edit]
An infobox template, similar to {{Item infobox}}, but with parameters appropriate for inventory bags.
Usage[edit]
{{Inventory infobox
| slots =
| property =
| description =
| rarity =
| bound =
| id =
}}
Parameters[edit]
- type
- The Bag type: bag, pack or box.
- slots
- The number of slots the bag possessed. If multiple different slots are possible, separate possible values with commas.
- property
- Optional. If the bag has a special property:
- basic (no special properties)
- craftsman (prioritise materials)
- equipment (prioritise armor/weapons)
- oiled (prioritise junk)
- containers (prioritise consumables and containers)
- invisible (not in vendor windows)
- invisible equipment (prioritise armor/weapons + not in vendor windows)
- description
- Optional. The in-game description of the item.
- hint
- Optional. Used only for collection items that display hint text
- categorize
- Optional. "y" or "n" to turn on/off categorization. Default is on for main namespace articles and off for others. If using "status", don't set this parameter.
- status
- Optional. Status of content. Only set if not currently obtainable ingame, displays relevant notice. Available options: "historical", "discontinued", "future", "unimplemented", "current" (default).
- status notes
- Optional. Allows provision of additional reason for the given status.
- status date
- Optional. Sets the date of the update that marked this skill as historical (in YYYY-MM-DD format).
- requires
- Optional. The expansion or living world season required to access the content. Displays a notice of the release. See {{infobox requires}} for options.
Parameters handled by {{Default item parameter}} template[edit]
- collection
- Optional. If the item is part of any collections, separated by ";".
- prefix
- Optional. The nomenclature prefix that describes the attribute bonuses on the item. Automatically sets the attribute bonuses in the description based on {{item stat lookup}} and {{prefix attributes}}. Use only if the item's stats match a standard prefix.
- rarity
- Optional. Defaults to 'Unspecified'. rarity: junk, basic, fine, masterwork, rare, exotic, ascended, legendary.
- level
- Optional. Required level to use the item.
- mastery
- Optional. Required mastery to use the item.
- race
- Optional. Required race to use item. Currently only used for cultural armor and cultural weapons.
- unique
- Optional. Whether the item is unique. "y" for yes, omit parameter if no.
- salvage
- Optional. The type of salvage that is applicable, per Salvage types. Options: standard, ascended, research, compost, none. Where multiple salvage types are possible (e.g. food is both compost and research), separate options with a comma.
- bound
- Optional. Under what conditions the item becomes bound. Do not specify if item is not bound. Options:
acquire→ "Soulbound on acquire"use→ "Soulbound on use"account→ "Account bound"account soul→ "Account bound, Soulbound on use"account use→ "Account bound on use"none→ "None" (can't be salvaged)(blank)→ No binding text
- tradable
- Optional. Set by item infobox, directly influences and overrides the display of the cost parameters.
- 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. {{coin|500}}, 500 {{item icon|zhaitaffy}}, or 500 {{token|Guild Commendation}} - value
- Optional. The number of
coins a vendor will pay for this item; use only the number, since the template assumes copper coins. - id
- Optional. The item id. Does allow multiple ids to be set by using a comma-separated list.
- other ids
- Optional. Other item ids that are not displayed as chat links.
- skin id
- Optional. If given, an additional skin chat link will be displayed above the item chat link.
- infobox
- Optional. If set to "Dye", displays additional external link.
- further parameters
- Optional. If provided, additional text can be displayed below the "binding" and above the "IDs" sections of this template. For example, displaying dye palette icons between the binding and IDs in the item infobox.
Example[edit]
{{Inventory infobox
| slots = 8
| property = invisible
| description = 8 Slots, Items in this box will never appear in a sell-to-vendor list and will not move when inventory is sorted.
| rarity = Fine
| bound = account
| id = 54604
}}
8 Slot Invisible Bag
“8 Slots, Items in this box will never appear in a sell-to-vendor list and will not move when inventory is sorted.
— In-game description