User:TxM/sandbox1
Description[edit]
This template is for items which are not weapons or armor, e.g. containers. It is used in conjuction with {{User:TxM/sandbox2}} and 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.
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]
{{User:TxM/sandbox1 | level = | rarity = | vendor = | cost = | collection = | 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 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.
- vendor
- Who sells each variant. Separate multiple vendors selling the same item 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.
- description
- The description for each variant. Most commonly used for karma items 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.
- rarity
- The rarity of 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.
- historical
- y/n. Whether the item variant is historical (deprecated in favor of "status" below).
- status
- Parameter values per Property:Has availability.
Example[edit]
{{User:TxM/sandbox2|level=false|rarity=false|value=false|vendor=false|location=false|cost=false|description=false}} {{User:TxM/sandbox1 | name = Deldrimor Rivets | collection = Skyscale Saddle | icon = Deldrimor Rivets.png | id = 90572 }} {{User:TxM/sandbox1 | name = Deldrimor Rivets | collection = Skyscale Saddle Materials | icon = Deldrimor Rivets.png | id = 100069 }} |}
Name | Icon | Collection |
---|---|---|
Deldrimor Rivets Chat link: — API |
Skyscale Saddle | |
Deldrimor Rivets Chat link: — API |
Skyscale Saddle Materials |