Difference between revisions of "Template:EnhTree"

From DDO Compendium
Line 63: Line 63:
}}</noinclude>__NOTOC__ {{#dplvar:set|enhview|nocategories}}
}}</noinclude>__NOTOC__ {{#dplvar:set|enhview|nocategories}}
{{#switch: {{lc:{{{type|}}}}}
{{#switch: {{lc:{{{type|}}}}}
|epicdestiny|epicdestinyu51={{EpicDestinyHeader|{{{name}}}}}
|epicdestiny={{EpicDestinyHeader|{{{name}}}}}
|#default=<bootstrap_panel heading="Click for Links to Other Trees" class="link-pointer" collapsible>{{EnhTreeHeader}}</bootstrap_panel>
|#default=<bootstrap_panel heading="Click for Links to Other Trees" class="link-pointer" collapsible>{{EnhTreeHeader}}</bootstrap_panel>
}}
}}
Line 71: Line 71:
<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]]<div class="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|link=DDO Point]] DDO Points:''' {{{ddopoints}}}}}{{#if: {{{favor|}}} |<br>'''Favor:''' {{{favor}}}}}{{#if: {{{expansion|}}} |<br>'''Expansion:''' {{RenderLink|{{{expansion}}}}}}}|Free}}</div>
| epicdestiny = [[Epic Destinies|Epic Destiny]]
| epicdestinyu51 = [[Epic Destinies|Epic Destiny]]
| #default = {{#if: {{{treeowner|}}} | Tree For: [[{{{treeowner}}}]]|Universal Tree}}<div class="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|link=DDO Point]] DDO Points:''' {{{ddopoints}}}}}{{#if: {{{favor|}}} |<br>'''Favor:''' {{{favor}}}}}{{#if: {{{expansion|}}} |<br>'''Expansion:''' {{RenderLink|{{{expansion}}}}}}}|Free}}</div>
| #default = {{#if: {{{treeowner|}}} | Tree For: [[{{{treeowner}}}]]|Universal Tree}}<div class="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|link=DDO Point]] DDO Points:''' {{{ddopoints}}}}}{{#if: {{{favor|}}} |<br>'''Favor:''' {{{favor}}}}}{{#if: {{{expansion|}}} |<br>'''Expansion:''' {{RenderLink|{{{expansion}}}}}}}|Free}}</div>
}}</div>
}}</div>

Revision as of 21:00, 3 November 2021

{{Template:EnhancementTree
|name = 
|treeowner= 
|overview=
|core=
|tier1=
|tier2=
|tier3=
|tier4=
|tier5=
|type=
|ddopoints=
|totalfavor=
|expansion=
|vip=
|sphere=
}}

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.
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
ddopointsHow much this costs in the ddo store.
favorFavor needed to get it, use Template:FavorReward
expansionWhat is the name of the expansion, if this came as part of one.
vipIf this has a value it is free to vips
sphereThis is the sphere that the epic destiny is in. It only plays a roll if the type is EpicDestiny

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}}}

EnhancementBenefitRanksAPSpentRequirements
Tier 1 enhancements

{{{tier1}}}

EnhancementBenefitRanksAPSpentRequirements
Tier 2 enhancements

{{{tier2}}}

EnhancementBenefitRanksAPSpentRequirements
Tier 3 enhancements

{{{tier3}}}

EnhancementBenefitRanksAPSpentRequirements
Tier 4 enhancements

{{{tier4}}}

EnhancementBenefitRanksAPSpentRequirements
Tier 5 enhancements

{{{tier5}}}

EnhancementBenefitRanksAPSpentRequirements