Difference between revisions of "Template:EnhTree"

From DDO Compendium
 
(53 intermediate revisions by the same user not shown)
Line 6: Line 6:
|overview=
|overview=
|core=
|core=
|coredescription=
|core2=
|core2description=
|tier1=
|tier1=
|tier2=
|tier2=
Line 11: Line 14:
|tier4=
|tier4=
|tier5=
|tier5=
|isracial=
|type=
|isepicdestiny=
|unlock=
|ddopoints=
|unlocker=
|totalfavor=
|expansion=
}}
}}
</pre>
</pre>
Line 21: Line 22:
|name = EnhancementTree
|name = EnhancementTree
|description = This template is used to render information about an enhancement tree. Example of the Template in Use: [[Arcanotechnician Tree|Arcanotechnician]].
|description = This template is used to render information about an enhancement tree. Example of the Template in Use: [[Arcanotechnician Tree|Arcanotechnician]].
|category=Enhancement Templates
|usesnamedparameters = true
|usesnamedparameters = true
|parameter1name = name
|parameter1name = name
|parameter1description = The name of the enhancement tree
|parameter1description = The name of the enhancement tree
|parameter1values =
|parameter2name = treeowner
|parameter2name = treeowner
|parameter2description = What class/race is this tree for.
|parameter2description = What class/race is this tree for.
|parameter2values =
|parameter3name = overview
|parameter3name = overview
|parameter3description = An overview description of this tree
|parameter3description = An overview description of this tree
|parameter3values =
|parameter4name = core
|parameter4name = core
|parameter4description = Use [[Template:EnhTier]] listing every core value.
|parameter4description = Use [[Template:EnhTier]] listing every core value.
|parameter4values =  
|parameter5name = coredescription
|parameter5name = tier1
|parameter5description = A description of this core, if one is needed
|parameter5description = Use [[Template:EnhTier]] listing every tier 1 value.
|parameter6name = core2
|parameter5values =  
|parameter6description = Use [[Template:EnhTier]] listing every core value.
|parameter6name = tier2
|parameter7name = core2description
|parameter6description = Use [[Template:EnhTier]] listing every tier 2 value.
|parameter7description = A description of this core, if one is needed
|parameter6values =  
|parameter8name = tier1
|parameter7name = tier3
|parameter8description = Use [[Template:EnhTier]] listing every tier 1 value.
|parameter7description = Use [[Template:EnhTier]] listing every tier 3 value.
|parameter9name = tier2
|parameter7values =
|parameter9description = Use [[Template:EnhTier]] listing every tier 2 value.
|parameter8name = tier4
|parameter10name = tier3
|parameter8description = Use [[Template:EnhTier]] listing every tier 4 value.
|parameter10description = Use [[Template:EnhTier]] listing every tier 3 value.
|parameter8values =
|parameter11name = tier4
|parameter9name = tier5
|parameter11description = Use [[Template:EnhTier]] listing every tier 4 value.
|parameter9description = Use [[Template:EnhTier]] listing every tier 5 value. This tier is only valid for Class Enhancements and Epic Destinies (will not show if isracial is true).
|parameter12name = tier5
|parameter9values =
|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).
|parameter10name = tier6
|parameter13name = tier6
|parameter10description = Use [[Template:EnhTier]] listing every tier 6 value. This tier is only valid for Epic Destinies (will only show if isepicdestiny is true).
|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).
|parameter10values =  
|parameter14name = type
|parameter11name = isracial
|parameter14description = Which type of tree is this
|parameter11description = Set to "True" if this is a racial tree, not a class or ED.  This restricts it to only 4 tiers.
|parameter11values =
|parameter12name = isepicdestiny
|parameter12description = Set to "True" if this is an epic destiny tree, not a class, or racial.  This expands it to 6 tiers.
|parameter12values =
|parameter13name = ddopoints
|parameter13description = How much this costs in the ddo store.
|parameter13values =
|parameter14name = favor
|parameter14description = Favor needed to get it, use [[Template:FavorReward]]
|parameter14values =  
|parameter14values =  
|parameter15name = expansion
* Racial
|parameter15description = What is the name of the expansion, if this came as part of one.
* EpicDestiny
|parameter15values =  
* Reaper
}}</noinclude>
* Everything else is a normal enhancement tree
<bootstrap_panel heading="Click for Links to Other Trees" class="link-pointer" collapsible>{{EnhTreeHeader}}</bootstrap_panel>
|parameter15name = unlock
|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.
|parameter16name = unlocker
|parameter16description = The name of the NPC that will unlock this destiny
|parameter17name = treeowner2
|parameter17description = The second owner of this tree
}}</noinclude>__NOTOC__ {{#dplvar:set|enhview|nocategories}}
{{#switch: {{lc:{{{type|}}}}}
| reaper = {{#dplvar:set|costcolheader|Reaper<br>Points}}
| epicdestiny = {{#dplvar:set|costcolheader|Destiny<br>Points}}
| #default ={{#dplvar:set|costcolheader|Action<br>Points}}
}}
{{#switch: {{lc:{{{type|}}}}}
|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">
<div class="box outer-box">
<div class="box outer-box">
<div class="box inner-box">{{#if: {{{treeowner|}}} | Tree For: [[{{{treeowner}}}]]|Universal Tree}}</div>
<div class="box inner-box">{{#switch: {{lc:{{{type|}}}}}
<div class="box inner-box"><span class="box-header">'''Unlock'''</span><br>{{#if: {{{ddopoints|}}}{{{favor|}}}{{{expansion|}}}|{{#if: {{{ddopoints|}}} |'''[[File:DDOPointsIcon.png]] DDO Points:''' {{{ddopoints}}}}}{{#if: {{{favor|}}} |<br>'''Favor:''' {{{favor}}}}}{{#if: {{{expansion|}}} |<br>'''Expansion:''' [[{{{expansion}}}]]}}|Free}}</div>
| reaper = Reaper Tree
<div class="box inner-box">[[File:{{{name}}} Tree.png|border|150px]]</div>
| 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: <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 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 95: 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 102: 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 109: 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>
</div>
</div>
{{#if: {{{isracial|}}}||
{{#ifeq: {{lc:{{{type|}}}}}|racial||
<div class="sub-paragraph-header">Tier 5 enhancements</div><div class="paragraph-body">
<div class="sub-paragraph-header">Tier 5 enhancements</div><div class="paragraph-body">
{{#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>}}
{{#if: {{{isepicdestiny|}}}|
<noinclude>
<div class="sub-paragraph-header">Tier 5 enhancements</div><div class="paragraph-body">
{{#ifeq: {{lc:{{{type|}}}}}|epicdestiny|
<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>{{#if: {{{isracial|}}}|[[Category:Racial Enhancement Trees]][[Category:Enhancement Trees]]|{{#if: {{{isepicdestiny|}}}|[[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