Difference between revisions of "Template:EnhItem"

From DDO Compendium
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 = What benefits are gained at rank 1, use a bulleted list if > 1
|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 = rank1activationcost
|parameter8name = rank1benefit
|parameter8description = The cost to activate at rank 1. Use activationcost if it is the same for all ranks
|parameter8description = What benefits are gained at rank 1, use a bulleted list if > 1
|parameter9name = rank1cooldown
|parameter9name = rank1activationcost
|parameter9description = What is the cooldown before reactivation at rank 1. Use cooldown if it is the same for all ranks
|parameter9description = The cost to activate at rank 1. Use activationcost if it is the same for all ranks
|parameter10name = rank2benefit
|parameter10name = rank1cooldown
|parameter10description = What benefits are gained at rank 2, use a bulleted list if > 1
|parameter10description = What is the cooldown before reactivation at rank 1. Use cooldown if it is the same for all ranks
|parameter11name = rank2activationcost
|parameter11name = rank2benefit
|parameter11description = The cost to activate at rank 1. Use activationcost if it is the same for all ranks
|parameter11description = What benefits are gained at rank 2, use a bulleted list if > 1
|parameter12name = rank2cooldown
|parameter12name = rank2activationcost
|parameter12description = What is the cooldown before reactivation at rank 1. Use cooldown if it is the same for all ranks
|parameter12description = The cost to activate at rank 1. Use activationcost if it is the same for all ranks
|parameter13name = rank3benefit
|parameter13name = rank2cooldown
|parameter13description = What benefits are gained at rank 3, use a bulleted list if > 1
|parameter13description = What is the cooldown before reactivation at rank 1. Use cooldown if it is the same for all ranks
|parameter14name = rank3activationcost
|parameter14name = rank3benefit
|parameter14description = The cost to activate at rank 1. Use activationcost if it is the same for all ranks
|parameter14description = What benefits are gained at rank 3, use a bulleted list if > 1
|parameter15name = rank3cooldown
|parameter15name = rank3activationcost
|parameter15description = What is the cooldown before reactivation at rank 1. Use cooldown if it is the same for all ranks
|parameter15description = The cost to activate at rank 1. Use activationcost if it is the same for all ranks
|parameter16name = benefitline
|parameter16name = rank3cooldown
|parameter16description = A short description of the benefits that shows up in the table above the individual ranks, when there is > 1 rank
|parameter16description = What is the cooldown before reactivation at rank 1. Use cooldown if it is the same for all ranks
|parameter17name = benefitbottomline
|parameter17name = benefitline
|parameter17description = A short description of the benefits that shows up in the table below the individual ranks, when there is > 1 rank
|parameter17description = A short description of the benefits that shows up in the table above the individual ranks, when there is > 1 ran
|parameter18name = description
|parameter18name = benefitbottomline
|parameter18description = A detailed description of the enhancement
|parameter18description = A short description of the benefits that shows up in the table below the individual ranks, when there is > 1 rank
|parameter19name = tree1name
|parameter19name = description
|parameter19description = The name of the tree that has this enhancement.  This and the rest can be repeated up to 10 times.
|parameter19description = A detailed description of the enhancement
|parameter20name = tree1enhancementname
|parameter20name = tree1name
|parameter20description = The name that this tree calls the enhancement if it is different than the main name
|parameter20description = The name of the tree that has this enhancement.  This and the rest can be repeated up to 10 times.
|parameter21name = tree1icon
|parameter21name = tree1enhancementname
|parameter21description = The icon to use, if not default
|parameter21description = The name that this tree calls the enhancement if it is different than the main name
|parameter22name = tree1requirements
|parameter22name = tree1icon
|parameter22description = The information specific to that tree for this enhancement.  Use [[Template:EnhItemReq]] for one tier, or [[Template:EnhItemTierReq]] when multiple tiers.
|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
nameThe name of the enhancement (or epic destiny)
linkThe actual file on the wiki, if it is different then then name
ranksHow many ranks does this enhancement have.
costHow many points does it cost per rank. Use Template:EnhItemCost
activationcostThe cost to activate. Only use this if the cost is the same for all ranks, otherwise use rank1activationcost, rank2activationcost, rank3activationcost.
cooldownWhat is the cooldown before reactivation. Only use this if the cooldown is the same for all ranks, otherwise use rank1cooldown, rank2cooldown, rank3cooldown.
nobulletcostset 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.
rank1benefitWhat benefits are gained at rank 1, use a bulleted list if > 1
rank1activationcostThe cost to activate at rank 1. Use activationcost if it is the same for all ranks
rank1cooldownWhat is the cooldown before reactivation at rank 1. Use cooldown if it is the same for all ranks
rank2benefitWhat benefits are gained at rank 2, use a bulleted list if > 1
rank2activationcostThe cost to activate at rank 1. Use activationcost if it is the same for all ranks
rank2cooldownWhat is the cooldown before reactivation at rank 1. Use cooldown if it is the same for all ranks
rank3benefitWhat benefits are gained at rank 3, use a bulleted list if > 1
rank3activationcostThe cost to activate at rank 1. Use activationcost if it is the same for all ranks
rank3cooldownWhat is the cooldown before reactivation at rank 1. Use cooldown if it is the same for all ranks
benefitlineA short description of the benefits that shows up in the table above the individual ranks, when there is > 1 ran
benefitbottomlineA short description of the benefits that shows up in the table below the individual ranks, when there is > 1 rank
descriptionA detailed description of the enhancement
tree1nameThe name of the tree that has this enhancement. This and the rest can be repeated up to 10 times.
tree1enhancementnameThe name that this tree calls the enhancement if it is different than the main name
tree1iconThe icon to use, if not default
tree1requirementsThe 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.


File:Enhancement Icon.png

{{{name}}}

Ranks: {{{ranks}}}
Action Points (per rank): {{{cost}}}
Benefits: Expression error: Unrecognized punctuation character "{".

Requirements
File:Enhancement Icon.png {{{tree1requirements}}}