Difference between revisions of "Template:Vendor list"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
m (Protected "Template:Vendor list" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)))
(documentation)
 
(26 intermediate revisions by 6 users not shown)
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 -->
{{#ifeq: {{{includeHistoricalVendors|y}}} | n | [[Has vendor.Is historical::N]] }}
|?Has vendor
|?Has vendor
|?Has vendor section
|?Has vendor section
|?Has item cost#
|?Has item quantity
|?Has vendor location
|?Has vendor location
|?Has vendor coordinates
|?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
|?Is historical
|?Has vendor.Is historical
|?Has item additional requirement
|?Has vendor.Has vendor quest unlock
|?Has vendor.Has vendor misc unlock
|?Suppress vendor unlock
|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, Has item quantity
|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|150}}}
|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. [[Category:No results for vendor list]]
}}</includeonly><noinclude>
}}</includeonly><noinclude>


Line 33: Line 48:
;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.
;includeHistoricalVendors
: Default '''y'''es. If set to '''n'''o, hides vendors which are no longer available.
;loc
;loc
: Optional. For NPCs with variable locations, this index will query the corresponding subobject.
: Optional. For NPCs with variable locations, this index will query the corresponding subobject.
Line 39: Line 56:
<pre>{{vendor list|Raisins}}</pre>
<pre>{{vendor list|Raisins}}</pre>
{{vendor list|Raisins}}
{{vendor list|Raisins}}
<pre>{{vendor list|Homura|showCostText=true}}</pre>
 
{{vendor list|Homura|showCostText=true}}
<pre>{{vendor list|White Lanner Whistle|showCostText=true}}</pre>
<pre>{{vendor list|Protean Crystal}}</pre>
{{vendor list|White Lanner Whistle|showCostText=true}}
{{vendor list|Protean Crystal}}
 
<pre>{{vendor list|Star Anise}}</pre>
{{vendor list|Star Anise}}
 
<pre>{{vendor list|Brass Sky Pirate Spoil|includeHistoricalVendors=n}}</pre>
{{vendor list|Brass Sky Pirate Spoil|includeHistoricalVendors=n}}


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

Latest revision as of 12:49, 10 July 2024


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.
includeHistoricalVendors
Default yes. If set to no, hides vendors which are no longer available.
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
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 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
0Vendor currently unavailable Itinerant Moogle Limsa Lominsa Lower Decks (9.4, 11.6) General Irregular Tomestone of Mendacity.png 30 Irregular Tomestone of Mendacity
Rowena's Representative Foundation (10.5, 11.8) Combat Supplies → Mounts/Miscellany Expanse totem icon1.png 99 Expanse Totem Main Scenario QuestHeavensward
{{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 Second Flame Lieutenant
Ixali Vendor North Shroud (24.9, 22.7) Ixali Oaknot Exchange Ixali Oaknot 1 That's ixal folks icon1.png  That's Ixal, Folks
Serpent Quartermaster New Gridania (9.8, 11) Serpent Lieutenant / Captain Serpent Seals.png 30 Second Serpent Lieutenant
Storm Quartermaster Limsa Lominsa Upper Decks (13.2, 12.8) Storm Lieutenant / Captain Storm Seals.png 30 Second Storm Lieutenant
{{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