Difference between revisions of "Template:EnhItemCostTree"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(5 intermediate revisions by the same user not shown) | |||
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|1|Arcanotechnician|Divine Disciple|Arcane Archer|Tainted Scholar}}|1}} | |example2output={{EnhItemCostTree|{{EnhItemCostTreeGroup|1|Arcanotechnician|Divine Disciple|Arcane Archer|Tainted Scholar}}|1|True}} | ||
|parameter1name = tree | |parameter1name = tree | ||
|parameter1description = The tree for this price, | |parameter1description = The tree for this price, | ||
Line 86: | Line 86: | ||
|dire thaumaturge | |dire thaumaturge | ||
|dread adversary | |dread adversary | ||
|grim barricade={{#if: {{#dplvar:tree}}|{{#ifeq: {{#dplvar:tree}}|{{{1}}}|{{{2}}}}}|{{#if: {{{3|}}}|, }}{{{2}}} ({{{1}}})}} | |grim barricade | ||
|#default={{{1}}} | |draconic incarnation | ||
|fatesinger | |||
|magister | |||
|divine crusader | |||
|exalted angel | |||
|unyielding sentinel | |||
|grandmaster of flowers | |||
|legendary dreadnought | |||
|shadowdancer | |||
|fury of the wild | |||
|primal avatar | |||
|bombardier | |||
|apothecary | |||
|vile chemist | |||
|shiradi champion={{#if: {{#dplvar:tree}}|{{#ifeq: {{#dplvar:tree}}|{{{1}}}|{{{2}}}}}|{{#if: {{{3|}}}|, }}{{{2}}} ({{{1}}})}} | |||
|#default={{#if: {{#dplvar:tree}}|{{{1}}}|{{#if: {{{3|}}}|, }}{{{1}}}}} | |||
}}</onlyinclude> | }}</onlyinclude> |
Latest revision as of 00:30, 30 January 2020
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 | |
tree | The tree for this price, |
cost | The AP cost |
comma | Include 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}}}