Difference between revisions of "Template:ItemEnchantment"

From DDO Compendium
Line 7: Line 7:
|related=
|related=
|enchantmentname=
|enchantmentname=
|specificeffects=
}}
}}
</pre>
</pre>
Line 24: Line 25:
|parameter5name=enchantmentname
|parameter5name=enchantmentname
|parameter5description=This is the name of the enchantment, if different than the title, used for category links.
|parameter5description=This is the name of the enchantment, if different than the title, used for category links.
|parameter6name=specificeffects
|parameter6description=This is a list of specific effects (i.e. Lesser, Greater).  Use [[Template:ItemEnchantmentEffects]]
}}</noinclude><includeonly>{{#if:{{{enchantmentname|}}}|{{#dplvar:set|title|{{{enchantmentname}}}}}|{{#dplvar:set|title|{{{title}}}}}}}
}}</noinclude><includeonly>{{#if:{{{enchantmentname|}}}|{{#dplvar:set|title|{{{enchantmentname}}}}}|{{#dplvar:set|title|{{{title}}}}}}}
<div class="row">
<div class="row">
Line 32: Line 35:
</tr>{{#if: {{{effect|}}}|<tr>
</tr>{{#if: {{{effect|}}}|<tr>
<td><h2>Effect</h2>{{{effect}}}</td>
<td><h2>Effect</h2>{{{effect}}}</td>
</tr>}}{{#if: {{{specificeffects|}}}|<tr>
<td{{{specificeffects}}}</td>
</tr>}}
</tr>}}
</table>
</table>

Revision as of 18:39, 27 May 2022


{{Template:ItemEnchantment
|title = 
|overview=
|related=
|enchantmentname=
|specificeffects=
}}

ItemEnchantment[edit]

This template is used to render information about an enchantment for an item

Usage[edit]

Parameter Documentation
titleThe title of the enchantment.
overviewThe overview of the enchantment.
relatedOther pages related to this one
effectThis is the text of the effect on items.
enchantmentnameThis is the name of the enchantment, if different than the title, used for category links.
specificeffectsThis is a list of specific effects (i.e. Lesser, Greater). Use Template:ItemEnchantmentEffects

Template

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