Difference between revisions of "Template:VendorSaleTable"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 29: | Line 29: | ||
<tr> | <tr> | ||
<th scope="col" data-th="Item">{{#if: {{{2|}}}|{{{2}}}|Item}}</th> | <th scope="col" data-th="Item">{{#if: {{{2|}}}|{{{2}}}|Item}}</th> | ||
<th scope="col" data-th="Quantity"> | <th scope="col" data-th="Quantity">Quantity</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 01:48, 28 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)|(Item Column Table)}}
Parameter Documentation | |
Items | This is a list of Template:VendorSale that you want as a table |
Item Column Table | This the title of the item column, if you don't want it to say "Item" |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
{{{1}}}
Item | Quantity | Price |
---|