Difference between revisions of "Template:EnchCat"

From DDO Compendium
Line 4: Line 4:
|description = This template is used to render the categories of an item enchantment, and handle the different views.
|description = This template is used to render the categories of an item enchantment, and handle the different views.
|category=Shared Templates
|category=Shared Templates
|example1 = <nowiki>{{EnchCat|Abilities#Constitution|Constitution +3|}}</nowiki>
|example1output = {{EnchCat|Abilities#Constitution|Constitution +3}}
|example2 = <nowiki>{{EnchCat|Abilities#Constitution|Constitution -1|Curse of Clumsiness}}</nowiki>
|example2output = {{EnchCat|Abilities#Constitution|Constitution -1|Curse of Clumsiness}}
|example3 = <nowiki>{{EnchCat|Abilities#Constitution|Constitution -1|Curse of Clumsiness|True}}</nowiki>
|example3output = {{EnchCat|Abilities#Constitution|Constitution -1|Curse of Clumsiness|True}}
|parameter1name = Template
|parameter1name = Template
|parameter1description = The name of the template that this category is for, do not include the Template: designation
|parameter1description = The name of the template that this category is for, do not include the Template: designation

Revision as of 16:14, 10 December 2019


RenderEnchantmentTitle[edit]

This template is used to render the categories of an item enchantment, and handle the different views.

Usage[edit]

{{RenderEnchantmentTitle|(Template)|(Categories)}}

Parameter Documentation
TemplateThe name of the template that this category is for, do not include the Template: designation
CategoriesThe name of the category, do not include the Category:. 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.


[[Category:{{{2}}}]]