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
icon
level
rarity
vendor
location
cost
value
description
notes

Alternatively, the following parameter can be used to specify which of the columns to display.

only fields
specify which of the above columns to display, comma separated

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 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.
id
The item id of this variant.
icon
Most items will share a common icon, but some items, such as loot items, have a variety of icons. 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. Separate multiple vendors selling the same item with a semi-colon.
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. Most commonly used for karma items with flavor text.
notes
Wiki notes
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 Notes
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]