Difference between revisions of "Template:EnhItem"
From DDO Compendium
MNDeveloper (talk | contribs) m (MNDeveloper moved page Template:EnhancementTreeItem to Template:EnhItem without leaving a redirect) |
MNDeveloper (talk | contribs) |
||
Line 142: | Line 142: | ||
<table class="item-image-table background-color" > | <table class="item-image-table background-color" > | ||
<tr> | <tr> | ||
<td class="extra-details"><table class="background-color full"><tr class="compendiumtableborder" style="text-align:center"><td>'''Requirements'''</td></tr><tr {{{#if: {{{tree2name|}}}{{{tree3name|}}}{{{tree4name|}}}{{{tree5name|}}}|class="compendiumtableborder"}}><td>{{IconImage|Enhancement_{{{name|}}}|{{{tree1icon|}}}}}<br>{{{tree1requirements}}}</td></tr>{{#if: {{{tree2name|}}}|<tr {{{#if: {{{tree3name|}}}{{{tree4name|}}}{{{tree5name|}}}|class="compendiumtableborder"}}><td>{{IconImage|Enhancement_{{{name|}}}|{{{tree2icon|}}}}}{{{tree2requirements}}}</td></tr>}}{{#if: {{{tree3name|}}}|<tr {{#if: {{{tree4name|}}}{{{tree5name|}}}|class="compendiumtableborder"}}><td>{{IconImage|Enhancement_{{{name|}}}|{{{tree3icon|}}}}}{{{tree3requirements}}}</td></tr>}}{{#if: {{{tree4name|}}}|<tr {{{#if: {{{tree5name|}}}|class="compendiumtableborder"}}><td>{{IconImage|Enhancement_{{{name|}}}|{{{tree4icon|}}}}}<br>{{{tree4requirements}}}</td></tr>}}{{#if: {{{tree5name|}}}|<tr><td>{{IconImage|Enhancement_{{{name|}}}|{{{tree5icon|}}}}}{{{tree5requirements}}}</td></tr>}}</table></td></tr></table></td></tr></table>}}</onlyinclude> | <td class="extra-details"><table class="background-color full"><tr class="compendiumtableborder" style="text-align:center"><td>'''Requirements'''</td></tr><tr {{{#if: {{{tree2name|}}}{{{tree3name|}}}{{{tree4name|}}}{{{tree5name|}}}|class="compendiumtableborder"}}><td>{{IconImage|Enhancement_{{{name|}}}|{{{tree1icon|}}}}}<br>{{{tree1requirements}}}</td></tr>{{#if: {{{tree2name|}}}|<tr {{{#if: {{{tree3name|}}}{{{tree4name|}}}{{{tree5name|}}}|class="compendiumtableborder"}}><td>{{IconImage|Enhancement_{{{name|}}}|{{{tree2icon|}}}}}<br>{{{tree2requirements}}}</td></tr>}}{{#if: {{{tree3name|}}}|<tr {{#if: {{{tree4name|}}}{{{tree5name|}}}|class="compendiumtableborder"}}><td>{{IconImage|Enhancement_{{{name|}}}|{{{tree3icon|}}}}}<br>{{{tree3requirements}}}</td></tr>}}{{#if: {{{tree4name|}}}|<tr {{{#if: {{{tree5name|}}}|class="compendiumtableborder"}}><td>{{IconImage|Enhancement_{{{name|}}}|{{{tree4icon|}}}}}<br>{{{tree4requirements}}}</td></tr>}}{{#if: {{{tree5name|}}}|<tr><td>{{IconImage|Enhancement_{{{name|}}}|{{{tree5icon|}}}}}<br>{{{tree5requirements}}}</td></tr>}}</table></td></tr></table></td></tr></table>}}</onlyinclude> |
Revision as of 18:33, 1 July 2018
{{EnhancementTreeItem |name= |link= |ranks= |cost= |rank1benefit= |rank2benefit= |rank3benefit= |benefitline= |description= |tree1name= |tree1enhancementname= |tree1icon= |tree1requirements= |tree2name= |tree2enhancementname= |tree2icon= |tree2requirements= |tree3name= |tree3enhancementname= |tree3icon= |tree3requirements= |tree4name= |tree4enhancementname= |tree4icon= |tree4requirements= |tree5name= |tree5enhancementname= |tree5icon= |tree5requirements= }}
EnhancementTreeItem[edit]
This template is used to render information about an individual item on an enhancement tree or epic destiny.
Usage[edit]
Parameter Documentation | |
name | The name of the enhancement (or epic destiny) |
link | The actual file on the wiki, if it is different then then name |
ranks | How many ranks does this enhancement have. |
cost | How many points does it cost per rank. |
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 |
benefitline | A short description of the benefits that shows up in the table above the individual ranks, when there is > 1 rank |
description | A detailed description of the enhancement |
tree1name | The name of the first tree that has this enhancement |
tree1enhancementname | The name that this tree calls the enhancement if it is different than the main name |
tree1icon | The icon to use, if not default |
tree1requirements | The information specific to that tree for this enhancement. Use Template:EnhancementTreeItemRequirement |
tree2name | The name of the second tree that has this enhancement |
tree2enhancementname | The name that this tree calls the enhancement if it is different than the main name |
tree2icon | The icon to use, if not default |
tree2requirements | The information specific to that tree for this enhancement. Use Template:EnhancementTreeItemRequirement |
tree3name | The name of the third tree that has this enhancement |
tree3enhancementname | The name that this tree calls the enhancement if it is different than the main name |
tree3icon | The icon to use, if not default |
tree3requirements | The information specific to that tree for this enhancement. Use Template:EnhancementTreeItemRequirement |
tree4name | The name of the fourth tree that has this enhancement |
tree4enhancementname | The name that this tree calls the enhancement if it is different than the main name |
tree4icon | The icon to use, if not default |
tree4requirements | The name of the fifth tree that has this enhancement |
tree5name | {{{parameter26description}}} |
tree5enhancementname | The name that this tree calls the enhancement if it is different than the main name |
tree5icon | The icon to use, if not default |
tree5requirements | The information specific to that tree for this enhancement. Use Template:EnhancementTreeItemRequirement |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
|
|