Difference between revisions of "Template:EnhItem"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 44: | Line 44: | ||
<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"><tr><td> | ||
{{{rank1benefit}}}</td></tr><tr><td> | {{{rank1benefit}}}</td></tr><tr><td> | ||
{{{rank2benefit}}}</td></tr><tr><td> | {{{rank2benefit}}}</td></tr><tr><td> | ||
{{{rank3benefit}}}</td></tr></table>| | {{{rank3benefit}}}</td></tr></table>| | ||
{{{rank1benefit}}}}}</td><td data-th="Ranks" class="centerdata">{{{ranks}}}</td><td data-th="Action Point Cost" class="centerdata">{{{cost}}}</td><td data-th="Points Spent" class="centerdata">{{{pointsrequired}}}</td><td data-th="Requirements"> | {{{rank1benefit}}}}}</td><td data-th="Ranks" class="centerdata">{{{ranks}}}</td><td data-th="Action Point Cost" class="centerdata">{{{cost}}}</td><td data-th="Points Spent" class="centerdata">{{{pointsrequired}}}</td><td data-th="Requirements"> |
Revision as of 20:41, 6 June 2018
{{EnhancementTreeItem |name= |ranks= |rank1benefit= |rank2benefit= |rank3benefit= |cost= |pointsrequired= |requirements= }}
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. |
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