Template:Weapon infobox

From Guild Wars 2 Wiki
Jump to navigationJump to search

Usage[edit]

{{Weapon infobox
| name = 
| icon = 
| description = 
| variables = 
| uslot = 
| type = 
| minimum power = 
| maximum power = 
| defense = 
| level = 
| unique = 
| bound = 
| cost = 
| value = 
| rarity = 
| skin = 
| set = 
| id = 
| gallery1 = 
| gallery1-text = 
...
| gallery5 = 
| gallery5-text = 
| status = 
}}

Parameters[edit]

name
Optional. Defaults to the name of the base article ({{BASEPAGENAME}}).
icon
Optional. Filename of the inventory icon. Defaults to {{BASEPAGENAME}}.
type
Required. The type of weapon. Places the weapon into the appropriate category, if correctly used. See Property:Has weapon type for a list of valid options.
level
Required. The weapon's required level. Enter varies if using this infobox on an overview page.
stat level
Optional. The level used to calculate the item's stats, if different from required level.
minimum power
maximum power
The min and max weapon strength. Automatically populated by {{item stat lookup}} based on the type, level, and rarity.
defense
Optional. Shields only Defense value. Also automatically populated by {{item stat lookup}}.
skin
Optional. Skin page.
description
Optional. In-game description, normally found only on karma reward items.
hint
Optional. In-game hint on how to obtain the item.
variables
Optional. If the bonuses do not fit one of the standard prefixes, enter the bonuses here. Use {{item stat|<attribute>|<value>}} for each bonus.
uslot
Optional. Item present in the weapon's upgrade slot, default is an unused slot. Enter no if the item has no upgrade slot. Use the seperator "," for two-handed weapons with two weapon upgrades.
set
Optional. Name of the weapon set page that the weapon belongs to.
categorize
Optional. n to skip auto-categorization. Rarely used but useful for corner-case pages. 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#Salvage types. Options: standard, ascended, research, compost. 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"
  • (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 Copper coin 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.

Parameters handled by {{Item infobox gallery}} template[edit]

gallery1 ... gallery5
Optional. Gallery of images. Defaults to {{PAGENAME}}.jpg.
gallery1-text ... gallery5-text
Optional. Image descriptions.

Examples[edit]

{{Weapon infobox
| type = axe
| level = 32
| rarity = Fine
| description = "Includes sliding chopping blade for extra devastation."
| prefix = lingering
| cost = 224 {{karma}}
| bound = acquire
| gallery1 = Steam Axe.jpg
}}

Steam Axe.png

Accelerated Cleaver

Type
Axe
Strength
256 – 313
Prefix
Lingering
Rarity
Fine
Req. level
32
Binding
Soulbound on Acquire
Cost
224 Karma.png
Gallery
Steam Axe.jpg

Click to enlarge.

"Includes sliding chopping blade for extra devastation."

+25 Condition Damage.png Condition Damage
+18 Vitality.png Vitality
Upgrade Slot.png Unused Upgrade Slot

— In-game description