Difference between revisions of "Template:EnhTree"

From DDO Compendium
 
(39 intermediate revisions by the same user not shown)
Line 6: Line 6:
|overview=
|overview=
|core=
|core=
|coredescription=
|core2=
|core2description=
|tier1=
|tier1=
|tier2=
|tier2=
Line 12: Line 15:
|tier5=
|tier5=
|type=
|type=
|ddopoints=
|unlock=
|totalfavor=
|unlocker=
|expansion=
|vip=
|sphere=
|otherversion=
}}
}}
</pre>
</pre>
Line 33: Line 32:
|parameter4name = core
|parameter4name = core
|parameter4description = Use [[Template:EnhTier]] listing every core value.
|parameter4description = Use [[Template:EnhTier]] listing every core value.
|parameter5name = tier1
|parameter5name = coredescription
|parameter5description = Use [[Template:EnhTier]] listing every tier 1 value.
|parameter5description = A description of this core, if one is needed
|parameter6name = tier2
|parameter6name = core2
|parameter6description = Use [[Template:EnhTier]] listing every tier 2 value.
|parameter6description = Use [[Template:EnhTier]] listing every core value.
|parameter7name = tier3
|parameter7name = core2description
|parameter7description = Use [[Template:EnhTier]] listing every tier 3 value.
|parameter7description = A description of this core, if one is needed
|parameter8name = tier4
|parameter8name = tier1
|parameter8description = Use [[Template:EnhTier]] listing every tier 4 value.
|parameter8description = Use [[Template:EnhTier]] listing every tier 1 value.
|parameter9name = tier5
|parameter9name = tier2
|parameter9description = Use [[Template:EnhTier]] listing every tier 5 value. This tier is only valid for Class Enhancements and Epic Destinies (will not show if type is set to Racial).
|parameter9description = Use [[Template:EnhTier]] listing every tier 2 value.
|parameter10name = tier6
|parameter10name = tier3
|parameter10description = Use [[Template:EnhTier]] listing every tier 6 value. This tier is only valid for Epic Destinies (will only show if type is set to EpicDestiny).
|parameter10description = Use [[Template:EnhTier]] listing every tier 3 value.
|parameter11name = type
|parameter11name = tier4
|parameter11description = Which type of tree is this
|parameter11description = Use [[Template:EnhTier]] listing every tier 4 value.
|parameter11values =  
|parameter12name = tier5
|parameter12description = Use [[Template:EnhTier]] listing every tier 5 value. This tier is only valid for Class Enhancements and Epic Destinies (will not show if type is set to Racial).
|parameter13name = tier6
|parameter13description = Use [[Template:EnhTier]] listing every tier 6 value. This tier is only valid for Epic Destinies (will only show if type is set to EpicDestiny).
|parameter14name = type
|parameter14description = Which type of tree is this
|parameter14values =  
* Racial
* Racial
* EpicDestiny
* EpicDestiny
* Reaper
* Reaper
* Everything else is a normal enhancement tree
* Everything else is a normal enhancement tree
|parameter12name = ddopoints
|parameter15name = unlock
|parameter12description = How much this costs in the ddo store.
|parameter15description = This specifies information on how to unlock. Use one of the drop location templates to specify it. The list of templates can be found here: [[:Category:DropLocation Templates]]. If there is more than one, put each on its own line starting with an asterisk.
|parameter13name = favor
|parameter16name = unlocker
|parameter13description = Favor needed to get it, use [[Template:FavorReward]]
|parameter16description = The name of the NPC that will unlock this destiny
|parameter14name = expansion
|parameter17name = treeowner2
|parameter14description = What is the name of the expansion, if this came as part of one.
|parameter17description = The second owner of this tree
|parameter15name = vip
}}</noinclude>__NOTOC__ {{#dplvar:set|enhview|nocategories}}
|parameter15description = If this has a value it is free to vips
{{#switch: {{lc:{{{type|}}}}}
|parameter15name = sphere
| reaper = {{#dplvar:set|costcolheader|Reaper<br>Points}}
|parameter15description = This is the sphere that the epic destiny is in.  It only plays a roll if the type is EpicDestiny
| epicdestiny = {{#dplvar:set|costcolheader|Destiny<br>Points}}
|parameter16name = otherversion
| #default ={{#dplvar:set|costcolheader|Action<br>Points}}
|parameter16description = This is to handle links to either an older or newer version.  Use [[Template:OtherVersion]]
}}
}}</noinclude>
{{#switch: {{lc:{{{type|}}}}}
{{#if: {{{otherversion|}}}|{{{otherversion}}}}}{{#ifeq: {{lc:{{{type|}}}}}|epicdestiny|{{EpicDestinyHeader|{{{name}}}}}|<bootstrap_panel heading="Click for Links to Other Trees" class="link-pointer" collapsible>{{EnhTreeHeader}}</bootstrap_panel>}}
|epicdestiny={{EpicDestinyHeader|{{{name}}}}}
|#default=<bootstrap_panel heading="Click for Links to Other Trees" class="link-pointer" collapsible>{{EnhTreeHeader}}</bootstrap_panel>
}}
<div>
<div>
<div class="quest">
<div class="quest">
Line 71: Line 78:
<div class="box inner-box">{{#switch: {{lc:{{{type|}}}}}
<div class="box inner-box">{{#switch: {{lc:{{{type|}}}}}
| reaper = Reaper Tree
| reaper = Reaper Tree
| epicdestiny = {{#if: {{{sphere|}}}|{{{sphere}}}}} [[Epic Destinies|Epic Destiny]]
| epicdestiny = [[Epic Destinies|Epic Destiny]]<br>'''NPC: ''' {{RenderLink|{{{unlocker}}}}}<div class="inner-box"><span class="box-header">'''Unlock'''</span>{{#if: {{{unlock|}}}|{{WrapMultiLine|{{{unlock}}}}}}}</div>
| #default = {{#if: {{{treeowner|}}} | Tree For: [[{{{treeowner}}}]]|Universal Tree}}
| #default = {{#if: {{{treeowner|}}} | Tree For: <ul><li>[[{{{treeowner}}}]]</li>{{#if: {{{treeowner2|}}}|<li>[[{{{treeowner2}}}]]</li>}}</ul>|Universal Tree}}<div class="inner-box"><span class="box-header">'''Unlock'''</span>{{#if: {{{unlock|}}}|{{WrapMultiLine|{{{unlock}}}}}|* Free}}</div>
}}</div>
}}</div>
<div class="box inner-box"><span class="box-header">'''Unlock'''</span><br>{{#if: {{{ddopoints|}}}{{{favor|}}}{{{expansion|}}}|{{#if: {{{vip|}}} |Free to VIP|Not Free to VIP}}<br>{{#if: {{{ddopoints|}}} |'''[[File:DDOPointsIcon.png]] DDO Points:''' {{{ddopoints}}}}}{{#if: {{{favor|}}} |<br>'''Favor:''' {{{favor}}}}}{{#if: {{{expansion|}}} |<br>'''Expansion:''' [[{{{expansion}}}]]}}|Free}}</div>
<div class="box inner-box">[[File:{{{name}}} Tree.png|150px]]</div>
<div class="box inner-box">[[File:{{{name}}} Tree.png|150px]]</div>
</div>
</div>
<div class="paragraph-header">Overview</div><div class="paragraph-body">{{{overview}}}</div>
<div class="paragraph-header">Overview</div><div class="paragraph-body">{{{overview}}}</div>
<div class="sub-paragraph-header">Core enhancements</div><div class="paragraph-body">
<div class="sub-paragraph-header">Core enhancements</div><div class="paragraph-body">{{#if: {{{coredescription|}}}|{{{coredescription|}}}}}{{#dplvar:set|location|core|tree|{{{name}}}}}{{#dplvar:set|display|table}}<table class="compendiumtable compendiumtablenonsortable">
{{#dplvar:set|location|core|tree|{{{name}}}}}
<tr class="header"><th style="width:1%">Enhancement</th><th>Benefit</th><th>Ranks</th><th>{{#dplvar:costcolheader}}</th><th>Spent</th><th>Requirements</th></tr>
{{#dplvar:set|display|table}}
<table class="compendiumtable compendiumtablenonsortable">
<tr class="header"><th style="width:1%">Enhancement</th><th>Benefit</th><th>Ranks</th><th>AP</th><th>Points Spent</th><th>Requirements</th></tr>
{{{core}}}
{{{core}}}
</table>
</table>{{#if: {{{core2|}}}|{{#if: {{{core2description|}}}|{{{core2description|}}}}}{{#dplvar:set|location|core|tree|{{{name}}}}}{{#dplvar:set|display|table}}<table class="compendiumtable compendiumtablenonsortable">
</div>
<tr class="header"><th style="width:1%">Enhancement</th><th>Benefit</th><th>Ranks</th><th>{{#dplvar:costcolheader}}</th><th>Spent</th><th>Requirements</th></tr>
{{{core2}}}
</table>}}</div>
<div class="sub-paragraph-header">Tier 1 enhancements</div><div class="paragraph-body">
<div class="sub-paragraph-header">Tier 1 enhancements</div><div class="paragraph-body">
{{#dplvar:set|location|tier1|tree|{{{name}}}}}
{{#dplvar:set|location|tier1|tree|{{{name}}}}}
<table class="compendiumtable compendiumtablenonsortable">
<table class="compendiumtable compendiumtablenonsortable">
<tr class="header"><th style="width:1%">Enhancement</th><th>Benefit</th><th>Ranks</th><th>AP</th><th>Points Spent</th><th>Requirements</th></tr>
<tr class="header"><th style="width:1%">Enhancement</th><th>Benefit</th><th>Ranks</th><th>{{#dplvar:costcolheader}}</th><th>Spent</th><th>Requirements</th></tr>
{{{tier1}}}
{{{tier1}}}
</table>
</table>
Line 96: Line 101:
{{#dplvar:set|location|tier2|tree|{{{name}}}}}
{{#dplvar:set|location|tier2|tree|{{{name}}}}}
<table class="compendiumtable compendiumtablenonsortable">
<table class="compendiumtable compendiumtablenonsortable">
<tr class="header"><th style="width:1%">Enhancement</th><th>Benefit</th><th>Ranks</th><th>AP</th><th>Points Spent</th><th>Requirements</th></tr>
<tr class="header"><th style="width:1%">Enhancement</th><th>Benefit</th><th>Ranks</th><th>{{#dplvar:costcolheader}}</th><th>Spent</th><th>Requirements</th></tr>
{{{tier2}}}
{{{tier2}}}
</table>
</table>
Line 103: Line 108:
{{#dplvar:set|location|tier3|tree|{{{name}}}}}
{{#dplvar:set|location|tier3|tree|{{{name}}}}}
<table class="compendiumtable compendiumtablenonsortable">
<table class="compendiumtable compendiumtablenonsortable">
<tr class="header"><th style="width:1%">Enhancement</th><th>Benefit</th><th>Ranks</th><th>AP</th><th>Points Spent</th><th>Requirements</th></tr>
<tr class="header"><th style="width:1%">Enhancement</th><th>Benefit</th><th>Ranks</th><th>{{#dplvar:costcolheader}}</th><th>Spent</th><th>Requirements</th></tr>
{{{tier3}}}
{{{tier3}}}
</table>
</table>
Line 110: Line 115:
{{#dplvar:set|location|tier4|tree|{{{name}}}}}
{{#dplvar:set|location|tier4|tree|{{{name}}}}}
<table class="compendiumtable compendiumtablenonsortable">
<table class="compendiumtable compendiumtablenonsortable">
<tr class="header"><th style="width:1%">Enhancement</th><th>Benefit</th><th>Ranks</th><th>AP</th><th>Points Spent</th><th>Requirements</th></tr>
<tr class="header"><th style="width:1%">Enhancement</th><th>Benefit</th><th>Ranks</th><th>{{#dplvar:costcolheader}}</th><th>Spent</th><th>Requirements</th></tr>
{{{tier4}}}
{{{tier4}}}
</table>
</table>
Line 118: Line 123:
{{#dplvar:set|location|tier5|tree|{{{name}}}}}
{{#dplvar:set|location|tier5|tree|{{{name}}}}}
<table class="compendiumtable compendiumtablenonsortable">
<table class="compendiumtable compendiumtablenonsortable">
<tr class="header"><th style="width:1%">Enhancement</th><th>Benefit</th><th>Ranks</th><th>AP</th><th>Points Spent</th><th>Requirements</th></tr>
<tr class="header"><th style="width:1%">Enhancement</th><th>Benefit</th><th>Ranks</th><th>{{#dplvar:costcolheader}}</th><th>Spent</th><th>Requirements</th></tr>
{{{tier5}}}
{{{tier5}}}
</table>
</table>
</div>}}
</div>}}
<noinclude>
{{#ifeq: {{lc:{{{type|}}}}}|epicdestiny|
{{#ifeq: {{lc:{{{type|}}}}}|epicdestiny|
<div class="sub-paragraph-header">Tier 6 enhancements</div><div class="paragraph-body">
<div class="sub-paragraph-header">Tier 6 enhancements</div><div class="paragraph-body">
{{#dplvar:set|location|tier6|tree|{{{name}}}}}
{{#dplvar:set|location|tier6|tree|{{{name}}}}}
<table class="compendiumtable compendiumtablenonsortable">
<table class="compendiumtable compendiumtablenonsortable">
<tr class="header"><th style="width:1%">Enhancement</th><th>Benefit</th><th>Ranks</th><th>AP</th><th>Points Spent</th><th>Requirements</th></tr>
<tr class="header"><th style="width:1%">Enhancement</th><th>Benefit</th><th>Ranks</th><th>{{#dplvar:costcolheader}}</th><th>Spent</th><th>Requirements</th></tr>
{{{tier6}}}
{{{tier6}}}
</table>
</table>
</div>}}
</div>}}
</div>{{#ifeq: {{lc:{{{type|}}}}}|racial|[[Category:Racial Enhancement Trees]][[Category:Enhancement Trees]]|{{#ifeq: {{lc:{{{type|}}}}}|epicdestiny|[[Category:Epic Destinies]]|[[Category:Enhancement Trees]]}}}}
</noinclude>
</div>{{#ifeq: {{lc:{{{type|}}}}}|racial|[[Category:Racial Enhancement Trees]][[Category:Enhancement Trees]]|{{#ifeq: {{lc:{{{type|}}}}}|epicdestiny|[[Category:Epic Destinies]]|[[Category:Enhancement Trees]]}}}}{{#dplvar:set|enhview|}}{{#dplvar:set|location||tree|}}{{#dplvar:set|display|}}{{#dplvar:set|costcolheader|}}

Latest revision as of 21:25, 8 March 2024

{{Template:EnhancementTree
|name = 
|treeowner= 
|overview=
|core=
|coredescription=
|core2=
|core2description=
|tier1=
|tier2=
|tier3=
|tier4=
|tier5=
|type=
|unlock=
|unlocker=
}}

EnhancementTree[edit]

This template is used to render information about an enhancement tree. Example of the Template in Use: Arcanotechnician.

Usage[edit]

Parameter Documentation
nameThe name of the enhancement tree
treeownerWhat class/race is this tree for.
overviewAn overview description of this tree
coreUse Template:EnhTier listing every core value.
coredescriptionA description of this core, if one is needed
core2Use Template:EnhTier listing every core value.
core2descriptionA description of this core, if one is needed
tier1Use Template:EnhTier listing every tier 1 value.
tier2Use Template:EnhTier listing every tier 2 value.
tier3Use Template:EnhTier listing every tier 3 value.
tier4Use Template:EnhTier listing every tier 4 value.
tier5Use Template:EnhTier listing every tier 5 value. This tier is only valid for Class Enhancements and Epic Destinies (will not show if type is set to Racial).
tier6Use Template:EnhTier listing every tier 6 value. This tier is only valid for Epic Destinies (will only show if type is set to EpicDestiny).
typeWhich type of tree is this
Possible Values:
  • Racial
  • EpicDestiny
  • Reaper
  • Everything else is a normal enhancement tree
unlockThis specifies information on how to unlock. Use one of the drop location templates to specify it. The list of templates can be found here: Category:DropLocation Templates. If there is more than one, put each on its own line starting with an asterisk.
unlockerThe name of the NPC that will unlock this destiny
treeowner2The second owner of this tree

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.


Universal Tree
Unlock
  • Free
[[File:{{{name}}} Tree.png|150px]]
Overview
{{{overview}}}
Core enhancements

{{{core}}}

EnhancementBenefitRanksAction
Points
SpentRequirements
Tier 1 enhancements

{{{tier1}}}

EnhancementBenefitRanksAction
Points
SpentRequirements
Tier 2 enhancements

{{{tier2}}}

EnhancementBenefitRanksAction
Points
SpentRequirements
Tier 3 enhancements

{{{tier3}}}

EnhancementBenefitRanksAction
Points
SpentRequirements
Tier 4 enhancements

{{{tier4}}}

EnhancementBenefitRanksAction
Points
SpentRequirements
Tier 5 enhancements

{{{tier5}}}

EnhancementBenefitRanksAction
Points
SpentRequirements