Difference between revisions of "Template:EnhItem"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 47: | Line 47: | ||
<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">{{#if: {{{description|}}}|<tr><td>{{{description}}</td></tr>}}<tr><td> | <td data-th="Benefits">{{#ifexpr: {{{ranks}}} > 1|<table class="compendiumtablecolor">{{#if: {{{description|}}}|<tr><td>{{{description}}}</td></tr>}}<tr><td> | ||
{{{rank1benefit}}}</td></tr><tr><td> | {{{rank1benefit}}}</td></tr><tr><td> |
Revision as of 13:53, 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 | |
name | The name of the item |
ranks | How many ranks does this item have. |
rank1benefit | What benefits are gained at rank 1, use a bulleted list if > 1 |
rank2benefit | What benefits are gained at rank 2, use a bulleted list if > 1 |
rank3benefit | What benefits are gained at rank 3, use a bulleted list if > 1 |
cost | How many points does it cost per rank. |
pointsrequired | How many points spent in the tree are required |
requirements | What other requirements are needed for this item. bulleted list. |
description | A 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