Difference between revisions of "Template:ElementalResistance"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 18: | Line 18: | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude>[[Category:Items with {{{3|}}} {{#ifeq: {{lc:{{{1}}}}}|all|Elemental|{{{1}}}}} Resistance]]'''[[{{{3|}}} {{#ifeq: {{lc:{{{1}}}}}|all|Elemental|{{{1}}}}} Resistance|{{{3|}}} {{#ifeq: {{lc:{{{1}}}}}|all|Elemental|{{{1}}}}} Resistance {{{2}}}:]]''' {{#ifexpr: {{{2}}} < 0||+}}{{{2}}} {{{3|Enhancement}}} {{#ifexpr: {{{2}}} < 0|penalty|bonus to Resist {{#ifeq: {{lc:{{{1}}}}}|Acid, Cold, Fire, and Electricity | <onlyinclude>[[Category:Items with {{{3|}}} {{#ifeq: {{lc:{{{1}}}}}|all|Elemental|{{{1}}}}} Resistance]]'''[[{{{3|}}} {{#ifeq: {{lc:{{{1}}}}}|all|Elemental|{{{1}}}}} Resistance|{{{3|}}} {{#ifeq: {{lc:{{{1}}}}}|all|Elemental|{{{1}}}}} Resistance {{{2}}}:]]''' {{#ifexpr: {{{2}}} < 0||+}}{{{2}}} {{{3|Enhancement}}} {{#ifexpr: {{{2}}} < 0|penalty|bonus to Resist {{#ifeq: {{lc:{{{1}}}}}|all|Acid, Cold, Fire, and Electricity|{{{1}}}}}}}.</onlyinclude> |
Revision as of 00:58, 7 November 2018
ElementalResistance[edit]
This template is used on equipment for the Elemental Resistance enchantment. Elemental Resistance is an enchantment than aides a defender in resisting elemental damage.
Example Usage | |
{{ElementalResistance|Fire|5|Insightful}} | Insightful Fire Resistance 5: +5 Insightful bonus to Resist Fire. |
{{ElementalResistance|All|5|Insightful}} | Insightful Elemental Resistance 5: +5 Insightful bonus to Resist Acid, Cold, Fire, and Electricity. |
Usage[edit]
{{ElementalResistance|(Element)|(Enhancement Amount)|(Bonus Type)}}
Parameter Documentation | |
Element | This is the element that is being resisted. Use all for all elements. |
Enhancement Amount | This is the amount that is being resisted. |
Bonus Type | This is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Enhancement. |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
[[Category:Items with {{{1}}} Resistance]][[ {{{1}}} Resistance| {{{1}}} Resistance {{{2}}}:]] Expression error: Unrecognized punctuation character "{".{{{2}}} Enhancement Expression error: Unrecognized punctuation character "{"..