Difference between revisions of "Template:SpellAbsorption"

From DDO Compendium
Line 6: Line 6:
|example2 = <nowiki>{{SpellAbsorption|30|3}}</nowiki>
|example2 = <nowiki>{{SpellAbsorption|30|3}}</nowiki>
|example2output = {{SpellAbsorption|30|3}}
|example2output = {{SpellAbsorption|30|3}}
|example3 = <nowiki>{{SpellAbsorption|20||Magic Missiles}}</nowiki>
|example3output = {{SpellAbsorption|20||Magic Missiles}}
|parameter1name = Charges
|parameter1name = Charges
|parameter1description = This is the number of charges that the item has, how many spells it can absorb.
|parameter1description = This is the number of charges that the item has, how many spells it can absorb.
Line 12: Line 14:
|parameter2description = This is the number of charges that are recharged per rest.
|parameter2description = This is the number of charges that are recharged per rest.
|parameter2values =  
|parameter2values =  
|parameter3name = Spell Blocked
|parameter3description = This is the spell that is blocked, if it is blank than all spells are blocked.
|parameter3values =
}}
}}
</noinclude>
</noinclude>
<onlyinclude>[[Category:Items with Spell Absorption]]'''[[Spell Absorption|Spell Absorption:]]''' This effect absorbs {{{1}}} harmful spells. ({{#if: {{{2|}}}|Recharged/Day:{{{2}}}|No Recharges}})</onlyinclude>
<onlyinclude>[[Category:Items with {{3|}} Spell Absorption]]'''[[Spell Absorption|{{{3|Spell}}} Absorption:]]''' This effect absorbs {{{1}}} {{{3|harmful}}} spells targeted at the wearer. ({{#if: {{{2|}}}|Recharged/Day:{{{2}}}|No Recharges}})</onlyinclude>

Revision as of 21:31, 19 May 2018

SpellAbsorption[edit]

This template is used on equipment for the SpellAbsorption enchantment. Spell Absorption is an effect that absorbs all spells. Each time a spell is absorbed it loses a charge. Some items have a recharge rate.

Example Usage
{{SpellAbsorption|20}}[[Category:Items with Template:3 Spell Absorption]]Spell Absorption: This effect absorbs 20 harmful spells targeted at the wearer. (No Recharges)
{{SpellAbsorption|30|3}}[[Category:Items with Template:3 Spell Absorption]]Spell Absorption: This effect absorbs 30 harmful spells targeted at the wearer. (Recharged/Day:3)
{{SpellAbsorption|20||Magic Missiles}}[[Category:Items with Template:3 Spell Absorption]]Magic Missiles Absorption: This effect absorbs 20 Magic Missiles spells targeted at the wearer. (No Recharges)

Usage[edit]

{{SpellAbsorption|(Charges)|(Recharge Rate)|(Spell Blocked)}}

Parameter Documentation
ChargesThis is the number of charges that the item has, how many spells it can absorb.
Recharge RateThis is the number of charges that are recharged per rest.
Spell BlockedThis is the spell that is blocked, if it is blank than all spells are blocked.

Template

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


[[Category:Items with Template:3 Spell Absorption]]Spell Absorption: This effect absorbs {{{1}}} harmful spells targeted at the wearer. (No Recharges)