Шаблон:Item variant table row
Содержание
Usage[править]
This template, in conjuction with {{Item variant table header}} 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. It relies on a partially filled out {{Armor 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.
{{item variant table row | level = | rarity = | prefix = | vendor = | cost = | description = | id = <id> }}
Parameters[править]
Header[править]
These parameters, when set to false, hide the indicated column.
- name
- Optional. Use 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.
- icon
- Most items will share a common icon, but some items, such as loot items, 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.
- prefix
- The prefix of each variant. The prefix is often not part of the item'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 item in the upgrade slot, if applicable.
- vendor
- Who sells each variant.
- location
- The location of the vendor.
- cost
- What each variant can be bought for.
- value
- What each variant can be sold for.
- description
- The description for each variant. Most commonly used for karma items with flavor text.
- link
- Chat link for each variant.
Row[править]
These parameters define the properties of each variant. Omit any parameters used by columns which are hidden.
- 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 item'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.
- prefix
- The prefix of this variant. The prefix is often not part of the item'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.
- 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 item id of this variant.
Example[править]
{{item variant table header|icon=false|value=false}} {{item variant table row | level = 9 | rarity = Fine | prefix = Mighty | vendor = Hunter Block | cost = 147 karma | description = "Hunting is harder than it looks."<br/>— Hunter Block | id = 30361 }} {{item variant table row | level = 20 | rarity = Fine | prefix = vital | vendor = Meinolf Njordson | cost = 252 karma | description = "Track and kill."<br/>— Meinolf Njorson | id = 29375 }} {{item variant table row | 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 }} |}
Level | Rarity | Prefix | Stats | Description | Vendor | Location | Cost | Link |
---|---|---|---|---|---|---|---|---|
9 | Улучшенный | Mighty | 162 – 179
|
"Hunting is harder than it looks." — Hunter Block |
Hunter Block | – | 147 | |
20 | Улучшенный | Vital | 206 – 228
|
"Track and kill." — Meinolf Njorson |
Meinolf Njordson | – | 252 | |
20 | Искусный | Vital | 224 – 248
|
"Track and kill." — Meinolf Njorson |
Meinolf Njordson | – | 504 |