Difference between revisions of "Template:ElementalResistance"

From DDO Compendium
(Created page with "<noinclude>This template is used for enhancements to Elemental Resistance.Category:Template Used in this manner: <br><nowiki>{{ElementalResistance|(element)|(Modifier)|(M...")
 
Line 1: Line 1:
<noinclude>This template is used for enhancements to Elemental Resistance.[[Category:Template]]
<noinclude>[[Category:Template]][[Category:Item Enchantment Template]]{{TemplateDocumentation
 
|name = ElementalResistance
Used in this manner:
|description = This template is used on equipment for the Elemental Resistance enchantment.  Elemental Resistance is an enchantment than aides a defender in resisting elemental damage.
<br><nowiki>{{ElementalResistance|(element)|(Modifier)|(ModType (opt))}}</nowiki><br>
|example1 = <nowiki>{{ElementalResistance|Fire|5|Insightful}}</nowiki>
<br>Such that <nowiki>{{ElementalResistance|Fire|5|Insightful}}</nowiki> results in<br>
|example1output = {{ElementalResistance|Fire|5|Insightful}}
<br>{{ElementalResistance|Fire|5|Insightful}}
|parameter1name = Element
|parameter1description = This is the element that is being resisted.
|parameter1values =
|parameter2name = Enhancement Amount
|parameter2description = This is the amount that is being resisted.
|parameter2values =
|parameter3name = Bonus Type
|parameter3description = This is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Enhancement.
|parameter3values =
}}
</noinclude>
</noinclude>
=== Template ===
<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|}}} {{{1}}} Resistance]]'''[[{{{3|}}} {{{1}}} Resistance|{{{3|}}} {{{1}}} Resistance {{{2}}}:]]''' {{#ifexpr: {{{2}}} < 0||+}}{{{2}}} {{{3|Enhancement}}} {{#ifexpr: {{{2}}} < 0|penalty|bonus to Resist {{{1}}}}}.</onlyinclude>

Revision as of 18:30, 5 May 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.

Usage[edit]

{{ElementalResistance|(Element)|(Enhancement Amount)|(Bonus Type)}}

Parameter Documentation
ElementThis is the element that is being resisted.
Enhancement AmountThis is the amount that is being resisted.
Bonus TypeThis 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 "{"..