Difference between revisions of "Template:SpellFocus"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(15 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude>{{TemplateDocumentation | ||
|name = SpellFocus | |||
|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}} | |||
| 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 = | | #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 | |
School | This is the spell school that the DC is added to. You can use Mastery if it is for all schools. Possible Values:
|
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 Equipment. |
Title | The 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.