Difference between revisions of "Template:Resistance"

From DDO Compendium
 
(3 intermediate revisions by the same user not shown)
Line 18: Line 18:
* Leave blank for default
* Leave blank for default
* Curse
* Curse
* Enchantment
}}
}}
</noinclude>
</noinclude>
<onlyinclude>{{#switch: {{lc:{{{3}}}}}
<onlyinclude>{{#switch: {{lc:{{{3}}}}}
|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.}}
|curse = {{EnchTitle|Curse Resistance|{{BonusTypeNameConversion|{{{2|}}}|True}} Curse Resistance +{{{1}}}}}{{EnchBody|Passive: +{{{1}}} {{BonusTypeNameConversion|{{#if: {{{2|}}}|{{{2|}}}|Enhancement}}}} bonus to saves versus curses.}}{{EnchCat|Resistance|Items with Curse Resistance}}


|#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.}}
|enchantment = {{EnchTitle|Enchantment Resistance|{{BonusTypeNameConversion|{{{2|}}}|True}} Enchantment Resistance +{{{1}}}}}{{EnchBody|Passive: +{{{1}}} {{BonusTypeNameConversion|{{#if: {{{2|}}}|{{{2|}}}|Resistance}}}} bonus to saves versus enchantments.}}{{EnchCat|Resistance|Items with Enchantment Resistance}}
 
|#default = {{EnchTitle|Saves|{{BonusTypeNameConversion|{{{2|}}}|True}} Resistance +{{{1}}}}}{{EnchBody|Passive: +{{{1}}} {{BonusTypeNameConversion|{{#if: {{{2|}}}|{{{2|}}}|Resistance}}}} bonus to Fortitude, Reflex, and Will Saving Throws.}}{{EnchCat|Resistance|Items with a Bonus to All Saves}}
}}</onlyinclude>
}}</onlyinclude>

Latest revision as of 19:15, 28 June 2020

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 Enhancement 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
  • Enchantment

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.