Difference between revisions of "Vendor table body/Documentation"

m
m
 
Line 1: Line 1:
 
==Description==
 
==Description==
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]. Used in conjunction with [[Template:Vendor table header]].
+
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]. Contains the vendor's name, item sold, and item price. Used in conjunction with [[Template:Vendor table header]].
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>
Line 20: Line 20:
 
{{parameter|4|The cost of the item.}}
 
{{parameter|4|The cost of the item.}}
 
{{parameter|5|The quality of the item.}}
 
{{parameter|5|The quality of the item.}}
 +
==See Also==
 +
:{{arrow}}[[Template:Shop table row]]
 
<includeonly>[[Category:Table templates]]</includeonly>
 
<includeonly>[[Category:Table templates]]</includeonly>

Latest revision as of 15:02, 17 February 2024

Description[edit]

Creates a vendor table row using the parameters provided in the original inline query. Contains the vendor's name, item sold, and item price. Used in conjunction with Vendor table header.

Usage[edit]

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

Parameters[edit]

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.
Arrow.png5: The quality of the item.
Required.

See Also[edit]

Arrow.pngShop table row