Difference between revisions of "Template:Vendor table"
Jump to navigation
Jump to search
(Update examples with something that yields results) |
Freedom4556 (talk | contribs) (Testing using the same table format as Template:Vendor list) |
||
Line 77: | Line 77: | ||
| sortorder = descending | | sortorder = descending | ||
| format = template | | format = template | ||
| template = Vendor | |template = Vendor list result format | ||
| | |intro={{vendor list header|showSection={{{showSection|false}}}}} | ||
| outrotemplate = table footer | | outrotemplate = table footer | ||
| default = No vendors found based on constraints. | | default = No vendors found based on constraints. |
Revision as of 19:38, 13 February 2022
Usage
Search and list vendor items based on search criteria. Parameters map to query conditions for creating the semantic query. Format using {{vendor item table header}} and {{Vendor item table result format}}.
{{vendor table | vendor = | section = | item = | min-cost = | max-cost = | currency = | item-type = | class = | class-type = | job = | role = | rarity = | min-level = | max-level = | item-level = | location = | coordinates = }}
Parameters
Parameter | Maps to property |
---|---|
vendor | Property:Has vendor |
section | Property:Has vendor section |
item | Property:Sells item |
min-cost | Property:Has item cost → Property:Has item value |
max-cost | Property:Has item cost → Property:Has item value |
currency | Property:Has item cost → Property:Has item currency |
item-type | Property:Has item type |
class | Property:Is for class |
class-type | Property:Is for class type |
job | Property:Is for job |
role | Property:Is for role |
rarity | Property:Has item rarity |
min-level | Property:Has level requirement |
max-level | Property:Has level requirement |
item-level | Property:Has item level |
location | Property:Has vendor location |
coordinates | Property:Has vendor coordinates |
- showCostText
- Default false. Shows the text for the cost of each item in addition to the icon.
Examples
{{vendor table | currency = Tarnished Alexandrian Bolt }}
{{vendor table | currency = Anemos Crystal | showCostText = true }}