Difference between revisions of "Template:EnhItemCostTreeGroup"

From DDO Compendium
(Created page with "<noinclude> {{TemplateDocumentation |name=EnhItemCostTreeGroup |description= Template used to add an a group of classes with the same AP cost |category=Enhancement Templates |...")
 
Line 10: Line 10:
|parameter2name = tree
|parameter2name = tree
|parameter2description = The tree for this price, this can be repeated up to 10 times.
|parameter2description = The tree for this price, this can be repeated up to 10 times.
|parameter2name = cost
|parameter2description = The AP cost
}}</noinclude><onlyinclude>
}}</noinclude><onlyinclude>
{{#if: {{#dplvar:tree}}|{{#ifeq: {{#dplvar:tree}}|{{{2}}}|{{{1}}}}}{{#ifeq: {{#dplvar:tree}}|{{{3}}}|{{{1}}}}}{{#ifeq: {{#dplvar:tree}}|{{{4}}}|{{{1}}}}}{{#ifeq: {{#dplvar:tree}}|{{{5}}}|{{{1}}}}}{{#ifeq: {{#dplvar:tree}}|{{{6}}}|{{{1}}}}}{{#ifeq: {{#dplvar:tree}}|{{{7}}}|{{{1}}}}}{{#ifeq: {{#dplvar:tree}}|{{{8}}}|{{{1}}}}}{{#ifeq: {{#dplvar:tree}}|{{{9}}}|{{{1}}}}}{{#ifeq: {{#dplvar:tree}}|{{{10}}}|{{{1}}}}}{{#ifeq: {{#dplvar:tree}}|{{{11}}}|{{{1}}}}}|{{{1}}} ({{{2}}}{{#if: {{{3|}}}|, {{{3}}}}}{{#if: {{{4|}}}|, {{{4}}}}}{{#if: {{{5|}}}|, {{{5}}}}}{{#if: {{{6|}}}|, {{{6}}}}}{{#if: {{{7|}}}|, {{{7}}}}}{{#if: {{{8|}}}|, {{{8}}}}}{{#if: {{{9|}}}|, {{{9}}}}}{{#if: {{{10|}}}|, {{{10}}}}}{{#if: {{{11|}}}|, {{{11}}}}})}}</onlyinclude>
{{#if: {{#dplvar:tree}}|{{#ifeq: {{#dplvar:tree}}|{{{2}}}|{{{1}}}}}{{#ifeq: {{#dplvar:tree}}|{{{3}}}|{{{1}}}}}{{#ifeq: {{#dplvar:tree}}|{{{4}}}|{{{1}}}}}{{#ifeq: {{#dplvar:tree}}|{{{5}}}|{{{1}}}}}{{#ifeq: {{#dplvar:tree}}|{{{6}}}|{{{1}}}}}{{#ifeq: {{#dplvar:tree}}|{{{7}}}|{{{1}}}}}{{#ifeq: {{#dplvar:tree}}|{{{8}}}|{{{1}}}}}{{#ifeq: {{#dplvar:tree}}|{{{9}}}|{{{1}}}}}{{#ifeq: {{#dplvar:tree}}|{{{10}}}|{{{1}}}}}{{#ifeq: {{#dplvar:tree}}|{{{11}}}|{{{1}}}}}|{{{1}}} ({{{2}}}{{#if: {{{3|}}}|, {{{3}}}}}{{#if: {{{4|}}}|, {{{4}}}}}{{#if: {{{5|}}}|, {{{5}}}}}{{#if: {{{6|}}}|, {{{6}}}}}{{#if: {{{7|}}}|, {{{7}}}}}{{#if: {{{8|}}}|, {{{8}}}}}{{#if: {{{9|}}}|, {{{9}}}}}{{#if: {{{10|}}}|, {{{10}}}}}{{#if: {{{11|}}}|, {{{11}}}}})}}</onlyinclude>

Revision as of 15:28, 2 July 2019


EnhItemCostTreeGroup[edit]

Template used to add an a group of classes with the same AP cost

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

Usage[edit]

{{EnhItemCostTreeGroup|(cost)|(tree)}}

Parameter Documentation
costThe AP cost for group
treeThe tree for this price, this can be repeated up to 10 times.

Template

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


{{{1}}} ({{{2}}})