Difference between revisions of "Template:Vendor list"
Jump to navigation
Jump to search
m |
m |
||
Line 8: | Line 8: | ||
|valuesep=, | |valuesep=, | ||
|template = Vendor list result format | |template = Vendor list result format | ||
|userparam = {{{loc|}}} | |||
|sortorder = descending | |sortorder = descending | ||
|sort=Has vendor, Has vendor section, Has item quantity | |sort=Has vendor, Has vendor section, Has item quantity | ||
Line 32: | Line 33: | ||
;showCostText | ;showCostText | ||
: Default false. Shows the text for the cost of each item in addition to the icon. | : Default false. Shows the text for the cost of each item in addition to the icon. | ||
;loc | |||
: Optional. For NPCs with variable locations, this index will query the corresponding subobject. | |||
== Examples == | == Examples == |
Revision as of 01:21, 23 August 2018
Usage
Generates a list of vendors selling the item. Format using {{vendor list header}} and {{vendor list result format}}.
{{vendor list}} {{vendor list|<Item>|showSection=}}
Parameters
- Unnamed parameter 1
- Query term. Defaults to
{{PAGENAME}}
. - showSection
- Default false. Show the section of the vendor the item is in. Redundant for most tables.
- showCostText
- Default false. Shows the text for the cost of each item in addition to the icon.
- loc
- Optional. For NPCs with variable locations, this index will query the corresponding subobject.
Examples
{{vendor list|Raisins}}
No results for vendor list. If the item is sold at a vendor, it may not have been added to the vendor yet.
{{vendor list|Homura|showCostText=true}}
No results for vendor list. If the item is sold at a vendor, it may not have been added to the vendor yet.