Difference between revisions of "Template:VendorSaleTable"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) (Undo revision 154184 by MNDeveloper (talk)) Tag: Undo |
||
(6 intermediate revisions by the same user not shown) | |||
Line 34: | Line 34: | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude> | <onlyinclude>{{#dplvar:set|vendorwidth|3}}{{#if: {{{5|}}}|{{#dplvar:set|vendorwidth|4}}}}{{#if: {{{6|}}}|{{#dplvar:set|vendorwidth|5}}}}{{#if: {{{7|}}}|{{#dplvar:set|vendorwidth|6}}}}{{VendorSaleTableStart|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}}} | ||
{{#dplvar:set|vendorformat|table}}{{#dplreplace:{{{1}}}|\*|}}{{VendorSaleTableEnd}}</onlyinclude> | |||
{{# | |||
{{ | |||
Latest revision as of 22:53, 22 May 2022
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)|(First Table Column Title)|(Second Table Column Title)|(Third Table Column Title)|(Optional Fourth Table Column Title)|(Optional Fifth Table Column Title)|(Optional Sixth Table Column Title)}}
Parameter Documentation | |
Items | This is a list of Template:VendorSale that you want as a table |
First Table Column Title | This the title of the first column, if you don't want it to say "Item" |
Second Table Column Title | This the title of the second column, if you don't want it to say "Quantity" |
Third Table Column Title | This the title of the third column, if you don't want it to say "Price" |
Optional Fourth Table Column Title | This the title of the fourth column, if you don't want it to exist |
Optional Fifth Table Column Title | This the title of the fifth column, if you don't want it to exist |
Optional Sixth Table Column Title | This the title of the sixth column, if you don't want it to exist |
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 |
---|