Difference between revisions of "Vendor table body/Documentation"
Stratonian (talk | contribs) m (→Parameters) |
Stratonian (talk | contribs) m |
||
(One intermediate revision by the same user not shown) | |||
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]. | + | 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> |
− | + | {{vendor table header}} | |
− | |||
{{#ask: [[Sells item::Campfire]] | {{#ask: [[Sells item::Campfire]] | ||
|?Has vendor | |?Has vendor | ||
Line 13: | Line 12: | ||
|template=Vendor table body | |template=Vendor table body | ||
|link=none}} | |link=none}} | ||
− | + | {{table footer}} | |
− | + | </pre> | |
==Parameters== | ==Parameters== | ||
{{parameter|1|The page to query.}} | {{parameter|1|The page to query.}} | ||
Line 21: | 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> |
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}}