Difference between revisions of "Template:EnhItemCost"

From DDO Compendium
Line 10: Line 10:
|parameter2name = cost
|parameter2name = cost
|parameter2description = The AP cost
|parameter2description = The AP cost
}}</noinclude><onlyinclude>{{#if: {{#dplvar:tree}}||{{{2}}} ({{{1}}}){{#if: {{{3|}}}|, {{{4}}} ({{{3}}})}}{{#if: {{{5|}}}|, {{{6}}} ({{{5}}})}}{{#if: {{{7|}}}|, {{{8}}} ({{{7}}})}}{{#if: {{{9|}}}|, {{{10}}} ({{{9}}})}}{{#if: {{{11|}}}|, {{{12}}} ({{{11}}})}}{{#if: {{{13|}}}|, {{{14}}} ({{{13}}})}}{{#if: {{{15|}}}|, {{{16}}} ({{{15}}})}}{{#if: {{{17|}}}|, {{{18}}} ({{{17}}})}}{{#if: {{{19|}}}|, {{{20}}} ({{{19}}})}}}}{{#ifeq: {{#dplvar:tree}}|{{{1}}}|{{{2}}}}}{{#ifeq: {{#dplvar:tree}}|{{{3}}}|{{{4}}}}}{{#ifeq: {{#dplvar:tree}}|{{{5}}}|{{{6}}}}}{{#ifeq: {{#dplvar:tree}}|{{{7}}}|{{{8}}}}}{{#ifeq: {{#dplvar:tree}}|{{{9}}}|{{{10}}}}}{{#ifeq: {{#dplvar:tree}}|{{{11}}}|{{{12}}}}}{{#ifeq: {{#dplvar:tree}}|{{{13}}}|{{{14}}}}}{{#ifeq: {{#dplvar:tree}}|{{{15}}}|{{{16}}}}}{{#ifeq: {{#dplvar:tree}}|{{{17}}}|{{{18}}}}}{{#ifeq: {{#dplvar:tree}}|{{{19}}}|{{{20}}}}}</onlyinclude>
}}</noinclude><onlyinclude>{{EnhItemCostTree|{{{1}}}|{{{2}}}}}{{#if: {{{3|}}}|{{EnhItemCostTree|{{{3}}}|{{{4}}}|True}}}}{{#if: {{{5|}}}|{{EnhItemCostTree|{{{5}}}|{{{6}}}|True}}}}{{#if: {{{7|}}}|{{EnhItemCostTree|{{{7}}}|{{{8}}}|True}}}}{{#if: {{{9|}}}|{{EnhItemCostTree|{{{9}}}|{{{10}}}|True}}}}{{#if: {{{11|}}}|{{EnhItemCostTree|{{{11}}}|{{{12}}}|True}}}}{{#if: {{{13|}}}|{{EnhItemCostTree|{{{13}}}|{{{14}}}|True}}}}{{#if: {{{15|}}}|{{EnhItemCostTree|{{{15}}}|{{{16}}}|True}}}}{{#if: {{{17|}}}|{{EnhItemCostTree|{{{17}}}|{{{18}}}|True}}}}{{#if: {{{19|}}}|{{EnhItemCostTree|{{{19}}}|{{{20}}}|True}}}}</onlyinclude>

Revision as of 15:46, 2 July 2019


EnhItemCost[edit]

Template used to add an AP cost

Example Usage
{{EnhItemCost|Warpriest|1|War Soul|2}}1 (Warpriest), 2 (War Soul)

Usage[edit]

{{EnhItemCost|(tree)|(cost)}}

Parameter Documentation
treeThe tree for this price, repeat up to 10 times
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}}}