Difference between revisions of "Template:ItemEnchantment"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
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 | |
title | The title of the enchantment. |
overview | The overview of the enchantment. |
related | Other pages related to this one |
effect | This is the text of the effect on items. |
enchantmentname | This is the name of the enchantment, if different than the title, used for category links. |
specificeffects | This 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.