Difference between revisions of "Template:EnhItem"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 8: | Line 8: | ||
|activationcost= | |activationcost= | ||
|cooldown= | |cooldown= | ||
|nobulletcost= | |||
|rank1benefit= | |rank1benefit= | ||
|rank1activationcost= | |rank1activationcost= | ||
Line 78: | Line 79: | ||
|parameter6name = cooldown | |parameter6name = cooldown | ||
|parameter6description = What is the cooldown before reactivation. Only use this if the cooldown is the same for all ranks, otherwise use rank1cooldown, rank2cooldown, rank3cooldown. | |parameter6description = What is the cooldown before reactivation. Only use this if the cooldown is the same for all ranks, otherwise use rank1cooldown, rank2cooldown, rank3cooldown. | ||
|parameter7name = rank1benefit | |parameter7name = nobulletcost | ||
| | |parameter7description = set to true in the case of a single rank where the benefit does not start with a bullet - The tree format needs to look different. | ||
| | |parameter8name = rank1benefit | ||
| | |parameter8description = What benefits are gained at rank 1, use a bulleted list if > 1 | ||
| | |parameter9name = rank1activationcost | ||
| | |parameter9description = The cost to activate at rank 1. Use activationcost if it is the same for all ranks | ||
| | |parameter10name = rank1cooldown | ||
| | |parameter10description = What is the cooldown before reactivation at rank 1. Use cooldown if it is the same for all ranks | ||
| | |parameter11name = rank2benefit | ||
| | |parameter11description = What benefits are gained at rank 2, use a bulleted list if > 1 | ||
| | |parameter12name = rank2activationcost | ||
| | |parameter12description = The cost to activate at rank 1. Use activationcost if it is the same for all ranks | ||
| | |parameter13name = rank2cooldown | ||
| | |parameter13description = What is the cooldown before reactivation at rank 1. Use cooldown if it is the same for all ranks | ||
| | |parameter14name = rank3benefit | ||
| | |parameter14description = What benefits are gained at rank 3, use a bulleted list if > 1 | ||
| | |parameter15name = rank3activationcost | ||
| | |parameter15description = The cost to activate at rank 1. Use activationcost if it is the same for all ranks | ||
| | |parameter16name = rank3cooldown | ||
| | |parameter16description = What is the cooldown before reactivation at rank 1. Use cooldown if it is the same for all ranks | ||
| | |parameter17name = benefitline | ||
| | |parameter17description = A short description of the benefits that shows up in the table above the individual ranks, when there is > 1 ran | ||
| | |parameter18name = benefitbottomline | ||
| | |parameter18description = A short description of the benefits that shows up in the table below the individual ranks, when there is > 1 rank | ||
| | |parameter19name = description | ||
| | |parameter19description = A detailed description of the enhancement | ||
| | |parameter20name = tree1name | ||
| | |parameter20description = The name of the tree that has this enhancement. This and the rest can be repeated up to 10 times. | ||
| | |parameter21name = tree1enhancementname | ||
| | |parameter21description = The name that this tree calls the enhancement if it is different than the main name | ||
| | |parameter22name = tree1icon | ||
| | |parameter22description = The icon to use, if not default | ||
|parameter23name = tree1requirements | |||
|parameter23description = The information specific to that tree for this enhancement. Use [[Template:EnhItemReq]] for one tier, or [[Template:EnhItemTierReq]] when multiple tiers. | |||
}}</noinclude> | }}</noinclude> | ||
<onlyinclude> | <onlyinclude> | ||
Line 123: | Line 126: | ||
</td></tr><tr {{#if: {{{benefitbottomline|}}}|class="compendiumtableborder"}}><td> | </td></tr><tr {{#if: {{{benefitbottomline|}}}|class="compendiumtableborder"}}><td> | ||
{{{rank3benefit}}}</td></tr>}}{{#if: {{{benefitbottomline|}}}|<tr><td>{{{benefitbottomline}}}</td></tr>}}</table>|{{EnhUsageCost|{{{activationcost|}}}|{{{cooldown|}}}|treesingle}} | {{{rank3benefit}}}</td></tr>}}{{#if: {{{benefitbottomline|}}}|<tr><td>{{{benefitbottomline}}}</td></tr>}}</table>|{{EnhUsageCost|{{{activationcost|}}}|{{{cooldown|}}}|{{#if: {{{nobulletcost|}}}|itemsingle|treesingle}}}} | ||
{{{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> | {{{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"> |
Revision as of 19:48, 19 July 2018
{{EnhancementTreeItem |name= |link= |ranks= |cost= |activationcost= |cooldown= |nobulletcost= |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. |
nobulletcost | set to true in the case of a single rank where the benefit does not start with a bullet - The tree format needs to look different. |
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 ran |
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:EnhItemReq for one tier, or Template:EnhItemTierReq when multiple tiers. |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
|
|