Template:Item variant table row

From Guild Wars 2 Wiki
Jump to navigationJump to search

Description[edit]

This template is for items which are not weapons or armor, e.g. containers. It is used in conjuction with {{Item variant table header}} and produces a table designed to document the differences between a family of related items. Most often, this means a series of items with the same name, but different level requirements, rarities, or other properties. Multiple tables can be used on the same page to further categorize the items.

Any properties that all variants have in common should be defined in the infobox instead of in this template, and the columns related to those properties should be hidden. Columns are hidden by specifying <column>=false in the header. Additionally, this table creates subobjects for each item in the table, allowing for searching via chat links and SMW queries. Properties not defined in this template are copied from the infobox.

Usage[edit]

{{item variant table row
| level = 
| rarity = 
| vendor = 
| cost = 
| description = 
| id = 
}}

Parameters[edit]

Header[edit]

These parameters, when set to false, hide the indicated column.

name
Optional. Use if the canonical name of the item is slightly different, such as with a rune or sigil suffix on an item from a karma merchant.
icon
Most items will share a common icon, but some items, such as loot items, have a variety of icons.
level
Level required to use each variant.
rarity
Rarity of each variant.
vendor
Who sells each variant. Separate multiple vendors selling the same item with a semi-colon.
location
The location of the vendor.
cost
What each variant can be bought for.
value
What each variant can be sold for.
description
The description for each variant. Most commonly used for karma items with flavor text.

Row[edit]

These parameters define the properties of each variant. Omit any parameters used by columns which are hidden.

name
Optional. The name of this variant.
icon
Don't include the File: prefix, but do include the file type, most commonly .png.
level
The level required to equip this variant.
rarity
The rarity of this variant.
vendor
The vendor which sells this variant.
location
The location of the vendor.
cost
The price of this variant, including the type of currency used.
value
What this variant can be sold for.
description
The description for this variant.
id
The item id of this variant.
historical
y/n. Whether the item variant is historical (deprecated in favor of "status" below).
status
Parameter values per Property:Has availability.

Example[edit]

{{item variant table header|level=false|rarity=false|value=false|vendor=false|location=false|cost=false}}
{{item variant table row
| name = Guild Magic Find
| description = {{effect|Guild Item Research (effect)}} (1d): Magic Find Increased by 3%.
| icon = Weak Potion of Elemental Slaying.png
| id = 75973
}}
{{item variant table row
| name = Guild Magic Find
| description = {{effect|Guild Item Research (effect)}} (1d): Magic Find Increased by 4%.
| icon = Minor Potion of Elemental Slaying.png
| id = 73259
}}
|}
Name Icon Description
Guild Magic Find
Chat link: API
Weak Potion of Elemental Slaying.png Nourishment (Birthday Blaster).png Guild Item Research (1d): Magic Find Increased by 3%.
Guild Magic Find
Chat link: API
Minor Potion of Elemental Slaying.png Nourishment (Birthday Blaster).png Guild Item Research (1d): Magic Find Increased by 4%.

See also[edit]