Difference between revisions of "Template:SpellTarget"

From DDO Compendium
Line 28: Line 28:
| 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}}
| humanoid= {{#bootstrap_tooltip: Humanoid Foe |text= Any PC, NPC, or creature hostile to you that is a Humanoid.|placement=bottom}}
| humanoid= {{#bootstrap_tooltip: Humanoid Foe |text= Any PC, NPC, or creature hostile to you that is a Humanoid.|placement=bottom}}
| self = {{#bootstrap_tooltip: Equipped Weapon |text= A currently equipped weapon.|placement=bottom}}
| weapon = {{#bootstrap_tooltip: Equipped Weapon |text= A currently equipped weapon.|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 38: Line 38:
| 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}}
| humanoid= {{#bootstrap_tooltip: Humanoid Foe |text= Any PC, NPC, or creature hostile to you that is a Humanoid.|placement=bottom}}
| humanoid= {{#bootstrap_tooltip: Humanoid Foe |text= Any PC, NPC, or creature hostile to you that is a Humanoid.|placement=bottom}}
| self = {{#bootstrap_tooltip: Equipped Weapon |text= A currently equipped weapon.|placement=bottom}}
| weapon = {{#bootstrap_tooltip: Equipped Weapon |text= A currently equipped weapon.|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 48: Line 48:
| 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}}
| humanoid= {{#bootstrap_tooltip: Humanoid Foe |text= Any PC, NPC, or creature hostile to you that is a Humanoid.|placement=bottom}}
| humanoid= {{#bootstrap_tooltip: Humanoid Foe |text= Any PC, NPC, or creature hostile to you that is a Humanoid.|placement=bottom}}
| self = {{#bootstrap_tooltip: Equipped Weapon |text= A currently equipped weapon.|placement=bottom}}
| weapon = {{#bootstrap_tooltip: Equipped Weapon |text= A currently equipped weapon.|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 58: Line 58:
| 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}}
| humanoid= {{#bootstrap_tooltip: Humanoid Foe |text= Any PC, NPC, or creature hostile to you that is a Humanoid.|placement=bottom}}
| humanoid= {{#bootstrap_tooltip: Humanoid Foe |text= Any PC, NPC, or creature hostile to you that is a Humanoid.|placement=bottom}}
| self = {{#bootstrap_tooltip: Equipped Weapon |text= A currently equipped weapon.|placement=bottom}}
| weapon = {{#bootstrap_tooltip: Equipped Weapon |text= A currently equipped weapon.|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 68: Line 68:
| 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}}
| humanoid= {{#bootstrap_tooltip: Humanoid Foe |text= Any PC, NPC, or creature hostile to you that is a Humanoid.|placement=bottom}}
| humanoid= {{#bootstrap_tooltip: Humanoid Foe |text= Any PC, NPC, or creature hostile to you that is a Humanoid.|placement=bottom}}
| self = {{#bootstrap_tooltip: Equipped Weapon |text= A currently equipped weapon.|placement=bottom}}
| weapon = {{#bootstrap_tooltip: Equipped Weapon |text= A currently equipped weapon.|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 78: Line 78:
| 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}}
| humanoid= {{#bootstrap_tooltip: Humanoid Foe |text= Any PC, NPC, or creature hostile to you that is a Humanoid.|placement=bottom}}
| humanoid= {{#bootstrap_tooltip: Humanoid Foe |text= Any PC, NPC, or creature hostile to you that is a Humanoid.|placement=bottom}}
| self = {{#bootstrap_tooltip: Equipped Weapon |text= A currently equipped weapon.|placement=bottom}}
| weapon = {{#bootstrap_tooltip: Equipped Weapon |text= A currently equipped weapon.|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 88: Line 88:
| 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}}
| humanoid= {{#bootstrap_tooltip: Humanoid Foe |text= Any PC, NPC, or creature hostile to you that is a Humanoid.|placement=bottom}}
| humanoid= {{#bootstrap_tooltip: Humanoid Foe |text= Any PC, NPC, or creature hostile to you that is a Humanoid.|placement=bottom}}
| self = {{#bootstrap_tooltip: Equipped Weapon |text= A currently equipped weapon.|placement=bottom}}
| weapon = {{#bootstrap_tooltip: Equipped Weapon |text= A currently equipped weapon.|placement=bottom}}
}}</span></onlyinclude>
}}</span></onlyinclude>

Revision as of 15:03, 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
  • Humanoid
  • Weapon

Template

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