Difference between revisions of "Template:ItemEnchantment"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(15 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
|related= | |related= | ||
|enchantmentname= | |enchantmentname= | ||
|specificeffects= | |||
}} | }} | ||
</pre> | </pre> | ||
Line 12: | Line 13: | ||
|name = ItemEnchantment | |name = ItemEnchantment | ||
|description = This template is used to render information about an enchantment for an item | |description = This template is used to render information about an enchantment for an item | ||
|category= | |category=Enchantment Description Templates | ||
|usesnamedparameters = true | |usesnamedparameters = true | ||
|parameter1name = title | |parameter1name = title | ||
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>}} | </tr>}}{{#if: {{{specificeffects|}}}|{{{specificeffects}}}}} | ||
</table> | </table> | ||
</div> | </div> | ||
Line 40: | Line 43: | ||
<div class="col-sm-4"> | <div class="col-sm-4"> | ||
<table class="table table-striped table-condensed"> | <table class="table table-striped table-condensed"> | ||
<tr><td><h2>Sources | <tr><td><h2>Sources</h2>{{PageExists|Category:Items_with_a {{#dplvar:title}} Bonus|* [[:Category:Items_with_a {{#dplvar:title}} Bonus|Loot]]}}{{PageExists|Category:Items_with_{{#dplvar:title}}|* [[:Category:Items_with_{{#dplvar:title}}|Loot]]}}{{PageExists|Category:Items_with_a_Bonus_to_{{#dplvar:title}}|* [[:Category:Items_with_a_Bonus_to_{{#dplvar:title}}|Loot]]}} | ||
{{ | {{PageExists|Category:Items with Sets that Modify {{#dplvar:title}}|* [[:Category:Items with Sets that Modify {{#dplvar:title}}|Item Sets]]}}{{PageExists|Category:Filigrees that Modify {{#dplvar:title}}|* [[:Category:Filigrees that Modify {{#dplvar:title}}|Filigree Sets]]}}{{PageExists|Category:Enhancements that Modify {{#dplvar:title}}|* [[:Category:Enhancements that Modify {{#dplvar:title}}|Enhancements]]}}{{PageExists|Category:Feats that Modify {{#dplvar:title}}|* [[:Category:Feats that Modify {{#dplvar:title}}|Feats]]}}{{PageExists|Category:Epic Destinies that Modify {{#dplvar:title}}|* [[:Category:Epic Destinies that Modify {{#dplvar:title}}|Epic Destinies]]}}{{PageExists|Category:Reaper Enhancements that Modify {{#dplvar:title}}|* [[:Category:Reaper Enhancements that Modify {{#dplvar:title}}|Reaper Enhancements]]}}</td></tr> | ||
{{#if: {{{related|}}}|<tr><td><h2>Related Pages</h2> | {{#if: {{{related|}}}|<tr><td><h2>Related Pages</h2> | ||
{{{related}}}</td></tr></table> | {{{related}}}</td></tr>}} | ||
</table> | |||
</div> | </div> | ||
</div> | </div> |
Latest revision as of 23:07, 13 August 2024
{{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.