Difference between revisions of "Template:EnhItem"

From DDO Compendium
Line 10: Line 10:
|pointsrequired=
|pointsrequired=
|requirements=
|requirements=
|description=
}}
}}
</pre>
</pre>
Line 40: Line 41:
|parameter8description = What other requirements are needed for this item. bulleted list.
|parameter8description = What other requirements are needed for this item. bulleted list.
|parameter8values =  
|parameter8values =  
|parameter9name = description
|parameter9description = A description to show about the benefits table, when there are > 1 benefit.
|parameter9values =
}}</noinclude>
}}</noinclude>
<onlyinclude>
<onlyinclude>
<tr><td data-th="Enhancement"><table class="compendiumtablecolor"><tr><td>[[File:{{#dplvar:tree}}_{{#dplvar:location}}_{{{name}}}_Icon.png|link=|40px|x40px|]]</td></tr><tr><td>{{{name}}}</td></tr></table></td>
<tr><td data-th="Enhancement"><table class="compendiumtablecolor"><tr><td>[[File:{{#dplvar:tree}}_{{#dplvar:location}}_{{{name}}}_Icon.png|link=|40px|x40px|]]</td></tr><tr><td>{{{name}}}</td></tr></table></td>
<td data-th="Benefits">{{#ifexpr: {{{ranks}}} > 1|<table class="compendiumtablecolor"><tr><td>
<td data-th="Benefits">{{#ifexpr: {{{ranks}}} > 1|<table class="compendiumtablecolor">{{#if: {{{description|}}}|<tr><td>{{{description}}</td></td>}}<tr><td>


{{{rank1benefit}}}</td></tr><tr><td>
{{{rank1benefit}}}</td></tr><tr><td>

Revision as of 13:43, 7 June 2018

{{EnhancementTreeItem
|name=
|ranks=
|rank1benefit=
|rank2benefit=
|rank3benefit=
|cost=
|pointsrequired=
|requirements=
|description=
}}

EnhancementTreeItem[edit]

This template is used to render information about an individual item on an enhancement tree.

Usage[edit]

Parameter Documentation
nameThe name of the item
ranksHow many ranks does this item have.
rank1benefitWhat benefits are gained at rank 1, use a bulleted list if > 1
rank2benefitWhat benefits are gained at rank 2, use a bulleted list if > 1
rank3benefitWhat benefits are gained at rank 3, use a bulleted list if > 1
costHow many points does it cost per rank.
pointsrequiredHow many points spent in the tree are required
requirementsWhat other requirements are needed for this item. bulleted list.
descriptionA description to show about the benefits table, when there are > 1 benefit.

Template

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


[[File:__{{{name}}}_Icon.png|link=|40px|x40px|]]
{{{name}}}

Expression error: Unrecognized punctuation character "{".{{{ranks}}}{{{cost}}}{{{pointsrequired}}} None