Difference between revisions of "Template:Vendor list"
Jump to navigation
Jump to search
Freedom4556 (talk | contribs) |
JohnnySolas (talk | contribs) (test) |
||
Line 1: | Line 1: | ||
<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 --> | <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 --> | ||
{{#ifeq: {{{include historical vendors|y}}} | n | [[Has vendor.Is historical::N]] }} | |||
|?Has vendor | |?Has vendor | ||
|?Has vendor section | |?Has vendor section | ||
Line 12: | Line 13: | ||
|?Has item cost 3 | |?Has item cost 3 | ||
|?Has item cost 4 | |?Has item cost 4 | ||
|?Is historical | |||
|?Has vendor.Is historical | |||
|link = none | |link = none | ||
|format = template | |format = template |
Revision as of 18:14, 19 April 2022
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 (19.6, 20.7) | General | 5 | — |
Gerulf | Limsa Lominsa Lower Decks (8.2, 11.9) | General | 5 | — |
Katherine | Ul'dah - Steps of Thal (13.9, 9.9) | General | 5 | — |
Sasamero | Old Gridania (14.4, 8.5) | General | 5 | — |
{{vendor list|White Lanner Whistle|showCostText=true}}
Vendor | Location / Coordinates | Section | Cost | Unlock req. |
---|---|---|---|---|
Bertana | Idyllshire (5.9, 5.2) | Uncanny Knickknacks | 99 Expanse Totem | — |
0 Itinerant Moogle | Limsa Lominsa Lower Decks (9.4, 11.6) | General | 50 Irregular Tomestone of Philosophy | — |
0 Itinerant Moogle | Limsa Lominsa Lower Decks (9.4, 11.6) | General | 30 Irregular Tomestone of Mendacity | — |
0 Itinerant Moogle | Limsa Lominsa Lower Decks (9.4, 11.6) | General | 30 Irregular Tomestone of Scripture | — |
Rowena's Representative | Foundation (10.5, 11.8) | Combat Supplies → Mounts/Miscellany | 99 Expanse Totem | — |
{{vendor list|Star Anise}}
Vendor | Location / Coordinates | Section | Cost | Unlock req. |
---|---|---|---|---|
Flame Quartermaster | Ul'dah - Steps of Nald (8.3, 9) | Flame Lieutenant / Captain | 30 | — |
Ixali Vendor | North Shroud (24.9, 22.7) | Ixali Oaknot Exchange | 1 | — |
Serpent Quartermaster | New Gridania (9.8, 11) | Serpent Lieutenant / Captain | 30 | — |
Storm Quartermaster | Limsa Lominsa Upper Decks (13.2, 12.8) | Storm Lieutenant / Captain | 30 | — |
{{vendor list|Bone Charcoal}}
Vendor | Location / Coordinates | Section | Cost | Unlock req. |
---|---|---|---|---|
Enna | Rhalgr's Reach (13.9, 11.6) | Allagan Tomestones of Poetics (Other) | 10 | — |
Rowena's Representative | Kugane (12.2, 10.8) | Combat Supplies → Materials | 10 | — |