Difference between revisions of "Template:ElementalResistance"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 5: | Line 5: | ||
|example1 = <nowiki>{{ElementalResistance|Fire|5|Insightful}}</nowiki> | |example1 = <nowiki>{{ElementalResistance|Fire|5|Insightful}}</nowiki> | ||
|example1output = {{ElementalResistance|Fire|5|Insightful}} | |example1output = {{ElementalResistance|Fire|5|Insightful}} | ||
|example2 = <nowiki>{{ElementalResistance|All|5|Insightful}}</nowiki> | |||
|example2output = {{ElementalResistance|All|5|Insightful}} | |||
|parameter1name = Element | |parameter1name = Element | ||
|parameter1description = This is the element that is being resisted. | |parameter1description = This is the element that is being resisted. Use '''all''' for all elements. | ||
|parameter1values = | |parameter1values = | ||
|parameter2name = Enhancement Amount | |parameter2name = Enhancement Amount | ||
Line 16: | Line 18: | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude>[[Category:Items with {{{3|}}} {{{1}}} Resistance]]'''[[{{{3|}}} {{{1}}} Resistance|{{{3|}}} {{{1}}} Resistance {{{2}}}:]]''' {{#ifexpr: {{{2}}} < 0||+}}{{{2}}} {{{3|Enhancement}}} {{#ifexpr: {{{2}}} < 0|penalty|bonus to Resist {{{1}}}}}.</onlyinclude> | <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|Elemental|{{{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 All. |
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 "{"..