Difference between revisions of "Vendor table body/Documentation"

m (Stratonian moved page Shop table body/Documentation to Vendor table body/Documentation without leaving a redirect: more descriptive)
m
Line 1: Line 1:
 
==Description==
 
==Description==
Creates a shop table row using the parameters provided in the original [https://www.semantic-mediawiki.org/wiki/Help:Inline_queries#Parser_function_.23ask inline query].
+
Creates a vendor table row using the parameters provided in the original [https://www.semantic-mediawiki.org/wiki/Help:Inline_queries#Parser_function_.23ask inline query].
 
==Usage==
 
==Usage==
 
<pre>{{#ask: [[Sells item::Campfire]]
 
<pre>{{#ask: [[Sells item::Campfire]]
Line 7: Line 7:
 
|?Has item cost
 
|?Has item cost
 
|format=template
 
|format=template
|introtemplate=Shop table header
+
|introtemplate=Vendor table header
|template=Shop table body}}
+
|template=Vendor table body}}
 
|}</pre>
 
|}</pre>
 
==Parameters==
 
==Parameters==

Revision as of 23:01, 6 January 2024

Description

Creates a vendor table row using the parameters provided in the original inline query.

Usage

{{#ask: [[Sells item::Campfire]]
|?Has vendor
|?Sells item
|?Has item cost
|format=template
|introtemplate=Vendor table header
|template=Vendor table body}}
|}

Parameters

Arrow.png1: The page to query.
Required.
Arrow.png2: The vendor selling the item.
Required.
Arrow.png3: The name of the item.
Required.
Arrow.png4: The cost of the item.
Required.