Difference between revisions of "Template:VendorSaleTable"

From DDO Compendium
Line 26: Line 26:
<table class=" table table-striped table-condensed sortable">
<table class=" table table-striped table-condensed sortable">
<tr>
<tr>
<th scope="col" data-th="Item">Vendor</th>
<th scope="col" data-th="Item">Item</th>
<th scope="col" data-th="Quantity">Qty</th>
<th scope="col" data-th="Quantity">Qty</th>
<th scope="col" data-th="Price">Price</th>
<th scope="col" data-th="Price">Price</th>
</tr>{{#dplvar:set|vendorformat|table}}{{#dplreplace:{{{1}}}|\*|}}</table></div></onlyinclude>
</tr>{{#dplvar:set|vendorformat|table}}{{#dplreplace:{{{1}}}|\*|}}</table></div></onlyinclude>

Revision as of 16:13, 21 July 2021

VendorSaleTable[edit]

This template is used on equipment to correctly format a table version of the Vendor Sale templates, for what a vendor sells.

Example Usage
{{VendorSaleTable| {{VendorSale|+1 Ghost Touch Silver Flame Arrow|{{Price|10}}|100}} {{VendorSale|+1 Silver Flame Arrow of Lesser Undead Bane|{{Price|10}}|100}} {{VendorSale|Silver Flame Lesser Healing Potion|{{Price|10}}}} {{VendorSale|Silver Flame Healing Potion|{{Price|10}}}} {{VendorSale|Mark of the Silver Flame|{{Price|10}}}} }}

Usage[edit]

{{VendorSaleTable|(Items)}}

Parameter Documentation
ItemsThis is a list of Template:VendorSale 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}}}
Item Qty Price