Difference between revisions of "Template:VendorPurchaseTable"

From DDO Compendium
Line 21: Line 21:
<div class="table-responsive">
<div class="table-responsive">
<table class=" table table-striped table-condensed table-responsive">
<table class=" table table-striped table-condensed table-responsive">
<thead>
<tr>
<tr>
<th scope="col" data-th="Vendor">Vendor</th>
<th scope="col" data-th="Vendor">Vendor</th>
Line 28: Line 27:
<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></thead><tbody>{{#dplvar:set|vendorformat|table}}{{#dplreplace:{{{1}}}|\*|}}</tbody></table></div></onlyinclude>
</tr>{{#dplvar:set|vendorformat|table}}{{#dplreplace:{{{1}}}|\*|}}</table></div></onlyinclude>

Revision as of 16:01, 9 March 2020

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