Difference between revisions of "Template:EnhItemCost"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 4: | Line 4: | ||
|description= Template used to add an AP cost | |description= Template used to add an AP cost | ||
|parameter1name = tree | |parameter1name = tree | ||
|parameter1description = The tree for this price, | |parameter1description = The tree for this price, repeat up to 10 times | ||
|parameter2name = cost | |parameter2name = cost | ||
|parameter2description = The AP cost | |parameter2description = The AP cost | ||
}}</noinclude><onlyinclude>{{#if: {{#dplvar:tree}}||{{{2}}} ({{{1}}}) | }}</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> |
Revision as of 01:29, 11 July 2018
EnhItemCost[edit]
Template used to add an AP cost
Usage[edit]
{{EnhItemCost|(tree)|(cost)}}
Parameter Documentation | |
tree | The tree for this price, repeat up to 10 times |
cost | The AP cost |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
{{{2}}} ({{{1}}}){{#if |, {{{4}}} ({{{3}}})}}{{#if |, {{{6}}} ({{{5}}})}}{{#if |, {{{8}}} ({{{7}}})}}{{#if |, {{{10}}} ({{{9}}})}}{{#if |, {{{12}}} ({{{11}}})}}{{#if |, {{{14}}} ({{{13}}})}}{{#if |, {{{16}}} ({{{15}}})}}{{#if |, {{{18}}} ({{{17}}})}}{{#if |, {{{20}}} ({{{19}}})}}{{{2}}}{{{4}}}{{{6}}}{{{8}}}{{{10}}}{{{12}}}{{{14}}}{{{16}}}{{{18}}}{{{20}}}