Difference between revisions of "Template:EnhTree"

From DDO Compendium
 
(90 intermediate revisions by 2 users 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=
|unlock=
|unlocker=
}}
}}
</pre>
</pre>
{{TemplateDocumentation
{{TemplateDocumentation
|name = EnhancementTree
|name = EnhancementTree
|description = This template is used to render information about an enhancement tree. Example of the Template in Use: [[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:EnhancementTreeItem]] for 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:EnhancementTreeItem]] for every tier 1 value.
|parameter6name = core2
|parameter5values =  
|parameter6description = Use [[Template:EnhTier]] listing every core value.
|parameter6name = tier2
|parameter7name = core2description
|parameter6description = Use [[Template:EnhancementTreeItem]] for 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:EnhancementTreeItem]] for every tier 3 value.
|parameter9name = tier2
|parameter7values =
|parameter9description = Use [[Template:EnhTier]] listing every tier 2 value.
|parameter8name = tier4
|parameter10name = tier3
|parameter8description = Use [[Template:EnhancementTreeItem]] for 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:EnhancementTreeItem]] for every tier 5 value.
|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 = isracial
|parameter13name = tier6
|parameter10description = Set to "True" if this is a racial tree, not a class.
|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
}}</noinclude>
|parameter14description = Which type of tree is this
|parameter14values =  
* Racial
* EpicDestiny
* Reaper
* Everything else is a normal enhancement tree
|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">Enhancement Tree For: [[{{{treeowner}}}]]</div>
<div class="box inner-box">{{#switch: {{lc:{{{type|}}}}}
<div class="box inner-box">[[File:{{{name}}} Tree.png|border|300px|]]</div>
| reaper = Reaper Tree
| 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">
<table class="compendiumtable">
<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>
<tr class="header"><th>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">
<table class="compendiumtable">
{{#dplvar:set|location|tier1|tree|{{{name}}}}}
<tr class="header"><th>Enhancement</th><th>Benefit</th><th>Ranks</th><th>AP</th><th>Points Spent</th><th>Requirements</th></tr>
<table class="compendiumtable compendiumtablenonsortable">
<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>
</div>
</div>
<div class="sub-paragraph-header">Tier 2 enhancements</div><div class="paragraph-body">
<div class="sub-paragraph-header">Tier 2 enhancements</div><div class="paragraph-body">
<table class="compendiumtable">
{{#dplvar:set|location|tier2|tree|{{{name}}}}}
<tr class="header"><th>Enhancement</th><th>Benefit</th><th>Ranks</th><th>AP</th><th>Points Spent</th><th>Requirements</th></tr>
<table class="compendiumtable compendiumtablenonsortable">
<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>
</div>
</div>
<div class="sub-paragraph-header">Tier 3 enhancements</div><div class="paragraph-body">
<div class="sub-paragraph-header">Tier 3 enhancements</div><div class="paragraph-body">
<table class="compendiumtable">
{{#dplvar:set|location|tier3|tree|{{{name}}}}}
<tr class="header"><th>Enhancement</th><th>Benefit</th><th>Ranks</th><th>AP</th><th>Points Spent</th><th>Requirements</th></tr>
<table class="compendiumtable compendiumtablenonsortable">
<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>
</div>
</div>
<div class="sub-paragraph-header">Tier 4 enhancements</div><div class="paragraph-body">
<div class="sub-paragraph-header">Tier 4 enhancements</div><div class="paragraph-body">
<table class="compendiumtable">
{{#dplvar:set|location|tier4|tree|{{{name}}}}}
<tr class="header"><th>Enhancement</th><th>Benefit</th><th>Ranks</th><th>AP</th><th>Points Spent</th><th>Requirements</th></tr>
<table class="compendiumtable compendiumtablenonsortable">
<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">
<table class="compendiumtable">
{{#dplvar:set|location|tier5|tree|{{{name}}}}}
<tr class="header"><th>Enhancement</th><th>Benefit</th><th>Ranks</th><th>AP</th><th>Points Spent</th><th>Requirements</th></tr>
<table class="compendiumtable compendiumtablenonsortable">
<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>}}
</div>
<noinclude>
 
{{#ifeq: {{lc:{{{type|}}}}}|epicdestiny|
[[Category:Enhancement Trees]]
<div class="sub-paragraph-header">Tier 6 enhancements</div><div class="paragraph-body">
{{#dplvar:set|location|tier6|tree|{{{name}}}}}
<table class="compendiumtable compendiumtablenonsortable">
<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}}}
</table>
</div>}}
</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