Difference between revisions of "Template:Resistance"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude>{{TemplateDocumentation | ||
|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| | |category=Item Enchantment Template | ||
|example1output = {{Resistance|3| | |example1 = <nowiki>{{Resistance|3|Insightful}}</nowiki> | ||
|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. | ||
|parameter1values = | |parameter1values = | ||
|parameter2name = Bonus Type | |parameter2name = Bonus Type | ||
|parameter2description = This is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to | |parameter2description = This is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Resistance. | ||
|parameter2values = | |parameter2values = | ||
|parameter3name = Resistance Type | |||
|parameter3description = The custom resistance type (Optional) | |||
|parameter3values = | |||
* Leave blank for default | |||
* Curse | |||
* Enchantment | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude> | <onlyinclude>{{#switch: {{lc:{{{3}}}}} | ||
|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}} | |||
|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> |
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 Amount | This is the amount that is added to the saving throw. |
Bonus Type | This is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Resistance. |
Resistance Type | The custom resistance type (Optional) Possible Values:
|
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.