Difference between revisions of "Vendor table body/Documentation"
Stratonian (talk | contribs) m (→Parameters) |
Stratonian (talk | contribs) 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]. | + | 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]]. |
==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.}} | ||
+ | <includeonly>[[Category:Table templates]]</includeonly> |
Revision as of 20:21, 16 February 2024
Description
Creates a vendor table row using the parameters provided in the original inline query. Used in conjunction with Vendor table header.
Usage
{{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}}