Difference between revisions of "Template:VendorSaleTableStart"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 6: | Line 6: | ||
|parameter1description = This the title of the first column, if you don't want it to say "Item" | |parameter1description = This the title of the first column, if you don't want it to say "Item" | ||
|parameter2name = Second Table Column Title | |parameter2name = Second Table Column Title | ||
|parameter2description = This the title of the second column, if you don't want it to say " | |parameter2description = This the title of the second column, if you don't want it to say "Qty" | ||
|parameter3name = Third Table Column Title | |parameter3name = Third Table Column Title | ||
|parameter3description = This the title of the third column, if you don't want it to say "Price" | |parameter3description = This the title of the third column, if you don't want it to say "Price" | ||
Line 20: | Line 20: | ||
<tr> | <tr> | ||
<th scope="col" data-th="{{#if: {{{1|}}}|{{{1}}}|Item}}">{{#if: {{{1|}}}|{{{1}}}|Item}}</th> | <th scope="col" data-th="{{#if: {{{1|}}}|{{{1}}}|Item}}">{{#if: {{{1|}}}|{{{1}}}|Item}}</th> | ||
<th scope="col" data-th="{{#if: {{{2|}}}|{{{2}}}|Quantity}}">{{#if: {{{2|}}}|{{{2}}}| | <th scope="col" data-th="{{#if: {{{2|}}}|{{{2}}}|Quantity}}">{{#if: {{{2|}}}|{{{2}}}|Qty}}</th> | ||
<th scope="col" data-th="{{#if: {{{3|}}}|{{{3}}}|Price}}">{{#if: {{{3|}}}|{{{3}}}|Price}}</th>{{#if: {{{4|}}}|<th scope="col" data-th="{{{4}}}">{{{4}}}</th>}}{{#if: {{{5|}}}|<th scope="col" data-th="{{{5}}}">{{{5}}}</th>}}{{#if: {{{6|}}}|<th scope="col" data-th="{{{6}}}">{{{6}}}</th>}}</tr></onlyinclude> | <th scope="col" data-th="{{#if: {{{3|}}}|{{{3}}}|Price}}">{{#if: {{{3|}}}|{{{3}}}|Price}}</th>{{#if: {{{4|}}}|<th scope="col" data-th="{{{4}}}">{{{4}}}</th>}}{{#if: {{{5|}}}|<th scope="col" data-th="{{{5}}}">{{{5}}}</th>}}{{#if: {{{6|}}}|<th scope="col" data-th="{{{6}}}">{{{6}}}</th>}}</tr></onlyinclude> |
Latest revision as of 12:42, 22 October 2021
VendorSaleTable[edit]
This template is used on equipment to correctly format the beginning of a table version of the Vendor Sale templates, for what a vendor sells. Is used in VendorSaleTable, and in cases where DPL is used to format (like NPCPurpose Barkeep)
Usage[edit]
{{VendorSaleTable|(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 | |
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 "Qty" |
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.
Item | Qty | Price |
---|