Template:Loot variant table row

From Guild Wars 2 Wiki
Jump to navigationJump to search

Usage[edit]

This template, in conjuction with {{Loot variant table header}} and {{Loot variant table subheader}}, produces a table designed to document all the variants of items dropped as loot that share the same name and skin. It relies on a partially filled out {{Armor infobox}}, {{Trinket infobox}}, or {{Weapon infobox}} to define the general properties of all variants.

This table creates a subobject 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.

Parameters[edit]

Header[edit]

All parameters are optional. Parameters set here are applied to all variants in the table or used to set the formatting of the overall table.

{{loot variant table header | expanded = n | nosell = n | bound = n | boost = | type = <armor piece or weapon type> }}
expanded
Set to y to make the table non-collapsible; otherwise, the table will be collapsed initially. If the table has subheaders, they will override this setting.
nosell
Set to y if all variants cannot be sold to vendors. This will hide the "Value" column.
bound
Set to y if all variants are bound on acquire. This will hide the external links to trading post tracking sites.
boost
Specifies the difference between the required level and the stat level of leveling equipment.
type
Armor piece or weapon type.

Subheader[edit]

{{loot variant table subheader | <rarity> }}
1 (unnamed parameter)
Required. Specified the rarity shared by all variants in the following section of the table.

Row[edit]

These parameters define the specific properties of each variant.

{{loot variant table row | name =  | level =  | statlevel =  | prefix =  | uslot =  | value =  | id = }}
name
Required. The specific name of this variant.
level
Required. The required level of this variant.
statlevel
The level used for computing the variant's attribute bonuses, if it is different from the required level.
prefix
Required. The attribute prefix of this variant.
uslot
The upgrade component attached to this variant.
value
The vendor value of this variant.
id
The item id of this variant.

Example[edit]

{{loot variant table header}}
{{loot variant table subheader|fine}}
{{loot variant table row | name = Mighty Iron Axe | level = 6 | prefix = mighty | value = 11 | id = 25816 }}
{{loot variant table row | name = Precise Iron Axe | level = 7 | prefix = precise | value = 12 | id = 25833 }}
{{loot variant table row | name = Vital Iron Axe | level = 8 | prefix = vital | value = 13 | id = 25850 }}
{{loot variant table subheader|masterwork}}
{{loot variant table row | name = Mighty Iron Axe of Force | level = 14 | prefix = mighty | uslot = Minor Sigil of Force | value = 38 | id = 25894 }}
{{loot variant table row | name = Mighty Iron Axe of Debility | level = 20 | prefix = mighty | uslot = Minor Sigil of Debility | value = 48 | id = 25893 }}
{{loot variant table row | name = Strong Iron Axe of Ice | level = 26 | prefix = strong | uslot = Minor Sigil of Ice | value = 56 | id = 25892 }}
|}
Fine Axe.png

Iron Axe

Gallery
Iron Axe.jpg

Click to enlarge.