Difference between revisions of "Template:EnhCat"

From DDO Compendium
(Created page with "<noinclude> {{TemplateDocumentation |name = EnhCat |description = This template is used to render the categories of tree enhancement - the EnhItem template automatically calls...")
 
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 = Template
|parameter1name = Tree names
|parameter1description = The name of the template that this category is for, do not include the Template: designation
|parameter1description = The names of the trees, do not include the Category:.  This can be repeated up to 20 times
|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:{{{1}}}||{{#switch: {{lc:{{#dplvar:enhview}}}}
{{#ifeq: {{FULLPAGENAME}} |Template:EnhCat||{{#switch: {{lc:{{#dplvar:enhview}}}}
|titleonly=
|titleonly=
|nocategories=
|nocategories=
|#default=[[Category: Enhancement]]{{#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: {{{20|}}}|[[Category:Enhancements in {{{20}}}]]}}{{#if: {{{21|}}}|[[Category:Enhancements in {{{21}}}]]}}
|#default=[[Category: Enhancement]]{{#if: {{{1|}}}|[[Category:Enhancements in {{{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: {{{20|}}}|[[Category:Enhancements in {{{20}}}]]}}}}}}</onlyinclude>
}}}}</onlyinclude>

Revision as of 12:51, 8 October 2021


EnhCat[edit]

This template is used to render the categories of tree enhancement - the EnhItem template automatically calls this.

Usage[edit]

{{EnhCat|(Tree names)}}

Parameter Documentation
Tree namesThe 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.