Difference between revisions of "Template:SpellTarget"

From DDO Compendium
(Created page with "<noinclude>{{TemplateDocumentation |name = SpellTarget |description = This template is used to nicely format the targets that are available for this spell. |category=Spell and...")
 
Line 14: Line 14:
* Directional
* Directional
* Breakable
* Breakable
* Undead
}}
}}
</noinclude>
</noinclude>
Line 23: Line 24:
| directional= {{#bootstrap_tooltip: Directional |text= The spell only affects targets in the direction of its casting.|placement=bottom}}
| directional= {{#bootstrap_tooltip: Directional |text= The spell only affects targets in the direction of its casting.|placement=bottom}}
| breakable= {{#bootstrap_tooltip: Breakable |text= The spell can target and break objects like crates or barrels.|placement=bottom}}
| breakable= {{#bootstrap_tooltip: Breakable |text= The spell can target and break objects like crates or barrels.|placement=bottom}}
| undead={{#bootstrap_tooltip: Undead Foe |text= Any PC, NPC, or creature hostile to you that is '''Undead'''.|placement=bottom}}
}}{{#if: {{{2|}}}|,&nbsp;}}{{#switch: {{lc:{{{2}}}}}
}}{{#if: {{{2|}}}|,&nbsp;}}{{#switch: {{lc:{{{2}}}}}
| self = {{#bootstrap_tooltip: Self |text= You|placement=bottom}}
| self = {{#bootstrap_tooltip: Self |text= You|placement=bottom}}
Line 30: Line 32:
| directional= {{#bootstrap_tooltip: Directional |text= The spell only affects targets in the direction of its casting.|placement=bottom}}
| directional= {{#bootstrap_tooltip: Directional |text= The spell only affects targets in the direction of its casting.|placement=bottom}}
| breakable= {{#bootstrap_tooltip: Breakable |text= The spell can target and break objects like crates or barrels.|placement=bottom}}
| breakable= {{#bootstrap_tooltip: Breakable |text= The spell can target and break objects like crates or barrels.|placement=bottom}}
| undead={{#bootstrap_tooltip: Undead Foe |text= Any PC, NPC, or creature hostile to you that is '''Undead'''.|placement=bottom}}
}}{{#if: {{{3|}}}|,&nbsp;}}{{#switch: {{lc:{{{3}}}}}
}}{{#if: {{{3|}}}|,&nbsp;}}{{#switch: {{lc:{{{3}}}}}
| self = {{#bootstrap_tooltip: Self |text= You|placement=bottom}}
| self = {{#bootstrap_tooltip: Self |text= You|placement=bottom}}
Line 37: Line 40:
| directional= {{#bootstrap_tooltip: Directional |text= The spell only affects targets in the direction of its casting.|placement=bottom}}
| directional= {{#bootstrap_tooltip: Directional |text= The spell only affects targets in the direction of its casting.|placement=bottom}}
| breakable= {{#bootstrap_tooltip: Breakable |text= The spell can target and break objects like crates or barrels.|placement=bottom}}
| breakable= {{#bootstrap_tooltip: Breakable |text= The spell can target and break objects like crates or barrels.|placement=bottom}}
| undead={{#bootstrap_tooltip: Undead Foe |text= Any PC, NPC, or creature hostile to you that is '''Undead'''.|placement=bottom}}
}}{{#if: {{{4|}}}|,&nbsp;}}{{#switch: {{lc:{{{4}}}}}
}}{{#if: {{{4|}}}|,&nbsp;}}{{#switch: {{lc:{{{4}}}}}
| self = {{#bootstrap_tooltip: Self |text= You|placement=bottom}}
| self = {{#bootstrap_tooltip: Self |text= You|placement=bottom}}
Line 44: Line 48:
| directional= {{#bootstrap_tooltip: Directional |text= The spell only affects targets in the direction of its casting.|placement=bottom}}
| directional= {{#bootstrap_tooltip: Directional |text= The spell only affects targets in the direction of its casting.|placement=bottom}}
| breakable= {{#bootstrap_tooltip: Breakable |text= The spell can target and break objects like crates or barrels.|placement=bottom}}
| breakable= {{#bootstrap_tooltip: Breakable |text= The spell can target and break objects like crates or barrels.|placement=bottom}}
| undead={{#bootstrap_tooltip: Undead Foe |text= Any PC, NPC, or creature hostile to you that is '''Undead'''.|placement=bottom}}
}}{{#if: {{{5|}}}|,&nbsp;}}{{#switch: {{lc:{{{5}}}}}
}}{{#if: {{{5|}}}|,&nbsp;}}{{#switch: {{lc:{{{5}}}}}
| self = {{#bootstrap_tooltip: Self |text= You|placement=bottom}}
| self = {{#bootstrap_tooltip: Self |text= You|placement=bottom}}
Line 51: Line 56:
| directional= {{#bootstrap_tooltip: Directional |text= The spell only affects targets in the direction of its casting.|placement=bottom}}
| directional= {{#bootstrap_tooltip: Directional |text= The spell only affects targets in the direction of its casting.|placement=bottom}}
| breakable= {{#bootstrap_tooltip: Breakable |text= The spell can target and break objects like crates or barrels.|placement=bottom}}
| breakable= {{#bootstrap_tooltip: Breakable |text= The spell can target and break objects like crates or barrels.|placement=bottom}}
| undead={{#bootstrap_tooltip: Undead Foe |text= Any PC, NPC, or creature hostile to you that is '''Undead'''.|placement=bottom}}
}}{{#if: {{{6|}}}|,&nbsp;}}{{#switch: {{lc:{{{6}}}}}
}}{{#if: {{{6|}}}|,&nbsp;}}{{#switch: {{lc:{{{6}}}}}
| self = {{#bootstrap_tooltip: Self |text= You|placement=bottom}}
| self = {{#bootstrap_tooltip: Self |text= You|placement=bottom}}
Line 58: Line 64:
| directional= {{#bootstrap_tooltip: Directional |text= The spell only affects targets in the direction of its casting.|placement=bottom}}
| directional= {{#bootstrap_tooltip: Directional |text= The spell only affects targets in the direction of its casting.|placement=bottom}}
| breakable= {{#bootstrap_tooltip: Breakable |text= The spell can target and break objects like crates or barrels.|placement=bottom}}
| breakable= {{#bootstrap_tooltip: Breakable |text= The spell can target and break objects like crates or barrels.|placement=bottom}}
| undead={{#bootstrap_tooltip: Undead Foe |text= Any PC, NPC, or creature hostile to you that is '''Undead'''.|placement=bottom}}
}}{{#if: {{{7|}}}|,&nbsp;}}{{#switch: {{lc:{{{7}}}}}
}}{{#if: {{{7|}}}|,&nbsp;}}{{#switch: {{lc:{{{7}}}}}
| self = {{#bootstrap_tooltip: Self |text= You|placement=bottom}}
| self = {{#bootstrap_tooltip: Self |text= You|placement=bottom}}
Line 65: Line 72:
| directional= {{#bootstrap_tooltip: Directional |text= The spell only affects targets in the direction of its casting.|placement=bottom}}
| directional= {{#bootstrap_tooltip: Directional |text= The spell only affects targets in the direction of its casting.|placement=bottom}}
| breakable= {{#bootstrap_tooltip: Breakable |text= The spell can target and break objects like crates or barrels.|placement=bottom}}
| breakable= {{#bootstrap_tooltip: Breakable |text= The spell can target and break objects like crates or barrels.|placement=bottom}}
| undead={{#bootstrap_tooltip: Undead Foe |text= Any PC, NPC, or creature hostile to you that is '''Undead'''.|placement=bottom}}
}}</span></onlyinclude>
}}</span></onlyinclude>

Revision as of 14:39, 21 June 2019

SpellTarget[edit]

This template is used to nicely format the targets that are available for this spell.

Example Usage
{{SpellTarget|Self|Friend|Foe|Positional|Directional|Breakable}}SelfFriendFoePositionalDirectionalBreakable

Usage[edit]

{{SpellTarget|(target)}}

Parameter Documentation
targetEnter the taret that this supports, repeat up to 7 times
Possible Values:
  • Self
  • Friend
  • Foe
  • Positional
  • Directional
  • Breakable
  • Undead

Template

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