Difference between revisions of "Template:ItemEnchantment"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(20 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
|overview= | |overview= | ||
|related= | |related= | ||
|enchantmentname= | |||
|specificeffects= | |||
}} | }} | ||
</pre> | </pre> | ||
Line 19: | Line 21: | ||
|parameter3name = related | |parameter3name = related | ||
|parameter3description = Other pages related to this one | |parameter3description = Other pages related to this one | ||
}}</noinclude><includeonly> | |parameter4name = effect | ||
|parameter4description = This is the text of the effect on items. | |||
|parameter5name=enchantmentname | |||
|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}}}}}}} | |||
<div class="row"> | <div class="row"> | ||
<div class="col-sm-8"> | <div class="col-sm-8"> | ||
Line 25: | Line 33: | ||
<tr> | <tr> | ||
<td><h2>Overview</h2>{{{overview}}}</td> | <td><h2>Overview</h2>{{{overview}}}</td> | ||
</tr> | </tr>{{#if: {{{effect|}}}|<tr> | ||
<td><h2>Effect</h2>{{{effect}}}</td> | |||
</tr>}}{{#if: {{{specificeffects|}}}|{{{specificeffects}}}}} | |||
</table> | </table> | ||
</div> | </div> | ||
Line 33: | 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> | ||
{{ | {{{related}}}</td></tr>}} | ||
{{ | </table> | ||
{{ | |||
</td></tr>{{#if: {{{related|}}}|<tr><td><h2>Related Pages</h2> | |||
{{{related}}}</td></tr></table> | |||
</div> | </div> | ||
</div> | </div> |
Latest revision as of 15:57, 23 March 2023
{{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.