Difference between revisions of "Template:ElementalResistance"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 17: | Line 17: | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude>{{ | <onlyinclude>{{EnchTitle|Elemental Resistance|{{BonusTypeNameConversion|{{{3|}}}|True}} {{#ifeq: {{lc:{{{1}}}}}|all|Elemental|{{{1}}}}} Resistance {{{2}}}|{{{4|}}}}}{{#ifeq: {{#dplvar:enhview}}|titleonly||{{#ifeq: {{FULLPAGENAME}} |Template:ElementalResistance||[[Category:Items with {{#ifeq: {{lc:{{{1}}}}}|all|Elemental|{{{1}}}}} Resistance]]}}{{#ifexpr: {{{2}}} < 0||+}}{{{2}}} {{BonusTypeNameConversion|{{#if: {{{3|}}}|{{{3}}}|Enhancement}}}} {{#ifexpr: {{{2}}} < 0|penalty|bonus to Resist {{#ifeq: {{lc:{{{1}}}}}|all|Acid, Cold, Fire, and Electricity|{{{1}}}}}}}.}}</onlyinclude> |
Revision as of 21:03, 5 December 2019
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 Insight bonus to Resist Fire. |
{{ElementalResistance|All|5|Insightful}} | Insightful Elemental Resistance 5: +5 Insight bonus to Resist Acid, Cold, Fire, and Electricity. |
Usage[edit]
{{ElementalResistance|(Element)|(Enhancement Amount)|(Bonus Type)|(Title)}}
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. |
Title | This is the title of the enchantment if it isn't the same as the default. |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
{{{1}}} Resistance {{{2}}}: Expression error: Unrecognized punctuation character "{".{{{2}}} Enhancement Expression error: Unrecognized punctuation character "{"..