Difference between revisions of "Template:AddSpellToBook"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude>{{TemplateDocumentation | ||
|name = EnhancementSLA | |name = EnhancementSLA | ||
|description = This template is used on | |description = This template is used on enhancements for the SLA enhancement benefit. | ||
|category=Enhancement Templates | |||
|example1 = <nowiki>{{AddSpellToBook|Enervation||Cleric|4}}</nowiki> | |example1 = <nowiki>{{AddSpellToBook|Enervation||Cleric|4}}</nowiki> | ||
|example1output = {{AddSpellToBook|Enervation||Cleric|4}} | |example1output = {{AddSpellToBook|Enervation||Cleric|4}} | ||
|example2 = <nowiki>{{AddSpellToBook|Enervation||Cleric|4|True}}</nowiki> | |||
|example2output = {{AddSpellToBook|Enervation||Cleric|4|True}} | |||
|parameter1name = Spell | |parameter1name = Spell | ||
|parameter1description = This is the spell that will be added. | |parameter1description = This is the spell that will be added. | ||
|parameter2name = Icon | |parameter2name = Icon | ||
|parameter2description = This is the icon to use, in case the spell has a name that won't work in the icon name. | |parameter2description = This is the icon to use, in case the spell has a name that won't work in the icon name. | ||
|parameter3name = class | |parameter3name = class | ||
|parameter3description = This is the class that the spell is added to | |parameter3description = This is the class that the spell is added to | ||
|parameter4name = level | |parameter4name = level | ||
|parameter4description = This is the level the spell is added at | |parameter4description = This is the level the spell is added at | ||
| | |parameter5name = short | ||
|parameter5description = Display a short version | |||
}} | }} | ||
</noinclude><onlyinclude>{{IconImage|Spell {{{1}}}|{{{2|}}}}} The spell ''' | </noinclude><onlyinclude>{{#if: {{{5|}}}| | ||
Level {{{4}}}: {{IconImage|Spell {{{1}}}|{{{2|}}}}} '''{{RenderLink|{{{1}}}}}'''|{{IconImage|Spell {{{1}}}|{{{2|}}}}} The spell '''{{RenderLink|{{{1}}}}}''' is added to the {{{3}}} spellbook as a level {{{4}}} spell.}}</onlyinclude> |
Latest revision as of 16:46, 18 January 2022
EnhancementSLA[edit]
This template is used on enhancements for the SLA enhancement benefit.
Example Usage | |
{{AddSpellToBook|Enervation||Cleric|4}} | ![]() |
{{AddSpellToBook|Enervation||Cleric|4|True}} | Level 4: ![]() |
Usage[edit]
{{EnhancementSLA|(Spell)|(Icon)|(class)|(level)|(short)}}
Parameter Documentation | |
Spell | This is the spell that will be added. |
Icon | This is the icon to use, in case the spell has a name that won't work in the icon name. |
class | This is the class that the spell is added to |
level | This is the level the spell is added at |
short | Display a short version |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
[[File:Spell {{{1}}}_Icon.png|link=|36px|x36px|]] The spell [[{{{1}}}]] is added to the {{{3}}} spellbook as a level {{{4}}} spell.