Difference between revisions of "Template:SpellSchoolSave"

From DDO Compendium
(Created page with "<noinclude>{{TemplateDocumentation |name = SpellSchoolSave |description = This template is used on equipment for the SpellSchoolSave Enchantment. |category=Item Enchantment Te...")
 
 
(12 intermediate revisions by the same user not shown)
Line 3: Line 3:
|description = This template is used on equipment for the SpellSchoolSave Enchantment.
|description = This template is used on equipment for the SpellSchoolSave Enchantment.
|category=Item Enchantment Template
|category=Item Enchantment Template
|example1 = <nowiki>{{SpellSchoolSave|Enchantement|3}}</nowiki>
|example1 = <nowiki>{{SpellSchoolSave|Enchantment|3}}</nowiki>
|example1output = {{SpellSchoolSave|Enchantement|3}}
|example1output = {{SpellSchoolSave|Enchantment|3}}
|example2 = <nowiki>{{SpellSchoolSave|Spell|3|Insight}}</nowiki>
|example2output = {{SpellSchoolSave|Spell|3|Insight}}
|example3 = <nowiki>{{SpellSchoolSave|Enchantment|4|Rage|Raging Focus|Raged}}</nowiki>
|example3output = {{SpellSchoolSave|Enchantment|4|Rage|Raging Focus|Raged}}
|parameter1name = School
|parameter1name = School
|parameter1description = This is the spell school that the DC is added to.  You can use '''Spell''' if it is for all schools.
|parameter1description = This is the spell school that the DC is added to.  You can use '''Spell''' if it is for all schools.
|parameter1values =
|parameter2name = Enhancement Amount
|parameter2name = Enhancement Amount
|parameter2description = This is the amount that the DC is increased.
|parameter2description = This is the amount that the DC is increased.
|parameter2values =
|parameter3name = Bonus Type
|parameter3name = Bonus Type
|parameter3description = This is the type of bonus.  If not specified it defaults to resistance
|parameter3description = This is the type of bonus.  If not specified it defaults to resistance
|parameter3values =  
|parameter4name = Title
|parameter4description = A specific title to this enchantment
|parameter5name = When
|parameter5description = When this is active, like "When Raged".
}}
}}
</noinclude>
</noinclude>
<onlyinclude>[[Category:Items with {{{2|}}} {{{1}}} Saves]]'''[[Spell Saves#{{{1}}}|{{{3|}}} {{{1}}} Save +{{{1}}}:]]''' This item gives a +{{{2}}} {{{3|resistance}}} bonus to your saves versus {{lc:{{{1}}}}} spells.</onlyinclude>
<onlyinclude>{{EnchTitle|Spell Saves#{{{1}}}|{{BonusTypeNameConversion|{{{3|}}}|True}} {{{1}}} Saves +{{{2}}}|{{{4|}}}}}{{EnchBody|{{#if: {{{5|}}}|When {{{5|}}}, this|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>

Latest revision as of 19:15, 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|4|Rage|Raging Focus|Raged}}Raging Focus: When Raged, this item gives a +4 Rage bonus to your saves versus enchantment spells.

Usage[edit]

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

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
WhenWhen this is active, like "When Raged".

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.