Difference between revisions of "Template:SpellFocus"

From DDO Compendium
m (Tealeaf moved page Template:Spell Focus to Template:SpellFocus)
 
(18 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>Usage: <nowiki>{{Spell Focus|(Type)|(Modifier)|(Mod Type opt)}}</nowiki><br><br>
<noinclude>{{TemplateDocumentation
[[Category:Template]]
|name = SpellFocus
Example: <nowiki>{{Spell Focus|Evocation|2|Insight}}</nowiki><br><br>
|description = This template is used on equipment for the SpellFocus enchantment.  SpellFocus adds to the DC of specific spells.
|category=Item Enchantment Template
|example1 = <nowiki>{{SpellFocus|Evocation|2|Insight}}</nowiki>
|example1output = {{SpellFocus|Evocation|2|Insight}}
|example2 = <nowiki>{{SpellFocus|Mastery|3}}</nowiki>
|example2output = {{SpellFocus|Mastery|3}}
|parameter1name = School
|parameter1description = This is the spell school that the DC is added to.  You can use '''Mastery''' if it is for all schools.
|parameter1values =
* Abjuration
* Mastery
* Conjuration
* Divination
* Enchantment
* Evocation
* Illusion
* Necromancy
* Transmutation
* Breath Weapon
* Rune Arm
|parameter2name = Enhancement Amount
|parameter2description = This is the amount that the DC is increased.
|parameter3name = Bonus Type
|parameter3description = This is the type of bonus.  If not specified it defaults to Equipment.
|parameter4name = Title
|parameter4description = The title of the enhancement, if the default is wrong.
}}
</noinclude>
</noinclude><onlyinclude>{{#switch: {{lc:{{{1}}}}}
| mastery = {{EnchTitle|Spell School|{{BonusTypeNameConversion|{{{3|}}}|True}} Spell Focus Mastery +{{{2}}}|{{{4|}}}}}{{EnchBody|Passive: +{{{2}}} {{BonusTypeNameConversion|{{{3|Equipment}}}}} bonus to DC of all spells.}}{{EnchCat|SpellFocus|Items with Spell Focus Mastery}}


{{Spell Focus|Evocation|2|Insight}}


</noinclude><onlyinclude>[[Category:Items with {{{1}}} Focus]]'''[[Spell Focus|{{{3|}}} {{{1}}} Focus +{{{2}}}:]]''' +{{{2}}} {{{3|Equipment}}} bonus to DC of {{{1}}} spells.</onlyinclude>
| rune arm = {{EnchTitle|Spell School#Rune Arm|{{BonusTypeNameConversion|{{{3|}}}|True}} Rune Arm Focus +{{{2}}}|{{{4|}}}}}{{EnchBody|Passive: +{{{2}}} {{BonusTypeNameConversion|{{{3|Equipment}}}}} bonus to DC of Rune Arms.}}{{EnchCat|SpellFocus|Items with Rune Arm Focus}}
 
| #default ={{EnchTitle|Spell School#{{{1}}}|{{BonusTypeNameConversion|{{{3|}}}|True}} {{ucfirst:{{lc:{{{1}}}}}}} Focus +{{{2}}}|{{{4|}}}}}{{EnchBody|Passive: +{{{2}}} {{BonusTypeNameConversion|{{{3|Equipment}}}}} bonus to DC of {{ucfirst:{{lc:{{{1}}}}}}} spells.}}{{EnchCat|SpellFocus|Items with {{ucfirst:{{lc:{{{1}}}}}}} Focus}}
}}</onlyinclude>

Latest revision as of 22:31, 2 October 2021

SpellFocus[edit]

This template is used on equipment for the SpellFocus enchantment. SpellFocus adds to the DC of specific spells.

Example Usage
{{SpellFocus|Evocation|2|Insight}}Insightful Evocation Focus +2: Passive: +2 Insight bonus to DC of Evocation spells.
{{SpellFocus|Mastery|3}}Spell Focus Mastery +3: Passive: +3 Equipment bonus to DC of all spells.

Usage[edit]

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

Parameter Documentation
SchoolThis is the spell school that the DC is added to. You can use Mastery if it is for all schools.
Possible Values:
  • Abjuration
  • Mastery
  • Conjuration
  • Divination
  • Enchantment
  • Evocation
  • Illusion
  • Necromancy
  • Transmutation
  • Breath Weapon
  • Rune Arm
Enhancement AmountThis is the amount that the DC is increased.
Bonus TypeThis is the type of bonus. If not specified it defaults to Equipment.
TitleThe title of the enhancement, if the default is wrong.

Template

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


[[Spell School#{{{1}}}|{{{1}}} Focus +{{{2}}}:]] Passive: +{{{2}}} Equipment bonus to DC of {{{1}}} spells.