Difference between revisions of "Template:SpellTarget"

From DDO Compendium
 
(3 intermediate revisions by the same user not shown)
Line 6: Line 6:
|example1output = {{SpellTarget|Self|Friend|Foe|Positional|Directional|Breakable}}
|example1output = {{SpellTarget|Self|Friend|Foe|Positional|Directional|Breakable}}
|parameter1name = target
|parameter1name = target
|parameter1description = Enter the taret that this supports, repeat up to 7 times
|parameter1description = Enter the taret that this supports, repeat up to 10 times
|parameter1values =  
|parameter1values =  
* Self
* Self
Line 21: Line 21:
* UFriend - A Friend who is undead
* UFriend - A Friend who is undead
* CFriend - A Friend who is a construct
* CFriend - A Friend who is a construct
* Usable
* Construct
* Familiar
}}
}}
</noinclude>
</noinclude>
<onlyinclude><span style="white-space:nowrap">{{#switch: {{lc:{{{1}}}}}
<onlyinclude>{{SpellTargetTooltip|{{{1}}}}}{{#if: {{{2|}}}|, {{SpellTargetTooltip|{{{2}}}}}}}{{#if: {{{3|}}}|, {{SpellTargetTooltip|{{{3}}}}}}}{{#if: {{{4|}}}|, {{SpellTargetTooltip|{{{4}}}}}}}{{#if: {{{5|}}}|, {{SpellTargetTooltip|{{{5}}}}}}}{{#if: {{{6|}}}|, {{SpellTargetTooltip|{{{6}}}}}}}{{#if: {{{7|}}}|, {{SpellTargetTooltip|{{{7}}}}}}}{{#if: {{{8|}}}|, {{SpellTargetTooltip|{{{8}}}}}}}{{#if: {{{9|}}}|, {{SpellTargetTooltip|{{{9}}}}}}}{{#if: {{{10|}}}|, {{SpellTargetTooltip|{{{10}}}}}}}</onlyinclude>
| self = {{#bootstrap_tooltip: Self |text= You|placement=bottom}}
| friend= {{#bootstrap_tooltip: Friend |text= Any PC, NPC, or creature other than yourself that isn't hostile to you. This can include hirelings, summoned creatures, friendly combative NPCs, and other players both in and outside your party.|placement=bottom}}
| foe= {{#bootstrap_tooltip: Foe |text= Any PC, NPC, or creature hostile to you.|placement=bottom}}
| positional= {{#bootstrap_tooltip: Positional |text= The spell creates a stationary effect centered on its initial target (or at the spot along a line to that target at the spell's maximum range, if that target is too far away). The effect does not move with the target afterwards. Also used for spells that summon things to specify where that thing is initially created.|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}}
| 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}}
| weapon = {{#bootstrap_tooltip: Self (Weapon) |text= A currently equipped weapon.|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}}
| 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}}
| cfriend= {{#bootstrap_tooltip: Friend (Construct) |text= Any PC, NPC, or creature other than yourself that isn't hostile to you and is considered a Construct. |placement=bottom}}
}}{{#if: {{{2|}}}|,&nbsp;}}{{#switch: {{lc:{{{2}}}}}
| self = {{#bootstrap_tooltip: Self |text= You|placement=bottom}}
| friend= {{#bootstrap_tooltip: Friend |text= Any PC, NPC, or creature other than yourself that isn't hostile to you. This can include hirelings, summoned creatures friendly combative NPCs, and other players both in and outside your party.|placement=bottom}}
| foe= {{#bootstrap_tooltip: Foe |text= Any PC, NPC, or creature hostile to you.|placement=bottom}}
| positional= {{#bootstrap_tooltip: Positional |text= The spell creates a stationary effect centered on its initial target (or at the spot along a line to that target at the spell's maximum range, if that target is too far away). The effect does not move with the target afterwards. Also used for spells that summon things to specify where that thing is initially created.|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}}
| 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}}
| weapon = {{#bootstrap_tooltip: Self (Weapon) |text= A currently equipped weapon.|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}}
| 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}}
| cfriend= {{#bootstrap_tooltip: Friend (Construct) |text= Any PC, NPC, or creature other than yourself that isn't hostile to you and is considered a Construct. |placement=bottom}}
}}{{#if: {{{3|}}}|,&nbsp;}}{{#switch: {{lc:{{{3}}}}}
| self = {{#bootstrap_tooltip: Self |text= You|placement=bottom}}
| friend= {{#bootstrap_tooltip: Friend |text= Any PC, NPC, or creature other than yourself that isn't hostile to you. This can include hirelings, summoned creatures friendly combative NPCs, and other players both in and outside your party.|placement=bottom}}
| foe= {{#bootstrap_tooltip: Foe |text= Any PC, NPC, or creature hostile to you.|placement=bottom}}
| positional= {{#bootstrap_tooltip: Positional |text= The spell creates a stationary effect centered on its initial target (or at the spot along a line to that target at the spell's maximum range, if that target is too far away). The effect does not move with the target afterwards. Also used for spells that summon things to specify where that thing is initially created.|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}}
| 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}}
| weapon = {{#bootstrap_tooltip: Self (Weapon) |text= A currently equipped weapon.|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}}
| 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}}
| cfriend= {{#bootstrap_tooltip: Friend (Construct) |text= Any PC, NPC, or creature other than yourself that isn't hostile to you and is considered a Construct. |placement=bottom}}
}}{{#if: {{{4|}}}|,&nbsp;}}{{#switch: {{lc:{{{4}}}}}
| self = {{#bootstrap_tooltip: Self |text= You|placement=bottom}}
| friend= {{#bootstrap_tooltip: Friend |text= Any PC, NPC, or creature other than yourself that isn't hostile to you. This can include hirelings, summoned creatures friendly combative NPCs, and other players both in and outside your party.|placement=bottom}}
| foe= {{#bootstrap_tooltip: Foe |text= Any PC, NPC, or creature hostile to you.|placement=bottom}}
| positional= {{#bootstrap_tooltip: Positional |text= The spell creates a stationary effect centered on its initial target (or at the spot along a line to that target at the spell's maximum range, if that target is too far away). The effect does not move with the target afterwards. Also used for spells that summon things to specify where that thing is initially created.|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}}
| 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}}
| weapon = {{#bootstrap_tooltip: Self (Weapon) |text= A currently equipped weapon.|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}}
| 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}}
| cfriend= {{#bootstrap_tooltip: Friend (Construct) |text= Any PC, NPC, or creature other than yourself that isn't hostile to you and is considered a Construct. |placement=bottom}}
}}{{#if: {{{5|}}}|,&nbsp;}}{{#switch: {{lc:{{{5}}}}}
| self = {{#bootstrap_tooltip: Self |text= You|placement=bottom}}
| friend= {{#bootstrap_tooltip: Friend |text= Any PC, NPC, or creature other than yourself that isn't hostile to you. This can include hirelings, summoned creatures friendly combative NPCs, and other players both in and outside your party.|placement=bottom}}
| foe= {{#bootstrap_tooltip: Foe |text= Any PC, NPC, or creature hostile to you.|placement=bottom}}
| positional= {{#bootstrap_tooltip: Positional |text= The spell creates a stationary effect centered on its initial target (or at the spot along a line to that target at the spell's maximum range, if that target is too far away). The effect does not move with the target afterwards. Also used for spells that summon things to specify where that thing is initially created.|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}}
| 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}}
| weapon = {{#bootstrap_tooltip: Self (Weapon) |text= A currently equipped weapon.|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}}
| 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}}
| cfriend= {{#bootstrap_tooltip: Friend (Construct) |text= Any PC, NPC, or creature other than yourself that isn't hostile to you and is considered a Construct. |placement=bottom}}
}}{{#if: {{{6|}}}|,&nbsp;}}{{#switch: {{lc:{{{6}}}}}
| self = {{#bootstrap_tooltip: Self |text= You|placement=bottom}}
| friend= {{#bootstrap_tooltip: Friend |text= Any PC, NPC, or creature other than yourself that isn't hostile to you. This can include hirelings, summoned creatures friendly combative NPCs, and other players both in and outside your party.|placement=bottom}}
| foe= {{#bootstrap_tooltip: Foe |text= Any PC, NPC, or creature hostile to you.|placement=bottom}}
| positional= {{#bootstrap_tooltip: Positional |text= The spell creates a stationary effect centered on its initial target (or at the spot along a line to that target at the spell's maximum range, if that target is too far away). The effect does not move with the target afterwards. Also used for spells that summon things to specify where that thing is initially created.|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}}
| 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}}
| weapon = {{#bootstrap_tooltip: Self (Weapon) |text= A currently equipped weapon.|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}}
| 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}}
| cfriend= {{#bootstrap_tooltip: Friend (Construct) |text= Any PC, NPC, or creature other than yourself that isn't hostile to you and is considered a Construct. |placement=bottom}}
}}{{#if: {{{7|}}}|,&nbsp;}}{{#switch: {{lc:{{{7}}}}}
| self = {{#bootstrap_tooltip: Self |text= You|placement=bottom}}
| friend= {{#bootstrap_tooltip: Friend |text= Any PC, NPC, or creature other than yourself that isn't hostile to you. This can include hirelings, summoned creatures friendly combative NPCs, and other players both in and outside your party.|placement=bottom}}
| foe= {{#bootstrap_tooltip: Foe |text= Any PC, NPC, or creature hostile to you.|placement=bottom}}
| positional= {{#bootstrap_tooltip: Positional |text= The spell creates a stationary effect centered on its initial target (or at the spot along a line to that target at the spell's maximum range, if that target is too far away). The effect does not move with the target afterwards. Also used for spells that summon things to specify where that thing is initially created.|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}}
| 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}}
| weapon = {{#bootstrap_tooltip: Self (Weapon) |text= A currently equipped weapon.|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}}
| 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}}
| cfriend= {{#bootstrap_tooltip: Friend (Construct) |text= Any PC, NPC, or creature other than yourself that isn't hostile to you and is considered a Construct. |placement=bottom}}
}}</span></onlyinclude>

Latest revision as of 21:30, 29 August 2020

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}}Self, Friend, Foe, Positional, Directional, Breakable

Usage[edit]

{{SpellTarget|(target)}}

Parameter Documentation
targetEnter the taret that this supports, repeat up to 10 times
Possible Values:
  • Self
  • Friend
  • Foe
  • Positional
  • Directional
  • Breakable
  • Undead
  • Humanoid
  • Weapon
  • Armor
  • Cape
  • UFriend - A Friend who is undead
  • CFriend - A Friend who is a construct
  • Usable
  • Construct
  • Familiar

Template

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