Difference between revisions of "Template:EnhItem"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 123: | Line 123: | ||
{{{rank3benefit}}} | {{{rank3benefit}}} | ||
{{#if: {{{rank3activationcost|}}}|<br>''Activation Cost: {{{rank3activationcost}}}''}}{{#if: {{{rank3cooldown|}}}|<br>''Cooldown: {{{rank3cooldown}}}''}}</td></tr>}}{{#if: {{{benefitbottomline|}}}|<tr><td>{{{benefitbottomline}}}</td></tr>}}</table>| | {{#if: {{{rank3activationcost|}}}|<br>''Activation Cost: {{{rank3activationcost}}}''}}{{#if: {{{rank3cooldown|}}}|<br>''Cooldown: {{{rank3cooldown}}}''}}</td></tr>}}{{#if: {{{benefitbottomline|}}}|<tr><td>{{{benefitbottomline}}}</td></tr>}}</table>|{{#if: {{{activationcost|}}}|'''Activation Cost:''' {{{activationcost}}}<br>}}{{#if: {{{cooldown|}}}|'''Cooldown:''' {{{cooldown}}}<br>}} | ||
}}</td><td data-th="Ranks" class="centerdata">{{{ranks}}}</td><td data-th="Action Point Cost" class="centerdata">{{{cost}}}</td>{{#ifeq: {{#dplvar:tree}}|{{{tree1name|}}}|{{{tree1requirements}}}}}{{#ifeq: {{#dplvar:tree}}|{{{tree2name}}}|{{{tree2requirements}}}}}{{#ifeq: {{#dplvar:tree}}|{{{tree3name|}}}|{{{tree3requirements}}}}}{{#ifeq: {{#dplvar:tree}}|{{{tree4name}}}|{{{tree4requirements}}}}}{{#ifeq: {{#dplvar:tree}}|{{{tree5name|}}}|{{{tree5requirements}}}}}{{#ifeq: {{#dplvar:tree}}|{{{tree6name|}}}|{{{tree6requirements}}}}}{{#ifeq: {{#dplvar:tree}}|{{{tree7name|}}}|{{{tree7requirements}}}}}{{#ifeq: {{#dplvar:tree}}|{{{tree8name|}}}|{{{tree8requirements}}}}}{{#ifeq: {{#dplvar:tree}}|{{{tree9name|}}}|{{{tree9requirements}}}}}{{#ifeq: {{#dplvar:tree}}|{{{tree0name|}}}|{{{tree0requirements}}}}}</tr> | {{{rank1benefit}}}}}</td><td data-th="Ranks" class="centerdata">{{{ranks}}}</td><td data-th="Action Point Cost" class="centerdata">{{{cost}}}</td>{{#ifeq: {{#dplvar:tree}}|{{{tree1name|}}}|{{{tree1requirements}}}}}{{#ifeq: {{#dplvar:tree}}|{{{tree2name}}}|{{{tree2requirements}}}}}{{#ifeq: {{#dplvar:tree}}|{{{tree3name|}}}|{{{tree3requirements}}}}}{{#ifeq: {{#dplvar:tree}}|{{{tree4name}}}|{{{tree4requirements}}}}}{{#ifeq: {{#dplvar:tree}}|{{{tree5name|}}}|{{{tree5requirements}}}}}{{#ifeq: {{#dplvar:tree}}|{{{tree6name|}}}|{{{tree6requirements}}}}}{{#ifeq: {{#dplvar:tree}}|{{{tree7name|}}}|{{{tree7requirements}}}}}{{#ifeq: {{#dplvar:tree}}|{{{tree8name|}}}|{{{tree8requirements}}}}}{{#ifeq: {{#dplvar:tree}}|{{{tree9name|}}}|{{{tree9requirements}}}}}{{#ifeq: {{#dplvar:tree}}|{{{tree0name|}}}|{{{tree0requirements}}}}}</tr> | ||
| #default=<table class="item-table background-color"> | | #default=<table class="item-table background-color"> | ||
<tr> | <tr> |
Revision as of 16:43, 17 July 2018
{{EnhancementTreeItem |name= |link= |ranks= |cost= |activationcost= |cooldown= |rank1benefit= |rank1activationcost= |rank1cooldown= |rank2benefit= |rank2activationcost= |rank2cooldown= |rank3benefit= |rank3activationcost= |rank3cooldown= |benefitline= |benefitbottomline= |description= |tree1name= |tree1enhancementname= |tree1icon= |tree1requirements= |tree2name= |tree2enhancementname= |tree2icon= |tree2requirements= |tree3name= |tree3enhancementname= |tree3icon= |tree3requirements= |tree4name= |tree4enhancementname= |tree4icon= |tree4requirements= |tree5name= |tree5enhancementname= |tree5icon= |tree5requirements= |tree6name= |tree6enhancementname= |tree6icon= |tree6requirements= |tree7name= |tree7enhancementname= |tree7icon= |tree7requirements= |tree8name= |tree8enhancementname= |tree8icon= |tree8requirements= |tree9name= |tree9enhancementname= |tree9icon= |tree9requirements= |tree10name= |tree10enhancementname= |tree10icon= |tree10requirements= }}
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. Use Template:EnhItemCost |
activationcost | The cost to activate. Only use this if the cost is the same for all ranks, otherwise use rank1activationcost, rank2activationcost, rank3activationcost. |
cooldown | What is the cooldown before reactivation. Only use this if the cooldown is the same for all ranks, otherwise use rank1cooldown, rank2cooldown, rank3cooldown. |
rank1benefit | What benefits are gained at rank 1, use a bulleted list if > 1 |
rank1activationcost | The cost to activate at rank 1. Use activationcost if it is the same for all ranks |
rank1cooldown | What is the cooldown before reactivation at rank 1. Use cooldown if it is the same for all ranks |
rank2benefit | What benefits are gained at rank 2, use a bulleted list if > 1 |
rank2activationcost | The cost to activate at rank 1. Use activationcost if it is the same for all ranks |
rank2cooldown | What is the cooldown before reactivation at rank 1. Use cooldown if it is the same for all ranks |
rank3benefit | What benefits are gained at rank 3, use a bulleted list if > 1 |
rank3activationcost | The cost to activate at rank 1. Use activationcost if it is the same for all ranks |
rank3cooldown | What is the cooldown before reactivation at rank 1. Use cooldown if it is the same for all ranks |
benefitline | A short description of the benefits that shows up in the table above the individual ranks, when there is > 1 rank |
benefitbottomline | A short description of the benefits that shows up in the table below the individual ranks, when there is > 1 rank |
description | A detailed description of the enhancement |
tree1name | The name of the tree that has this enhancement. This and the rest can be repeated up to 10 times. |
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 |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
|
|