Difference between revisions of "Template:Resistance"

From DDO Compendium
Line 20: Line 20:
}}
}}
</noinclude>
</noinclude>
<onlyinclude>{{#switch: {{{3}}}
<onlyinclude>{{#switch: {{lc:{{{3}}}}}
|Curse = {{#ifeq: {{FULLPAGENAME}} |Template:Resistance||[[Category:Items with Curse Resistance]]}}[[Curse Resistance|'''{{BonusTypeNameConversion|{{{2|}}}|True}} Curse Resistance +{{{1}}}:''']] Passive: +{{{1}}} {{BonusTypeNameConversion|{{{2|Enhancement}}}}} bonus to saves versus curses.
|curse = {{EnchTitle|Curse Resistance|{{BonusTypeNameConversion|{{{2|}}}|True}} Curse Resistance +{{{1}}}}}{{#ifeq: {{#dplvar:enhview}}|titleonly||{{#ifeq: {{FULLPAGENAME}} |Template:Resistance||[[Category:Items with Curse Resistance]]}}Passive: +{{{1}}} {{BonusTypeNameConversion|{{{2|Enhancement}}}}} bonus to saves versus curses.}}
|#default = {{#ifeq: {{FULLPAGENAME}} |Template:Resistance||[[Category: Items with a Bonus to All Saves]]}}[[Saves | '''{{BonusTypeNameConversion|{{{2|}}}|True}} Resistance +{{{1}}}:''']] Passive: +{{{1}}} {{BonusTypeNameConversion|{{{2|Resistance}}}}} bonus to Fortitude, Reflex, and Will Saving Throws.
 
|#default = {{EnchTitle|Saves|{{BonusTypeNameConversion|{{{2|}}}|True}} Resistance +{{{1}}}}}{{#ifeq: {{#dplvar:enhview}}|titleonly||{{#ifeq: {{FULLPAGENAME}} |Template:Resistance||[[Category: Items with a Bonus to All Saves]]}}Passive: +{{{1}}} {{BonusTypeNameConversion|{{{2|Resistance}}}}} bonus to Fortitude, Reflex, and Will Saving Throws.}}
}}</onlyinclude>
}}</onlyinclude>

Revision as of 21:10, 6 December 2019

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 Insight 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 Resistance.
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.