Template:Equipment variant table row

From Guild Wars 2 Wiki
Jump to navigationJump to search

Description[edit]

This template, in conjuction with {{Equipment variant table header}} produces a table designed to document the differences between a family of related piece of armor or weapon. Most often, this means a series of weapons or armor 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 equpiment. It relies on a partially filled out {{Armor infobox}}, {{Back item infobox}} or {{Weapon infobox}} with all fields to be defined by this template left blank in the infobox.

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]

{{equipment variant table row
| level = 
| rarity = 
| prefix = 
| 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 piece of equipment is slightly different, such as with a rune or sigil suffix on the equipment from a karma merchant.
icon
Most pieces of equipment will share a common icon, but some pieces of equipment, such as loot types, have a variety of icons.
level
Level required to use each variant.
rarity
Rarity of each variant.
class
Optional. The armor weight of the component. This column defaults to "false" to be hidden by default.
collection
Optional. The collection that the item is part of. This column defaults to "false" to be hidden by default.
prefix
The prefix of each variant. The prefix is often not part of the piece of equipment's name, so if it is not, the prefix can be determined by looking at which attributes it provides and matching it to an existing prefix.
stats
Uses {{item stat lookup}} to generate stats and attributes based on the variant's type, level requirement, rarity, and prefix. Also displays the piece of equipment in the upgrade slot, if applicable.
vendor
Who sells each variant. Separate multiple vendors selling the same piece of equipment 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.
trading post
Optional. Trading post price. This column defaults to "false" to be hidden by default.
description
The description for each variant. Most commonly used for karma pieces of equipment 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.
statlevel
Optional. The level used to compute the piece of equipment's stats, if different from the required level.
rarity
The rarity of this variant.
class
Optional. The armor weight of the component. Only set if different between pieces.
collection
Optional. The collection that the item is part of.
prefix
The prefix of this variant. The prefix is often not part of the piece of equipment's name, so if it is not, the prefix can be determined by looking at which attributes it provides and matching it to an existing prefix.
prefix selection
if "prefix" is set to "selectable", this parameter should be set to store a comma delimited list of prefixes.
uslot
The upgrade component that this variant comes slotted with. Omit field if not used by 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 id of this piece of equipment's variant.
status
Parameter values per Property:Has availability.

Example[edit]

{{Weapon infobox
| name = Hunter's Short Bow
| icon = Soft Wood Short Bow.png
| type = short bow
| bound = acquire
| gallery1 = Soft Wood Short Bow.jpg
}}

==== Variants ==== <!-- h2 header in mainspace -->
{{Equipment variant table header|icon=false|value=false}}
{{equipment variant table row
 | name = Hunter's Short Bow
 | level = 9
 | rarity = Fine
 | prefix = Mighty
 | vendor = Hunter Block
 | cost = 147 karma
 | description = "Hunting is harder than it looks."<br>— Hunter Block
 | id = 30361
}}
{{equipment variant table row
 | name = Hunter's Short Bow
 | level = 20
 | rarity = Fine
 | prefix = vital
 | vendor = Meinolf Njordson
 | cost = 252 karma
 | description = "Track and kill."<br>— Meinolf Njorson
 | id = 29375
}}
{{equipment variant table row
 | name = Hunter's Short Bow
 | level = 20
 | rarity = Masterwork
 | prefix = vital
 | uslot = Minor Sigil of Force
 | vendor = Meinolf Njordson
 | cost = 504 karma
 | description = "Track and kill."<br>— Meinolf Njorson
 | id = 29365
}}
{{table footer}}
Soft Wood Short Bow.png

Hunter's Short Bow

Type
Short bow
Binding
Soulbound on Acquire
Gallery
Soft Wood Short Bow.jpg

Click to enlarge.

Variants[edit]

Name Level Rarity Prefix Stats Description Vendor Location Cost
Hunter's Short Bow
Chat link: API
9 Fine Mighty Strength: 162 – 179
+15 Power.png Power
"Hunting is harder than it looks."
— Hunter Block
Hunter Block Queen's Forest 147 Karma
Hunter's Short Bow
Chat link: API
20 Fine Vital Strength: 206 – 228
+29 Vitality.png Vitality
"Track and kill."
— Meinolf Njorson
Meinolf Njordson The Loneholme Range 252 Karma
Hunter's Short Bow
Chat link: API
20 Masterwork Vital Strength: 224 – 248
+33 Vitality.png Vitality
Minor Sigil of Force.pngMinor Sigil of Force
"Track and kill."
— Meinolf Njorson
Meinolf Njordson The Loneholme Range 504 Karma

See also[edit]