Difference between revisions of "Template:EnhCat"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
|description = This template is used to render the categories of tree enhancement - the EnhItem template automatically calls this. | |description = This template is used to render the categories of tree enhancement - the EnhItem template automatically calls this. | ||
|category=Enhancement Templates | |category=Enhancement Templates | ||
|parameter1name = Tree names | |parameter1name = Is this in a epic destiny | ||
| | |parameter1description = Set to any value if this is an Epic Destiny | ||
|parameter2name = Tree names | |||
|parameter2description = The names of the trees, do not include the Category:. This can be repeated up to 20 times | |||
}} | }} | ||
</noinclude><onlyinclude> | </noinclude><onlyinclude>{{#ifeq: {{FULLPAGENAME}} |Template:EnhCat||{{#ifeq: {{FULLPAGENAME}} |Template:EnhItem||{{#switch: {{lc:{{#dplvar:enhview}}}} | ||
{{#ifeq: {{FULLPAGENAME}} |Template:EnhCat||{{#ifeq: {{FULLPAGENAME}} |Template:EnhItem||{{#switch: {{lc:{{#dplvar:enhview}}}} | |||
|titleonly= | |titleonly= | ||
|nocategories= | |nocategories= | ||
|#default=[[Category: | |#default=[[Category: Enhancements]]{{#if: {{{1|}}}|{{#if: {{{2|}}}|[[Category:Enhancements in {{{2}}}]]}}{{#if: {{{3|}}}|[[Category:Enhancements in {{{3}}}]]}}{{#if: {{{4|}}}|[[Category:Enhancements in {{{4}}}]]}}{{#if: {{{5|}}}|[[Category:Enhancements in {{{5}}}]]}}{{#if: {{{6|}}}|[[Category:Enhancements in {{{6}}}]]}}{{#if: {{{7|}}}|[[Category:Enhancements in {{{7}}}]]}}{{#if: {{{8|}}}|[[Category:Enhancements in {{{8}}}]]}}{{#if: {{{9|}}}|[[Category:Enhancements in {{{9}}}]]}}{{#if: {{{10|}}}|[[Category:Enhancements in {{{10}}}]]}}{{#if: {{{11|}}}|[[Category:Enhancements in {{{11}}}]]}}{{#if: {{{12|}}}|[[Category:Enhancements in {{{12}}}]]}}{{#if: {{{13|}}}|[[Category:Enhancements in {{{13}}}]]}}{{#if: {{{14|}}}|[[Category:Enhancements in {{{14}}}]]}}{{#if: {{{15|}}}|[[Category:Enhancements in {{{15}}}]]}}{{#if: {{{16|}}}|[[Category:Enhancements in {{{16}}}]]}}{{#if: {{{17|}}}|[[Category:Enhancements in {{{17}}}]]}}{{#if: {{{18|}}}|[[Category:Enhancements in {{{18}}}]]}}{{#if: {{{19|}}}|[[Category:Enhancements in {{{19}}}]]}}{{#if: {{{10|}}}|[[Category:Enhancements in {{{20}}}]]}}{{#if: {{{21|}}}|[[Category:Enhancements in {{{21}}}]]}}|{{#if: {{{2|}}}|[[Category:Enhancements in the {{{2}}} Tree]]}}{{#if: {{{3|}}}|[[Category:Enhancements in the {{{3}}} Tree]]}}{{#if: {{{4|}}}|[[Category:Enhancements in the {{{4}}} Tree]]}}{{#if: {{{5|}}}|[[Category:Enhancements in the {{{5}}} Tree]]}}{{#if: {{{6|}}}|[[Category:Enhancements in the {{{6}}} Tree]]}}{{#if: {{{7|}}}|[[Category:Enhancements in the {{{7}}} Tree]]}}{{#if: {{{8|}}}|[[Category:Enhancements in the {{{8}}} Tree]]}}{{#if: {{{9|}}}|[[Category:Enhancements in the {{{9}}} Tree]]}}{{#if: {{{10|}}}|[[Category:Enhancements in the {{{10}}} Tree]]}}{{#if: {{{11|}}}|[[Category:Enhancements in the {{{11}}} Tree]]}}{{#if: {{{12|}}}|[[Category:Enhancements in the {{{12}}} Tree]]}}{{#if: {{{13|}}}|[[Category:Enhancements in the {{{13}}} Tree]]}}{{#if: {{{14|}}}|[[Category:Enhancements in the {{{14}}} Tree]]}}{{#if: {{{15|}}}|[[Category:Enhancements in the {{{15}}} Tree]]}}{{#if: {{{16|}}}|[[Category:Enhancements in the {{{16}}} Tree]]}}{{#if: {{{17|}}}|[[Category:Enhancements in the {{{17}}} Tree]]}}{{#if: {{{18|}}}|[[Category:Enhancements in the {{{18}}} Tree]]}}{{#if: {{{19|}}}|[[Category:Enhancements in the {{{19}}} Tree]]}}{{#if: {{{20|}}}|[[Category:Enhancements in the {{{20}}} Tree]]}}{{#if: {{{21|}}}|[[Category:Enhancements in the {{{21}}} Tree]]}} | ||
}}}}}}}}</onlyinclude> |
Latest revision as of 13:27, 27 October 2021
EnhCat[edit]
This template is used to render the categories of tree enhancement - the EnhItem template automatically calls this.
Usage[edit]
{{EnhCat|(Is this in a epic destiny)|(Tree names)}}
Parameter Documentation | |
Is this in a epic destiny | Set to any value if this is an Epic Destiny |
Tree names | The names of the trees, do not include the Category:. This can be repeated up to 20 times |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.