Difference between revisions of "Template:VendorPurchaseTable"

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

Revision as of 16:00, 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}} }}
<thead> </thead><tbody></tbody>
Vendor Location Qty Price Area
Kaelpit DourstrokeHammer and Chain115gp
Jolene DanderEveningstar10
Jolene DanderLiquid Charm10House 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.



<thead> </thead><tbody>{{{1}}}</tbody>
Vendor Location Qty Price Area