Difference between revisions of "Template:BarterBoxEntry"

From DDO Compendium
 
(5 intermediate revisions by the same user not shown)
Line 19: Line 19:
}}
}}
</noinclude>
</noinclude>
<onlyinclude><tr>{{#if: {{{1|}}}|<td {{#if: {{{2|}}}|rowspan="{{{2}}}"}}>{{{1}}}</td>}}
<onlyinclude><tr>{{#if: {{{1|}}}|<td {{#if: {{{2|}}}|rowspan="{{{2}}}"}}>'''{{{1}}}'''</td>}}
{{#if: {{{5|}}}|<td>{{#if: {{{5|}}}|{{{5}}}}}</td>}}{{#if: {{{6|}}}|<td>{{#if: {{{6|}}}|{{{6}}}}}</td>}}{{#if: {{{7|}}}|<td>{{#if: {{{7|}}}|{{{7}}}}}</td>}}<td>{{#if: {{{3|}}}|{{{3}}}}}</td><td>{{#if: {{{4|}}}|{{{4}}}}}</td></tr></onlyinclude>
{{#if: {{{5|}}}|<td>{{#if: {{{5|}}}|{{{5}}}}}</td>}}{{#if: {{{6|}}}|<td>{{#if: {{{6|}}}|{{{6}}}}}</td>}}{{#if: {{{7|}}}|<td>{{#if: {{{7|}}}|{{{7}}}}}</td>}}<td>{{#if: {{{3|}}}|{{{3}}}}}</td><td>{{#if: {{{4|}}}|{{{4}}}}}</td></tr></onlyinclude>

Latest revision as of 17:38, 15 November 2021

BarterBoxEntry[edit]

This template is used to render an entry in a barter box when using Template:BarterBoxTable

Usage[edit]

{{BarterBoxEntry|(Recipe Name)|(Recipe Name Row Count)|(Benefit)|(Cost)|(Table Optional 1)|(Table Optional 2)|(Table Optional 3)}}

Parameter Documentation
Recipe NameThis is the name of the recipe
Recipe Name Row CountThis is the number of rows that have the exact same name. For example, in Thunder-Forged crafting, there are 3 recipes with the same name, one for one-handed weapons, one for two-handed weapons, and one for the orb.
BenefitThis is the benefit
CostThis is the cost, you can use Template:Price, Template:VendorIngredientList or any other way of depicting this
Table Optional 1This is the value to show in the first optional column
Table Optional 2This is the value to show in the second optional column
Table Optional 3This is the value to show in the third optional column

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.