Difference between revisions of "Template:SpellTarget"

From DDO Compendium
Line 15: Line 15:
* Breakable
* Breakable
* Undead
* Undead
* Humanoid
* Weapon
}}
}}
</noinclude>
</noinclude>
Line 25: Line 27:
| 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}}
| 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}}
}}{{#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 33: Line 37:
| 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}}
| 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}}
}}{{#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 41: Line 47:
| 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}}
| 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}}
}}{{#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 49: Line 57:
| 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}}
| 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}}
}}{{#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 57: Line 67:
| 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}}
| 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}}
}}{{#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 65: Line 77:
| 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}}
| 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}}
}}{{#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 73: Line 87:
| 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}}
| 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}}
}}</span></onlyinclude>
}}</span></onlyinclude>

Revision as of 14:49, 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.