Difference between revisions of "Template:EnhItemCostTree"

From DDO Compendium
Line 12: Line 12:
|parameter2name = cost
|parameter2name = cost
|parameter2description = The AP cost
|parameter2description = The AP cost
|parameter3name = comma
|parameter3description = Include a comma if appropriate
}}</noinclude><onlyinclude>{{#switch: {{lc:{{{1}}}}}
}}</noinclude><onlyinclude>{{#switch: {{lc:{{{1}}}}}
|arcanotechnician
|arcanotechnician
Line 84: Line 86:
|dire thaumaturge
|dire thaumaturge
|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}}}}}|{{#if: {{{3|}}}|,&nbsp;}}{{{2}}} ({{{1}}})}}
|#default={{{1}}}
|#default={{{1}}}
}}</onlyinclude>
}}</onlyinclude>

Revision as of 15:41, 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)|(comma)}}

Parameter Documentation
treeThe tree for this price,
costThe AP cost
commaInclude a comma if appropriate

Template

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


{{{1}}}