Difference between revisions of "Template:EnhancementSLA"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 25: | Line 25: | ||
|parameter7name = Include Metamagic | |parameter7name = Include Metamagic | ||
|parameter7description = If this is true, the metamagic line from the spell will be shown | |parameter7description = If this is true, the metamagic line from the spell will be shown | ||
}}</noinclude><onlyinclude>{{#dplvar:set|customicon|{{{2|}}}|customcooldown|{{{4|}}}|customcost|{{{5|}}}|showdesc|{{{6|}}}|showmeta|{{{7|}}}}}<table class="{{#ifeq: {{lc:{{#dplvar:displaystyle}}}}|table|compendiumtablecolor|background-color}}" style="width:100%">{{#ifeq: {{FULLPAGENAME}} |Template:EnhancementSLA||{{#DPL: | |parameter8name = Include Primer | ||
|parameter8description = If this is true, the primer line from the spell will be shown | |||
}}</noinclude><onlyinclude>{{#dplvar:set|customicon|{{{2|}}}|customcooldown|{{{4|}}}|customcost|{{{5|}}}|showdesc|{{{6|}}}|showmeta|{{{7|}}}|showprimer|{{{7|}}}}}<table class="{{#ifeq: {{lc:{{#dplvar:displaystyle}}}}|table|compendiumtablecolor|background-color}}" style="width:100%">{{#ifeq: {{FULLPAGENAME}} |Template:EnhancementSLA||{{#DPL: | |||
|title={{{1}}} | |title={{{1}}} | ||
|uses=Template:Spell | |uses=Template:Spell | ||
Line 33: | Line 35: | ||
|include={Spell¦SpellSLADPL} | |include={Spell¦SpellSLADPL} | ||
}}}}</table>{{#if: {{{3|}}}|| | }}}}</table>{{#if: {{{3|}}}|| | ||
You may use Metamagic Feats when casting Spell-Like Abilities at no additional cost.}}</onlyinclude> | You may use Metamagic Feats when casting Spell-Like Abilities at no additional cost.}}{{#dplvar:set|customicon||customcooldown||customcost||showdesc||showmeta||showprimer|}}</onlyinclude> |
Revision as of 13:08, 13 December 2021
EnhancementSLA[edit]
This template is used on enhancement tress for the SLA benefit.
Example Usage | |
{{EnhancementSLA|Bless}} | |
{{EnhancementSLA|Bless||True}} | |
{{EnhancementSLA|Devour the Soul|Spell Trap the Soul}} | |
{{EnhancementSLA|Bless||True|6 Seconds|2 Spell Points}} |
Usage[edit]
{{EnhancementSLA|(Spell)|(Icon)|(Hide metamagic line)|(Cooldown)|(Cost)|(Include Description)|(Include Metamagic)|(Include Primer)}}
Parameter Documentation | |
Spell | This is the spell that will be cast. |
Icon | This is the icon to use, in case the spell has a name that won't work in the icon name. |
Hide metamagic line | If this is true, the metamagic line will be hidden. |
Cooldown | The cooldown, renders nothing if not specified |
Cost | Cost to cast the SLA, renders nothing if not specified |
Include Description | If this is true, the description from the spell will be shown |
Include Metamagic | If this is true, the metamagic line from the spell will be shown |
Include Primer | If this is true, the primer line from the spell will be shown |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
You may use Metamagic Feats when casting Spell-Like Abilities at no additional cost.