Шаблон:Weapon infobox
Материал из Guild Wars 2 wiki
Description[править]
{{Weapon infobox | name = | description = | variables = | uslot = | type = | icon = | minimum power = | maximum power = | defense = | level = | bound = | cost = | race = | value = | rarity = | set = | id = | gallery1 = | gallery1-text = ... | gallery5 = | gallery5-text = }}
Parameters[править]
All parameters are optional unless specified.
- name
- Defaults to the name of the base article (
{{BASEPAGENAME}}
). - icon
- Filename of the inventory icon. Defaults to
{{BASEPAGENAME}}
. - type
- Required The weapon type. Places the weapon into the appropriate category, if correctly used.
- level
- Required The weapon's required level. Enter varies if using this infobox on an overview page.
- stat level
- The level used to calculate the item's stats, if different from required level.
- rarity
- The rarity of the weapon: basic, fine, masterwork, rare, exotic, or legendary.
- minimum power
- maximum power
- The min and max weapon strength. Automatically populated by {{item stat lookup}} based on the type, level, and rarity.
- defense
- Shields only Defense value. Also automatically populated by {{item stat lookup}}.
- skin
- Optional. Name of the skin that the item uses according to the wardrobe/API. (See Chat link format/0x0B codes/Weapon skins.)
- description
- In-game description, normally found only on karma reward items.
- prefix
- The nomenclature prefix that describes the attribute bonuses on the weapon.
- variables
- If the bonuses do not fit one of the standard prefixes, enter the bonuses here. Use {{item stat|<attribute>|<value>}} for each bonus.
- uslot
- Item present in the weapon's upgrade slot, default is an unused slot. Enter no if the item has no upgrade slot.
- set
- Name of the weapon set that the weapon belongs to.
- race
- Cultural weapons only Required race to use the weapon.
- bound
- Whether the item is Soulbound: no (default), use, acquire, account, account soul (account bound on acquire, soul bound on use), account use (account bound on use)
- cost
- The cost to purchase this item from a vendor. Use {{coin|<amount>}}, {{karma|<amount>}}, or {{token|<type>|<amount>}} as necessary.
- value
- The coin amount received for selling this item to a vendor. Enter the number only.
- id
- The decoded internal game id of the item. This will then be rendered as a chat link. Do not mistakenly add the chat link as the parameter.
- 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).
- historical
- Optional. (legacy parameter). Duplicates function of setting
status = historical
. y displays the {{historical content}} notice.
Arraymap parameters
- gallery
- Optional. Enter images using
+<Image>, <Caption>
with a newline between the caption and the next image. Defaults to <page name>.jpg
Legacy parameters
- name
- Required. The canonical name of item, used for Property:Has caption.
- gallery1 ... gallery5
- Optional. Gallery images of the weapon. Defaults to <page name>.jpg
- gallery1-text ... gallery5-text
- Optional. Gallery image descriptions.
Examples[править]
{{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 }}
Accelerated Cleaver
- Type
- Axe
- Strength
- 256 – 313
- Редкость
- Улучшенный
- Треб. уровень
- 32
- Привязка
- Привязка к персонажу при получении
- Стоимость
- 224
Gallery |
“"Includes sliding chopping blade for extra devastation."
- +25 Урон от состояний
- +18 Живучесть
- Unused Upgrade Slot
— Внутриигровое описание