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 |...")
 
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
|example1=<nowiki>{{EnhItemCostTreeGroup|1|Arcanotechnician|Divine Disciple|Arcane Archer|Tainted Scholar}}</nowiki>
|example1=<nowiki>{{EnhItemCostTreeGroup|1|Arcanotechnician|Divine Disciple|Arcane Archer|Tainted Scholar}}</nowiki>
|example1output={{EnhItemCostTreeGroup|1|Arcanotechnician|Divine Disciple|Arcane Archer|Tainted Scholar}}
|example1output={{EnhItemCostTreeGroup|1|Arcanotechnician|Divine Disciple|Arcane Archer|Tainted Scholar}}
|example2=<nowiki>{{EnhItemCostTreeGroup|1|Arcanotechnician|Divine Disciple|Arcane Archer|Tainted Scholar}}</nowiki>
|example2output={{EnhItemCostTreeGroup|1|Arcanotechnician|Divine Disciple|Arcane Archer|Tainted Scholar}}
|parameter1name = cost
|parameter1name = cost
|parameter1description = The AP cost for group
|parameter1description = The AP cost for group
|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>

Latest revision as of 15:32, 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)
{{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}}})