Difference between revisions of "Template:EnhItemCostTree"

From DDO Compendium
Line 7: Line 7:
|example1output={{EnhItemCostTree|Warpriest|1}}
|example1output={{EnhItemCostTree|Warpriest|1}}
|example2=<nowiki>{{EnhItemCostTree|{{EnhItemCostTreeGroup|1|Arcanotechnician|Divine Disciple|Arcane Archer|Tainted Scholar}}|1}}</nowiki>
|example2=<nowiki>{{EnhItemCostTree|{{EnhItemCostTreeGroup|1|Arcanotechnician|Divine Disciple|Arcane Archer|Tainted Scholar}}|1}}</nowiki>
|example2output={{EnhItemCostTree|{{EnhItemCostTreeGroup|Arcanotechnician|Divine Disciple|Arcane Archer|Tainted Scholar}}|1}}
|example2output={{EnhItemCostTree|{{EnhItemCostTreeGroup|1|Arcanotechnician|Divine Disciple|Arcane Archer|Tainted Scholar}}|1}}
|parameter1name = tree
|parameter1name = tree
|parameter1description = The tree for this price,
|parameter1description = The tree for this price,
Line 85: Line 85:
|dread adversary
|dread adversary
|grim barricade={{#if: {{#dplvar:tree}}|{{#ifeq: {{#dplvar:tree}}|{{{1}}}|{{{2}}}}}|{{{2}}} ({{{1}}})}}
|grim barricade={{#if: {{#dplvar:tree}}|{{#ifeq: {{#dplvar:tree}}|{{{1}}}|{{{2}}}}}|{{{2}}} ({{{1}}})}}
|#default=here{{{1}}}
|#default={{{1}}}
}}</onlyinclude>
}}</onlyinclude>

Revision as of 15:32, 2 July 2019


Template:EnhItemCostTree[edit]

Internal Template used to add an AP cost for a single tree

Example Usage
{{EnhItemCostTree|Warpriest|1}}1 (Warpriest)
{{EnhItemCostTree|{{EnhItemCostTreeGroup|1|Arcanotechnician|Divine Disciple|Arcane Archer|Tainted Scholar}}|1}}1 (Arcanotechnician, Divine Disciple, Arcane Archer, Tainted Scholar)

Usage[edit]

{{Template:EnhItemCostTree|(tree)|(cost)}}

Parameter Documentation
treeThe tree for this price,
costThe AP cost

Template

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


{{{1}}}