Difference between revisions of "Template:SpellSchoolSave"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
|example2 = <nowiki>{{SpellSchoolSave|Spell|3|Insight}}</nowiki> | |example2 = <nowiki>{{SpellSchoolSave|Spell|3|Insight}}</nowiki> | ||
|example2output = {{SpellSchoolSave|Spell|3|Insight}} | |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. | ||
|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. | ||
|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 | ||
| | |parameter4name = Title | ||
|parameter4description = A specific title to this enchantment | |||
|parameter5name = When | |||
|parameter5description = When this is active, like "When Raged". | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
<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 | |
School | This is the spell school that the DC is added to. You can use Spell if it is for all schools. |
Enhancement Amount | This is the amount that the DC is increased. |
Bonus Type | This is the type of bonus. If not specified it defaults to resistance |
Title | A specific title to this enchantment |
When | When 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.