Difference between revisions of "Template:VendorPurchaseTable"

From DDO Compendium
 
Line 18: Line 18:
}}
}}
</noinclude>
</noinclude>
<onlyinclude><div class="table-responsive"><table class=" table table-striped table-condensed sortable">
<onlyinclude>{{#dplvar:set|vendorformat|table}}<div class="table-responsive"><table class=" table table-striped table-condensed sortable">
<tr>
<tr>
<th scope="col" data-th="Vendor">Vendor</th>
<th scope="col" data-th="Vendor">Vendor</th>
Line 25: Line 25:
<th scope="col" data-th="Price">Price</th>
<th scope="col" data-th="Price">Price</th>
<th scope="col" data-th="Public Area">Area</th>
<th scope="col" data-th="Public Area">Area</th>
</tr>{{#dplvar:set|vendorformat|table}}{{{1}}}{{#dplvar:set|vendorformat|}}</table></div></onlyinclude>
</tr>{{{1}}}</table></div>{{#dplvar:set|vendorformat|}}</onlyinclude>

Latest revision as of 22:42, 3 April 2022

VendorPurchaseTable[edit]

This template is used on equipment to correctly format a table version of the Vendor Purchase templates, if there are many vendors you can buy from.

Example Usage
{{VendorPurchaseTable| {{VendorPurchase|Kaelpit Dourstroke|15gp|Hammer and Chain}} {{VendorPurchase|Jolene Dander||Eveningstar|10}} {{VendorPurchase|Jolene Dander||Liquid Charm|10|House Kundarak}} }}

Usage[edit]

{{VendorPurchaseTable|(Vendors)}}

Parameter Documentation
VendorsThis is the bulleted list of Template:VendorPurchase that you want as a table

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.


{{{1}}}
Vendor Location Qty Price Area