Шаблон:Vendor query table

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск

Description[править]

Search and list vendor items based on search criteria. Parameters map to query conditions for creating the semantic query. Format using {{Vendor query table header}} and {{Vendor query table result format}}.

Usage[править]

{{vendor query table
| currency =
| location =
}}

Parameters[править]

showCostText
Default false. Shows the text for the cost of each item in addition to the icon.
showType
Default false. Shows the item type. Note that is set to true on default for the format vendor outline.
showRarity
Default false. Shows the item rarity. Note that is set to true on default when the parameter item variant is used or for the format vendor outline.
showLevel
Default true. Shows the item level. Note that is set to true on default when the parameter item variant is used or for the format vendor outline.
expandable
Default false. Collapses the table.
outline
Optional. Can be set to "Vendor" to move the vendor out of the table and display it as h3 heading.
heading level
Optional. Outline heading level, defaults to "h3".
Parameter Maps to property Description
vendor Property:Has vendor Set to the vendor name.
location Property:Located in Set to the vendor location.
section Property:Has vendor section Set to the vendor section.
service Property:Has vendor
Redirect Arrow.pngProperty:Has service
Set to the vendor service.
status Property:Has vendor
Redirect Arrow.pngProperty:Has availability
Set to the vendor status: "Historical", "Current" or "Future".
item Property:Sells item Set to the sold item. Cannot be used in conjunction with the parameter item variant.
item variant Property:Sells item
Redirect Arrow.png-Property:Has subobject
Set to the sold item, searches for variants of this items stored in subobjects only. Cannot be used in conjunction with the parameter item.
min cost Property:Has item cost
Redirect Arrow.pngProperty:Has item value
Set to the minimum cost.
max cost Property:Has item cost
Redirect Arrow.pngProperty:Has item value
Set to the maximum cost.
currency Property:Has item cost
Redirect Arrow.pngProperty:Has item currency
Set to the currency.
item type Property:Sells item
Redirect Arrow.pngProperty:Has item type
Set to the item type.
armor type Property:Sells item
Redirect Arrow.pngProperty:Has armor type
Set to the armor type: Headgear, Aquatic headgear, Shoulders, Chest, Gloves, Leggings or Boots.
armor class Property:Sells item
Redirect Arrow.pngProperty:Has armor weight class
Set to the armor type: Light, Medium, Heavy.
trinket type Property:Sells item
Redirect Arrow.pngProperty:Has trinket type
Set to the armor type: Accessory, Amulet, Ring.
weapon type Property:Sells item
Redirect Arrow.pngProperty:Has weapon type
Set to the weapon type: Axe, Dagger, Mace, Pistol, Scepter, Sword, Focus, Warhorn, Torch, Shield, Greatsword, Hammer, Longbow, Rifle, Short bow, Staff, Spear, Harpoon gun or Trident.
decoration type Property:Sells item
Redirect Arrow.pngProperty:Has decoration type
Set to the decoration type: Architecture, Furniture, Lighting, Monuments, Other, Plants, Statuary, Trophies, Festivals, Obstacles or Turrets.
rarity Property:Sells item
Redirect Arrow.pngProperty:Has item rarity
Set to the item rarity.
min level Property:Sells item
Redirect Arrow.pngProperty:Has level requirement
Set to the minimum level requirement.
max level Property:Sells item
Redirect Arrow.pngProperty:Has level requirement
Set to the maximum level requirement.
skin Property:Sells item
Redirect Arrow.pngProperty:Has skin
Set to the according item skin.
collection Property:Sells item
Redirect Arrow.pngProperty:Is part of collection
Set to the according item collection.
include historical vendors Property:Has vendor
Redirect Arrow.pngProperty:Is historical
Set to "n" to exclude historical vendors, "only" to show only historical vendors and "y" (default) to show all vendors.
include historical items Property:Is historical Set to "n" to exclude historically sold items, "only" to show only historically sold items and "y" (default) to show all sold items.
other Custom query.

Examples[править]

{{vendor query table
| currency    = Karma
| rarity      = Exotic
| armor type  = Chest
| location    = Cursed Shore
}}

No vendors found based on constraints.

Outline format[править]

{{vendor query table
| currency    = Karma
| rarity      = Exotic
| armor type  = Chest
| location    = Cursed Shore
| outline     = Vendor
| heading level = h4
}}

No vendors found based on constraints.

See also[править]