Difference between revisions of "Acquired in"

m (Stratonian moved page In shop to Sold in without leaving a redirect: better name)
m (returns 'No vendors' if sold nowhere)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{| class="wikitable sortable"
+
{{#vardefine:sold in|{{#ask: [[Sells item::Campfire]]
! class="NPC-ally" | Vendor !! class="NPC-ally" | Item !! class="NPC-ally" | Price
 
|-
 
{{#ask: [[Sells item::{{PAGENAME}}]]
 
 
|?Has vendor
 
|?Has vendor
 
|?Sells item
 
|?Sells item
Line 9: Line 6:
 
|format=template
 
|format=template
 
|template=Vendor table body
 
|template=Vendor table body
|link=none}}
+
|link=none}}}}{{#if:{{#var:sold in}}
|}
+
|
 +
{{{!}} class="wikitable sortable"
 +
! class="NPC-ally" {{!}} Vendor !! class="NPC-ally" {{!}} Item !! class="NPC-ally" {{!}} Price
 +
{{!}}-
 +
{{#var:sold in}}
 +
{{!}}}
 +
|'''No vendors.'''}}
 
</includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude>
 
</includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude>

Revision as of 23:19, 6 January 2024

Description

Displays all shops or quests that an Item (specified by the name of the page) is sold or rewarded in.

Usage

{{Acquired in}}