Difference between revisions of "Template:EnhItemSelectorOption"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(11 intermediate revisions by the same user not shown) | |||
Line 87: | Line 87: | ||
<td class="icon"> | <td class="icon"> | ||
<!-- Icon Image --> | <!-- Icon Image --> | ||
{{ | {{#ifeq: {{FULLPAGENAME}} |Template:EnhItemSelectorOption||{{IconImageWithLink|Enhancement_{{{name|}}}|{{{icon|}}}}}}} | ||
</td> | </td> | ||
<td class="title"> | <td class="title"> | ||
Line 98: | Line 98: | ||
<tr> | <tr> | ||
<td> | <td> | ||
'''Ranks: ''' {{{ranks}}}<br>''' | '''Ranks: ''' {{{ranks}}}<br>'''Points (per rank):''' {{{cost}}}{{EnhUsageCost|{{{activationcost|}}}|{{{cooldown|}}}|itemsingle}}</td></tr><tr><td>'''Benefits:''' | ||
{{#ifexpr: {{{ranks}}} > 1|<table class="background-color fullwidth">{{#if: {{{benefitline|}}}|<tr class="compendiumtableborder"><td>{{{benefitline}}}</td></tr>}}<tr><td>'''Rank 1:''' {{EnhUsageCost|{{{rank1activationcost|}}}|{{{rank1cooldown|}}}|itemrank}}</td></tr><tr class="compendiumtableborder"><td> | {{#ifexpr: {{{ranks}}} > 1|<table class="background-color fullwidth">{{#if: {{{benefitline|}}}|<tr class="compendiumtableborder"><td> | ||
{{WrapMultiLine|{{{benefitline}}}}}</td></tr>}}<tr><td>'''Rank 1:''' {{EnhUsageCost|{{{rank1activationcost|}}}|{{{rank1cooldown|}}}|itemrank}}</td></tr><tr class="compendiumtableborder"><td> | |||
{{{rank1benefit}}}</td></tr><tr><td>'''Rank 2:''' {{EnhUsageCost|{{{rank2activationcost|}}}|{{{rank2cooldown|}}}|itemrank}}</td></tr><tr {{#ifexpr: {{{ranks}}} > 2|class="compendiumtableborder"|{{#if: {{{benefitbottomline|}}}{{{bug|}}}|class="compendiumtableborder"}}}}><td> | {{{rank1benefit}}}</td></tr><tr><td>'''Rank 2:''' {{EnhUsageCost|{{{rank2activationcost|}}}|{{{rank2cooldown|}}}|itemrank}}</td></tr><tr {{#ifexpr: {{{ranks}}} > 2|class="compendiumtableborder"|{{#if: {{{benefitbottomline|}}}{{{bug|}}}|class="compendiumtableborder"}}}}><td> | ||
Line 105: | Line 106: | ||
{{{rank2benefit}}}</td></tr>{{#ifexpr: {{{ranks}}} > 2|<tr><td>'''Rank 3:''' {{EnhUsageCost|{{{rank3activationcost|}}}|{{{rank3cooldown|}}}|itemrank}}</td></tr><tr {{#if: {{{benefitbottomline|}}}{{{bug|}}}|class="compendiumtableborder"}}><td> | {{{rank2benefit}}}</td></tr>{{#ifexpr: {{{ranks}}} > 2|<tr><td>'''Rank 3:''' {{EnhUsageCost|{{{rank3activationcost|}}}|{{{rank3cooldown|}}}|itemrank}}</td></tr><tr {{#if: {{{benefitbottomline|}}}{{{bug|}}}|class="compendiumtableborder"}}><td> | ||
{{{rank3benefit}}}</td></tr>}}{{#if: {{{benefitbottomline|}}}|<tr><td>{{{benefitbottomline}}}</td></tr>}}</table>|{{{rank1benefit}}}}} | {{{rank3benefit}}}</td></tr>}}{{#if: {{{benefitbottomline|}}}|<tr><td> | ||
{{WrapMultiLine|{{{benefitbottomline}}}}}</td></tr>}}</table>|{{{rank1benefit}}}}} | |||
{{#if: {{{description|}}}|<br>'''Description:'''<br>{{{description}}}}}{{#if: {{{bug|}}}|{{#if: {{{description|}}}|<br>}}<br>'''Bugs:''' | {{#if: {{{description|}}}|<br>'''Description:'''<br>{{{description}}}}}{{#if: {{{bug|}}}|{{#if: {{{description|}}}|<br>}}<br>'''Bugs:''' | ||
{{{bug}}}}}</td></tr></table></td> | {{{bug}}}}}</td></tr></table></td> | ||
Line 111: | Line 113: | ||
<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 | <td class="extra-details"><table class="background-color full"><tr><td>'''Selection option for: ''' | ||
{{{requirements}}}</td></tr></table></onlyinclude> | {{WrapMultiLine|{{RenderLink|{{{parentenhancement}}}}}}}</td></tr><tr><td>'''Requirements'''</td></tr><tr><td> | ||
{{WrapMultiLine|{{{requirements}}}}}</td></tr></table></onlyinclude> |
Latest revision as of 13:25, 24 September 2022
{{EnhItemSelectorOption |name= |parentenhancement= |link= |ranks= |cost= |activationcost= |cooldown= |rank1benefit= |rank1activationcost= |rank1cooldown= |rank2benefit= |rank2activationcost= |rank2cooldown= |rank3benefit= |rank3activationcost= |rank3cooldown= |benefitline= |benefitbottomline= |description= |multiselectdescription= |icon= }}
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) |
parentenhancement | Which enhancement this is in use Template:PageLink |
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 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 |
multiselectdescription | The description to use when this is a multi-select, on the main enhancement. This is not shown on this page. |
bug | Displays information about how this enhancement is not working as described. Use Template:Bug |
icon | The icon to use, if not default |
requirements | 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.
|
|