Difference between revisions of "Template:SpellSchoolSave"

From DDO Compendium
Line 19: Line 19:
}}
}}
</noinclude>
</noinclude>
<onlyinclude>{{EnchTitle|Spell Saves#{{{1}}}|{{BonusTypeNameConversion|{{{3|}}}|True}} {{{1}}} Saves +{{{2}}}|{{{4|}}}}}{{EnchBody|This item gives a  
<onlyinclude>{{EnchTitle|Spell Saves#{{{1}}}|{{BonusTypeNameConversion|{{{3|}}}|True}} {{{1}}} Saves +{{{2}}}|{{{4|}}}}}{{EnchBody|This item gives a {{#ifexpr: {{{2}}} < 0 ||+}}{{{2}}} {{#ifexpr: {{{2}}} < 0 ||{{BonusTypeNameConversion|{{{3|resistance}}}}}}} {{#ifexpr: {{{2}}} < 0 |penalty|bonus}} to your saves versus {{#ifeq: {{lc:{{{1}}}}}|spell||{{lc:{{{1}}}}}}} spells.}}{{EnchCat|SpellSchoolSave|Items with {{{1}}} Saves}}</onlyinclude>
{{#ifexpr: {{{2}}} < 0 ||+}}{{{2}}} {{#ifexpr: {{{2}}} < 0 ||{{BonusTypeNameConversion|{{{3|resistance}}}}}}} {{#ifexpr: {{{2}}} < 0 |penalty|bonus}} to your saves versus {{#ifeq: {{lc:{{{1}}}}}|spell||{{lc:{{{1}}}}}}} spells.}}{{EnchCat|SpellSchoolSave|Items with {{{1}}} Saves}}</onlyinclude>

Revision as of 18:00, 17 January 2025

SpellSchoolSave[edit]

This template is used on equipment for the SpellSchoolSave Enchantment.

Example Usage
{{SpellSchoolSave|Enchantment|3}}Enchantment Saves +3: This item gives a +3 resistance bonus to your saves versus enchantment spells.
{{SpellSchoolSave|Spell|3|Insight}}Insightful Spell Saves +3: This item gives a +3 Insight bonus to your saves versus spells.
{{SpellSchoolSave|Enchantment|-2||Single-Mindedness}}Single-Mindedness: This item gives a -2 penalty to your saves versus enchantment spells.

Usage[edit]

{{SpellSchoolSave|(School)|(Enhancement Amount)|(Bonus Type)|(Title)}}

Parameter Documentation
SchoolThis is the spell school that the DC is added to. You can use Spell if it is for all schools.
Enhancement AmountThis is the amount that the DC is increased.
Bonus TypeThis is the type of bonus. If not specified it defaults to resistance
TitleA specific title to this enchantment

Template

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


[[Spell Saves#{{{1}}}|{{{1}}} Saves +{{{2}}}:]] This item gives a Expression error: Unrecognized punctuation character "{".{{{2}}} Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{". to your saves versus {{{1}}} spells.