Difference between revisions of "Vendor table body/Documentation"
Stratonian (talk | contribs) m |
Stratonian (talk | contribs) m |
||
Line 2: | Line 2: | ||
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]. | ||
==Usage== | ==Usage== | ||
− | <pre>{{#ask: [[Sells item::Campfire]] | + | <pre> |
+ | {| class="wikitable sortable" | ||
+ | ! class="NPC-ally" | Vendor !! class="NPC-ally" | Item !! class="NPC-ally" | Price | ||
+ | |- | ||
+ | {{#ask: [[Sells item::Campfire]] | ||
|?Has vendor | |?Has vendor | ||
|?Sells item | |?Sells item | ||
|?Has item cost | |?Has item cost | ||
|format=template | |format=template | ||
− | |||
|template=Vendor table body}} | |template=Vendor table body}} | ||
|}</pre> | |}</pre> |
Revision as of 23:04, 6 January 2024
Description
Creates a vendor table row using the parameters provided in the original inline query.
Usage
{| class="wikitable sortable" ! class="NPC-ally" | Vendor !! class="NPC-ally" | Item !! class="NPC-ally" | Price |- {{#ask: [[Sells item::Campfire]] |?Has vendor |?Sells item |?Has item cost |format=template |template=Vendor table body}} |}