Difference between revisions of "Template:Resistance"

From DDO Compendium
(added curse and extra variable)
Line 2: Line 2:
|name = Resistance  
|name = Resistance  
|description = This template is used on equipment for the Resistance enchantment.  This adds resistance to all saving throws.
|description = This template is used on equipment for the Resistance enchantment.  This adds resistance to all saving throws.
|example1 = <nowiki>{{Resistance|3|InsightFul}}</nowiki>
|example1 = <nowiki>{{Resistance|3|Insightful}}</nowiki>
|example1output = {{Resistance|3|InsightFul}}
|example1output = {{Resistance|3|Insightful}}
|example2 = <nowiki>{{Resistance|4||Curse}}</nowiki>
|example2output = {{Resistance|4||Curse}}
|parameter1name = Enhancement Amount
|parameter1name = Enhancement Amount
|parameter1description = This is the amount that is added to the saving throw.
|parameter1description = This is the amount that is added to the saving throw.
Line 10: Line 12:
|parameter2description = This is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Enhancement.
|parameter2description = This is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Enhancement.
|parameter2values =  
|parameter2values =  
|parameter3name = Resistance Type
|parameter3description = The custom resistance type (Optional)
|parameter3values =
* Leave blank for default
* Curse
}}
}}
</noinclude>
</noinclude>
<onlyinclude>[[Category: Items with a Bonus to All Saves]][[Saves | '''{{{2|}}} Resistance +{{{1}}}:''']] Passive: +{{{1}}} {{{2|}}} Resistance bonus to Fortitude, Reflex, and Will Saving Throws.</onlyinclude>
<onlyinclude>{{#switch: {{{3}}}
|Curse = [[Category:Items with {{{2|}}} Curse Resistance]][[Curse Resistance|'''{{{2|}}} Curse Resistance +{{{1}}}:''']] Passive: +{{{1}}} {{{2|Enhancement}}} bonus to saves versus curses.
|#default = [[Category: Items with a Bonus to All Saves]][[Saves | '''{{{2|}}} Resistance +{{{1}}}:''']] Passive: +{{{1}}} {{{2|}}} Resistance bonus to Fortitude, Reflex, and Will Saving Throws.
}}
</onlyinclude>

Revision as of 14:16, 23 May 2018

Resistance[edit]

This template is used on equipment for the Resistance enchantment. This adds resistance to all saving throws.

Example Usage
{{Resistance|3|Insightful}} Insightful Resistance +3: Passive: +3 Insightful Resistance bonus to Fortitude, Reflex, and Will Saving Throws.
{{Resistance|4||Curse}} Curse Resistance +4: Passive: +4 bonus to saves versus curses.

Usage[edit]

{{Resistance|(Enhancement Amount)|(Bonus Type)|(Resistance Type)}}

Parameter Documentation
Enhancement AmountThis is the amount that is added to the saving throw.
Bonus TypeThis is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Enhancement.
Resistance TypeThe custom resistance type (Optional)
Possible Values:
  • Leave blank for default
  • Curse

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.


Resistance +{{{1}}}: Passive: +{{{1}}} Resistance bonus to Fortitude, Reflex, and Will Saving Throws.