Difference between revisions of "Template:Vendor list"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
(Undo revision 430614 by JohnnySolas (talk))
Tag: Undo
m
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]] }}
{{#ifeq: {{{includeHistoricalVendors|y}}} | n | [[Has vendor.Is historical::N]] }}
|?Has vendor
|?Has vendor
|?Has vendor section
|?Has vendor section
Line 57: Line 57:
{{vendor list|Star Anise}}
{{vendor list|Star Anise}}


<pre>{{vendor list|Bone Charcoal}}</pre>
<pre>{{vendor list|Brass Sky Pirate Spoil|includeHistoricalVendors=n}}</pre>
{{vendor list|Bone Charcoal}}
{{vendor list|Brass Sky Pirate Spoil|includehistoricalvendors=n}}


[[Category:Vendor formatting templates]]</noinclude>
[[Category:Vendor formatting templates]]</noinclude>

Revision as of 16:56, 16 October 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 Gil 5
Food Vendor Starlight Stalls (6.3, 5.9) General Gil 5
Gerulf Limsa Lominsa Lower Decks (8.2, 11.9) General Gil 5
Katherine Ul'dah - Steps of Thal (13.9, 9.9) General Gil 5
Sasamero Old Gridania (14.4, 8.5) General Gil 5
{{vendor list|White Lanner Whistle|showCostText=true}}
Vendor Location / Coordinates Section Cost Unlock req.
Bertana Idyllshire (5.9, 5.2) Uncanny Knickknacks Expanse totem icon1.png 99 Expanse Totem
0Vendor currently unavailable Itinerant Moogle Limsa Lominsa Lower Decks (9.4, 11.6) General Irregular Tomestone of Mendacity.png 30 Irregular Tomestone of Mendacity
0Vendor currently unavailable Itinerant Moogle Limsa Lominsa Lower Decks (9.4, 11.6) General Irregular Tomestone of Scripture.png 30 Irregular Tomestone of Scripture
0Vendor currently unavailable Itinerant Moogle Limsa Lominsa Lower Decks (9.4, 11.6) General Irregular Tomestone of Philosophy.png 50 Irregular Tomestone of Philosophy
Rowena's Representative Foundation (10.5, 11.8) Combat Supplies → Mounts/Miscellany Expanse totem icon1.png 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 Flame Seals.png 30
Ixali Vendor North Shroud (24.9, 22.7) Ixali Oaknot Exchange Ixali Oaknot 1
Serpent Quartermaster New Gridania (9.8, 11) Serpent Lieutenant / Captain Serpent Seals.png 30
Storm Quartermaster Limsa Lominsa Upper Decks (13.2, 12.8) Storm Lieutenant / Captain Storm Seals.png 30
{{vendor list|Brass Sky Pirate Spoil|includeHistoricalVendors=n}}
Vendor Location / Coordinates Section Cost Unlock req.
Enie The Firmament (12, 14) Skybuilders' Scrips (Materials/Materia/Items) Skybuilders Scrip 40