Difference between revisions of "Template:SpellTarget"

From DDO Compendium
Line 19: Line 19:
* Armor
* Armor
* Cape
* Cape
* UFriend
}}
}}
</noinclude>
</noinclude>
Line 33: Line 34:
| armor = {{#bootstrap_tooltip: Self (Armor) |text= The currently equipped armor.|placement=bottom}}
| armor = {{#bootstrap_tooltip: Self (Armor) |text= The currently equipped armor.|placement=bottom}}
| cape = {{#bootstrap_tooltip: Self (Cape) |text= The currently equipped cape.|placement=bottom}}
| cape = {{#bootstrap_tooltip: Self (Cape) |text= The currently equipped cape.|placement=bottom}}
| ufriend= {{#bootstrap_tooltip: Friend (Undead) |text= Any PC, NPC, or creature other than yourself that isn't hostile to you and is considered 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 45: Line 47:
| armor = {{#bootstrap_tooltip: Self (Armor) |text= The currently equipped armor.|placement=bottom}}
| armor = {{#bootstrap_tooltip: Self (Armor) |text= The currently equipped armor.|placement=bottom}}
| cape = {{#bootstrap_tooltip: Self (Cape) |text= The currently equipped cape.|placement=bottom}}
| cape = {{#bootstrap_tooltip: Self (Cape) |text= The currently equipped cape.|placement=bottom}}
| ufriend= {{#bootstrap_tooltip: Friend (Undead) |text= Any PC, NPC, or creature other than yourself that isn't hostile to you and is considered 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 57: Line 60:
| armor = {{#bootstrap_tooltip: Self (Armor) |text= The currently equipped armor.|placement=bottom}}
| armor = {{#bootstrap_tooltip: Self (Armor) |text= The currently equipped armor.|placement=bottom}}
| cape = {{#bootstrap_tooltip: Self (Cape) |text= The currently equipped cape.|placement=bottom}}
| cape = {{#bootstrap_tooltip: Self (Cape) |text= The currently equipped cape.|placement=bottom}}
| ufriend= {{#bootstrap_tooltip: Friend (Undead) |text= Any PC, NPC, or creature other than yourself that isn't hostile to you and is considered 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 69: Line 73:
| armor = {{#bootstrap_tooltip: Self (Armor) |text= The currently equipped armor.|placement=bottom}}
| armor = {{#bootstrap_tooltip: Self (Armor) |text= The currently equipped armor.|placement=bottom}}
| cape = {{#bootstrap_tooltip: Self (Cape) |text= The currently equipped cape.|placement=bottom}}
| cape = {{#bootstrap_tooltip: Self (Cape) |text= The currently equipped cape.|placement=bottom}}
| ufriend= {{#bootstrap_tooltip: Friend (Undead) |text= Any PC, NPC, or creature other than yourself that isn't hostile to you and is considered 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 81: Line 86:
| armor = {{#bootstrap_tooltip: Self (Armor) |text= The currently equipped armor.|placement=bottom}}
| armor = {{#bootstrap_tooltip: Self (Armor) |text= The currently equipped armor.|placement=bottom}}
| cape = {{#bootstrap_tooltip: Self (Cape) |text= The currently equipped cape.|placement=bottom}}
| cape = {{#bootstrap_tooltip: Self (Cape) |text= The currently equipped cape.|placement=bottom}}
| ufriend= {{#bootstrap_tooltip: Friend (Undead) |text= Any PC, NPC, or creature other than yourself that isn't hostile to you and is considered 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 93: Line 99:
| armor = {{#bootstrap_tooltip: Self (Armor) |text= The currently equipped armor.|placement=bottom}}
| armor = {{#bootstrap_tooltip: Self (Armor) |text= The currently equipped armor.|placement=bottom}}
| cape = {{#bootstrap_tooltip: Self (Cape) |text= The currently equipped cape.|placement=bottom}}
| cape = {{#bootstrap_tooltip: Self (Cape) |text= The currently equipped cape.|placement=bottom}}
| ufriend= {{#bootstrap_tooltip: Friend (Undead) |text= Any PC, NPC, or creature other than yourself that isn't hostile to you and is considered 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 105: Line 112:
| armor = {{#bootstrap_tooltip: Self (Armor) |text= The currently equipped armor.|placement=bottom}}
| armor = {{#bootstrap_tooltip: Self (Armor) |text= The currently equipped armor.|placement=bottom}}
| cape = {{#bootstrap_tooltip: Self (Cape) |text= The currently equipped cape.|placement=bottom}}
| cape = {{#bootstrap_tooltip: Self (Cape) |text= The currently equipped cape.|placement=bottom}}
| ufriend= {{#bootstrap_tooltip: Friend (Undead) |text= Any PC, NPC, or creature other than yourself that isn't hostile to you and is considered Undead. |placement=bottom}}
}}</span></onlyinclude>
}}</span></onlyinclude>

Revision as of 15:26, 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
  • Armor
  • Cape
  • UFriend

Template

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