Difference between revisions of "Template:EnhTree"

From DDO Compendium
Line 16: Line 16:
|expansion=
|expansion=
|vip=
|vip=
|sphere=
|unlocker=
}}
}}
</pre>
</pre>
Line 59: Line 59:
|parameter15name = vip
|parameter15name = vip
|parameter15description = If this has a value it is free to vips
|parameter15description = If this has a value it is free to vips
|parameter16name = sphere
|parameter16name = unlocker
|parameter16description = This is the sphere that the epic destiny is in.  It only plays a roll if the type is EpicDestiny
|parameter16description = The name of the NPC that will unlock this destiny
}}</noinclude>__NOTOC__ {{#dplvar:set|enhview|nocategories}}
}}</noinclude>__NOTOC__ {{#dplvar:set|enhview|nocategories}}
{{#switch: {{lc:{{{type|}}}}}
{{#switch: {{lc:{{{type|}}}}}
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 = [[Epic Destinies|Epic Destiny]]
| epicdestiny = [[Epic Destinies|Epic Destiny]]{{#if:{{{unlocker|}}}|<div class="inner-box"><span class="box-header">'''Unlock'''</span>{{RenderLink|{{{unlocker}}}}}</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>
| #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 13:44, 5 November 2021

{{Template:EnhancementTree
|name = 
|treeowner= 
|overview=
|core=
|tier1=
|tier2=
|tier3=
|tier4=
|tier5=
|type=
|ddopoints=
|totalfavor=
|expansion=
|vip=
|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.
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
unlockerThe name of the NPC that will unlock this destiny

Template

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


{{#switch:

| reaper = Reaper Tree | epicdestiny = Epic Destiny

  1. default = 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