Difference between revisions of "Template:Vendor list"
Jump to navigation
Jump to search
m (Protected "Template:Vendor list" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))) |
m (upgrading) |
||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{{showCostText|false}}} | true | {{#vardefine:showCostText|+}} }}{{#ask:[[:+]][[Sells item::{{#titleparts:{{{1|{{PAGENAME}}}}}}}]]<!-- PAGENAME uses html entity for apostrophes --> | <includeonly>{{#ifeq:{{{showCostText|false}}} | true | {{#vardefine:showCostText|+}} | {{#vardefine:showCostText|}} }}{{#ask:[[:+]][[Sells item 1::{{#titleparts:{{{1|{{PAGENAME}}}}}}};?;?;?]] OR [[Sells item 2::{{#titleparts:{{{1|{{PAGENAME}}}}}}};?;?;?]] OR [[Sells item 3::{{#titleparts:{{{1|{{PAGENAME}}}}}}};?;?;?]] OR [[Sells item 4::{{#titleparts:{{{1|{{PAGENAME}}}}}}};?;?;?]]<!-- PAGENAME uses html entity for apostrophes --> | ||
|?Has vendor | |?Has vendor | ||
|?Has vendor section | |?Has vendor section | ||
|?Has item cost# | |?Has item cost# | ||
|?Has vendor location | |?Has vendor location | ||
|?Sells item 1 | |||
|?Sells item 2 | |||
|?Sells item 3 | |||
|?Sells item 4 | |||
|?Has item cost 1 | |||
|?Has item cost 2 | |||
|?Has item cost 3 | |||
|?Has item cost 4 | |||
|link = none | |link = none | ||
|format = template | |format = template | ||
|valuesep= | |valuesep=^ | ||
|template = Vendor list result format | |template = Vendor list result format | ||
|sortorder = descending | |sortorder = descending | ||
|sort=Has vendor, Has vendor section | |sort=Has vendor, Has vendor section | ||
|intro={{vendor list header|showSection={{{showSection|false}}}}} | |intro={{vendor list header|showSection={{{showSection|false}}}}} | ||
|outro={{!}}} | |outro={{!}}} | ||
|limit = {{{limit|100}}} | |limit = {{{limit|100}}} | ||
|userparam={{#titleparts:{{{1|{{PAGENAME}}}}}}} | |||
|searchlabel=List of vendors selling this item. | |searchlabel=List of vendors selling this item. | ||
|default = No results for vendor list. If the item is sold at a vendor, it may not have been added to the vendor yet. | |default = No results for vendor list. If the item is sold at a vendor, it may not have been added to the vendor yet. | ||
Line 39: | Line 47: | ||
<pre>{{vendor list|Raisins}}</pre> | <pre>{{vendor list|Raisins}}</pre> | ||
{{vendor list|Raisins}} | {{vendor list|Raisins}} | ||
<pre>{{vendor list|Homura|showCostText=true}}</pre> | <pre>{{vendor list|Homura|showCostText=true}}</pre> | ||
{{vendor list|Homura|showCostText=true}} | {{vendor list|Homura|showCostText=true}} | ||
<pre>{{vendor list| | |||
{{vendor list| | <pre>{{vendor list|Fire Cluster}}</pre> | ||
{{vendor list|Fire Cluster}} | |||
<pre>{{vendor list|Frumenty}}</pre> | |||
{{vendor list|Frumenty}} | |||
[[Category:Vendor formatting templates]]</noinclude> | [[Category:Vendor formatting templates]]</noinclude> |
Revision as of 13:14, 7 November 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}}
Vendor | Location / Coordinates | Section | Cost | Unlock req. |
---|---|---|---|---|
Alehouse Wench | Central Thanalan (Central Thanalan, Central Thanalan) | General | 5 | — |
Gerulf | Limsa Lominsa Lower Decks (Limsa Lominsa Lower Decks, Limsa Lominsa Lower Decks) | General | 5 | — |
Katherine | Ul'dah - Steps of Thal (Ul'dah - Steps of Thal, Ul'dah - Steps of Thal) | General | 5 | — |
Sasamero | Old Gridania (Old Gridania, Old Gridania) | General | 5 | — |
{{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.
{{vendor list|Fire Cluster}}
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|Frumenty}}
Vendor | Location / Coordinates | Section | Cost | Unlock req. |
---|---|---|---|---|
Alehouse Wench | Central Thanalan (Central Thanalan, Central Thanalan) | General | 7 | — |
Gerulf | Limsa Lominsa Lower Decks (Limsa Lominsa Lower Decks, Limsa Lominsa Lower Decks) | General | 7 | — |
Katherine | Ul'dah - Steps of Thal (Ul'dah - Steps of Thal, Ul'dah - Steps of Thal) | General | 7 | — |
Sasamero | Old Gridania (Old Gridania, Old Gridania) | General | 7 | — |