Difference between revisions of "Template:VendorPurchaseTable"

From DDO Compendium
Line 18: Line 18:
}}
}}
</noinclude>
</noinclude>
<onlyinclude><div class="table-responsive">
<onlyinclude>
{{#dplreplace:{{{1}}}|\*|}}
 
<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 26: Line 30:
<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}}{{#dplreplace:{{{1}}}|*|}}</table></div>{{#dplvar:set|vendorformat|}}{{#dplreplace:{{{1}}}|*|}}</onlyinclude>
</tr></thead><tbody>{{#dplvar:set|vendorformat|table}}{{#dplreplace:{{{1}}}|*|}}</table></div>{{#dplvar:set|vendorformat|}}</tbody></onlyinclude>

Revision as of 15:59, 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}} }} Kaelpit Dourstroke: Purchase in Hammer and ChainCost:15gpJolene Dander: Purchase in EveningstarJolene Dander: Purchase in Liquid Charm
<thead> </thead><tbody>
Vendor Location Qty Price Area
</tbody>

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}}}

<thead> </thead><tbody>
Vendor Location Qty Price Area

</tbody>