Difference between revisions of "Template:SpellTarget"

From DDO Compendium
Line 24: 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}}
| undead={{#bootstrap_tooltip: Undead Foe |text= Any PC, NPC, or creature hostile to you that is Undead.|placement=bottom}}
}}{{#if: {{{2|}}}|, }}{{#switch: {{lc:{{{2}}}}}
}}{{#if: {{{2|}}}|, }}{{#switch: {{lc:{{{2}}}}}
| self = {{#bootstrap_tooltip: Self |text= You|placement=bottom}}
| self = {{#bootstrap_tooltip: Self |text= You|placement=bottom}}
Line 32: 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}}
| undead={{#bootstrap_tooltip: Undead Foe |text= Any PC, NPC, or creature hostile to you that is Undead.|placement=bottom}}
}}{{#if: {{{3|}}}|, }}{{#switch: {{lc:{{{3}}}}}
}}{{#if: {{{3|}}}|, }}{{#switch: {{lc:{{{3}}}}}
| self = {{#bootstrap_tooltip: Self |text= You|placement=bottom}}
| self = {{#bootstrap_tooltip: Self |text= You|placement=bottom}}
Line 40: 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}}
| undead={{#bootstrap_tooltip: Undead Foe |text= Any PC, NPC, or creature hostile to you that is Undead.|placement=bottom}}
}}{{#if: {{{4|}}}|, }}{{#switch: {{lc:{{{4}}}}}
}}{{#if: {{{4|}}}|, }}{{#switch: {{lc:{{{4}}}}}
| self = {{#bootstrap_tooltip: Self |text= You|placement=bottom}}
| self = {{#bootstrap_tooltip: Self |text= You|placement=bottom}}
Line 48: 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}}
| undead={{#bootstrap_tooltip: Undead Foe |text= Any PC, NPC, or creature hostile to you that is Undead.|placement=bottom}}
}}{{#if: {{{5|}}}|, }}{{#switch: {{lc:{{{5}}}}}
}}{{#if: {{{5|}}}|, }}{{#switch: {{lc:{{{5}}}}}
| self = {{#bootstrap_tooltip: Self |text= You|placement=bottom}}
| self = {{#bootstrap_tooltip: Self |text= You|placement=bottom}}
Line 56: 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}}
| undead={{#bootstrap_tooltip: Undead Foe |text= Any PC, NPC, or creature hostile to you that is Undead.|placement=bottom}}
}}{{#if: {{{6|}}}|, }}{{#switch: {{lc:{{{6}}}}}
}}{{#if: {{{6|}}}|, }}{{#switch: {{lc:{{{6}}}}}
| self = {{#bootstrap_tooltip: Self |text= You|placement=bottom}}
| self = {{#bootstrap_tooltip: Self |text= You|placement=bottom}}
Line 64: 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}}
| undead={{#bootstrap_tooltip: Undead Foe |text= Any PC, NPC, or creature hostile to you that is Undead.|placement=bottom}}
}}{{#if: {{{7|}}}|, }}{{#switch: {{lc:{{{7}}}}}
}}{{#if: {{{7|}}}|, }}{{#switch: {{lc:{{{7}}}}}
| self = {{#bootstrap_tooltip: Self |text= You|placement=bottom}}
| self = {{#bootstrap_tooltip: Self |text= You|placement=bottom}}
Line 72: 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}}
| 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:40, 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.