Difference between revisions of "Template:SpellBox"

From Legends of Hyrule
Jump to navigationJump to search
(reverting)
Line 1: Line 1:
<includeonly><div style="font-family:bookinsanity; font-size:16px;">{{#if:{{{image|}}}|<div style="max-width: {{{imagepx|800}}}px; float:right;"; class="externalimage-holder">{{{image|}}}{{#if:{{{imagelink|}}}|<br/><span style="float:right;">[{{{imagelink|}}} <small>Source</small>]</span>}}<br/><br/>}}{{#ifeq:{{{level|}}}{{{p|}}}|cantrip||<tabs>}}</div>
+
<includeonly><div>{{#if:{{{image|}}}|<div style="max-width: {{{imagepx|800}}}px; float:right;" class="externalimage-holder">{{{image|}}}{{#if:{{{imagelink|}}}|<br/><span style="float:right;">[{{{imagelink|}}} <small>Source</small>]</span>}}</div>}}
 
<div style="max-width: {{{px|800}}}px; font-family:bookinsanity; font-size:16px";>
 
<div style="max-width: {{{px|800}}}px; font-family:bookinsanity; font-size:16px";>
 
{| cellspacing="1" cellpadding="1"
 
{| cellspacing="1" cellpadding="1"
| colspan="2" style="text-align:left;" | <tab name="Magic Points">''{{#ifeq:cantrip|{{{p|}}}{{{level|}}}|{{ucfirst:{{{school|}}}}} cantrip|{{{p|15}}}-point {{lc:{{{school|'''universal'''}}}}}}}{{#if:{{{ritual|}}}|&nbsp;(ritual)}}''
+
| colspan="2" style="text-align:left;" | ''{{#ifeq:cantrip|{{{p|}}}{{{level|}}}|{{ucfirst:{{{school|}}}}} cantrip|{{H|{{{p|15}}}-point|{{#if:{{{level|}}}|{{{level|1st}}}-level if using spell slots|{{#switch: {{{p|}}}
 +
|1 = 1st-level
 +
|2 = 1st-level
 +
|3 = 2nd-level
 +
|4 = 2nd-level
 +
|5 = 3rd-level
 +
|6 = 4th-level
 +
|7 = 5th-level
 +
|8 = 5th-level
 +
|9 = 6th-level
 +
|10 = 7th-level
 +
|11 = 8th-level
 +
|12 = 8th-level
 +
|13 = 9th-level
 +
|14 = 9th-level
 +
|15 = 10th-level
 +
|'''unknown level'''
 +
}}&nbsp;if using spell slots}}}} {{lc:{{{school|'''universal'''}}}}}}}{{#if:{{{ritual|}}}|&nbsp;(ritual)}}''
 
|-
 
|-
 
| style="text-align:right;" | '''Casting time:'''&nbsp;|| {{{time|1 action}}}
 
| style="text-align:right;" | '''Casting time:'''&nbsp;|| {{{time|1 action}}}
Line 11: Line 28:
 
|-
 
|-
 
| style="text-align:right;" | '''Duration:'''&nbsp;|| {{#if:{{{concentration|}}}|[[Concentration]], up to&nbsp;}}{{#if:{{{dur|}}}|{{{dur}}}|{{{duration|Instantaneous}}}}}
 
| style="text-align:right;" | '''Duration:'''&nbsp;|| {{#if:{{{concentration|}}}|[[Concentration]], up to&nbsp;}}{{#if:{{{dur|}}}|{{{dur}}}|{{{duration|Instantaneous}}}}}
|}<br/>{{#if:{{{description|}}}|{{{description}}}|{{{1|<s>This spell does nothing.</s>}}}}}</div>
+
|}<br/>{{#if:{{{description|}}}|{{{description}}}|{{{1|<s>This spell does nothing.</s>}}}}}</div></div>
{{#ifeq:{{{level|}}}{{{p|}}}|cantrip||</tab></tabs>}}</div>
 
 
[[Category:Spells]] [[Category:{{{school|conjuration}}} spells]] {{#ifeq:{{{level|}}}{{{p|}}}|cantrip|[[Category:Cantrips]]|[[Category:{{{p|2}}}-point spells]]}}{{#if:{{{ritual|}}}|[[Category:Ritual spells]]}}{{#if:{{{concentration|}}}|[[Category:Concentration spells]]}}{{#if:{{{ss|}}}{{{spellsword|}}}|[[Category:Spellsword spells]]}}{{#if:{{{bard|}}}|[[Category:Bard spells]]}}{{#if:{{{garo|}}}|[[Category:Garo spells]]}}{{#if:{{{tech|}}}{{{technomancer|}}}|[[Category:Technomancer spells]]}}{{#if:{{{witch|}}}|[[Category:Witch spells]]}}{{#if:{{{wizzrobe|}}}{{{wizz|}}}|[[Category:Wizzrobe spells]]}}{{#if:{{{earth|}}}{{{ea|}}}|[[Category:Earth sage spells]]}}{{#if:{{{fire|}}}{{{fi|}}}|[[Category:Fire sage spells]]}}{{#if:{{{forest|}}}{{{fo|}}}|[[Category:Forest sage spells]]}}{{#if:{{{light|}}}{{{li|}}}|[[Category:Light sage spells]]}}{{#if:{{{shadow|}}}{{{sh|}}}|[[Category:Shadow sage spells]]}}{{#if:{{{spirit|}}}{{{sp|}}}|[[Category:Spirit sage spells]]}}{{#if:{{{water|}}}{{{wa|}}}|[[Category:Water sage spells]]}}{{#if:{{{wind|}}}{{{wi|}}}|[[Category:Wind sage spells]]}}{{#if:{{{dragon|}}}|[[Category:Dragon scion spells]]}}{{#if:{{{fairy|}}}|[[Category:Fairy scion spells]]}}{{#if:{{{poe|}}}|[[Category:Poe scion spells]]}}{{#switch:{{{save|}}}
 
[[Category:Spells]] [[Category:{{{school|conjuration}}} spells]] {{#ifeq:{{{level|}}}{{{p|}}}|cantrip|[[Category:Cantrips]]|[[Category:{{{p|2}}}-point spells]]}}{{#if:{{{ritual|}}}|[[Category:Ritual spells]]}}{{#if:{{{concentration|}}}|[[Category:Concentration spells]]}}{{#if:{{{ss|}}}{{{spellsword|}}}|[[Category:Spellsword spells]]}}{{#if:{{{bard|}}}|[[Category:Bard spells]]}}{{#if:{{{garo|}}}|[[Category:Garo spells]]}}{{#if:{{{tech|}}}{{{technomancer|}}}|[[Category:Technomancer spells]]}}{{#if:{{{witch|}}}|[[Category:Witch spells]]}}{{#if:{{{wizzrobe|}}}{{{wizz|}}}|[[Category:Wizzrobe spells]]}}{{#if:{{{earth|}}}{{{ea|}}}|[[Category:Earth sage spells]]}}{{#if:{{{fire|}}}{{{fi|}}}|[[Category:Fire sage spells]]}}{{#if:{{{forest|}}}{{{fo|}}}|[[Category:Forest sage spells]]}}{{#if:{{{light|}}}{{{li|}}}|[[Category:Light sage spells]]}}{{#if:{{{shadow|}}}{{{sh|}}}|[[Category:Shadow sage spells]]}}{{#if:{{{spirit|}}}{{{sp|}}}|[[Category:Spirit sage spells]]}}{{#if:{{{water|}}}{{{wa|}}}|[[Category:Water sage spells]]}}{{#if:{{{wind|}}}{{{wi|}}}|[[Category:Wind sage spells]]}}{{#if:{{{dragon|}}}|[[Category:Dragon scion spells]]}}{{#if:{{{fairy|}}}|[[Category:Fairy scion spells]]}}{{#if:{{{poe|}}}|[[Category:Poe scion spells]]}}{{#switch:{{{save|}}}
 
|str=[[Category:Strength save spells]]
 
|str=[[Category:Strength save spells]]
Line 64: Line 80:
 
|Range=[[Category:Ranged attack spells]]
 
|Range=[[Category:Ranged attack spells]]
 
|Ranged=[[Category:Ranged attack spells]]
 
|Ranged=[[Category:Ranged attack spells]]
}}{{#ifeq:{{{damage|}}}|healing|[[Category:Healing spells]]|{{#if:{{{damage|}}}|[[Category:{{{damage}}} damage spells]] [[Category:Damaging spells]]|[[Category:Non-damaging and non-healing spells]]}}}}{{#if:{{{damage2|}}}|[[Category:{{{damage2}}} damage spells]]}}{{#if:{{{damage3|}}}|[[Category:{{{damage3}}} damage spells]]}}{{#if:{{{damage4|}}}|[[Category:{{{damage4}}} damage spells]]}}{{#if:{{{damage5|}}}|[[Category:{{{damage5}}} damage spells]]}}{{#if:{{{damage6|}}}|[[Category:{{{damage6}}} damage spells]]}}{{#if:{{{damage7|}}}|[[Category:{{{damage7}}} damage spells]]}}{{#if:{{{damage8|}}}|[[Category:{{{damage8}}} damage spells]]}}{{#if:{{{damage9|}}}|[[Category:{{{damage9}}} damage spells]]}}{{#if:{{{damage10|}}}|[[Category:{{{damage10}}} damage spells]]}}{{#if:{{{damage11|}}}|[[Category:{{{damage11}}} damage spells]]}}{{#if:{{{damage12|}}}|[[Category:{{{damage12}}} damage spells]]}}{{#if:{{{damage13|}}}|[[Category:{{{damage13}}} damage spells]]}}{{#if:{{{blinded|}}}|[[Category:Blinding spells]]}}{{#if:{{{charmed|}}}|[[Category:Charming spells]]}}{{#if:{{{deafened|}}}|[[Category:Deafening spells]]}}{{#if:{{{exhaustion|}}}|[[Category:Exhausting spells]]}}{{#if:{{{frightened|}}}|[[Category:Frightening spells]]}}{{#if:{{{grappled|}}}|[[Category:Grappling spells]]}}{{#if:{{{ignited|}}}|[[Category:Igniting spells]]}}{{#if:{{{incapacitated|}}}|[[Category:Incapacitating spells]]}}{{#if:{{{invisible|}}}|[[Category:Invisible-causing spells]]}}{{#if:{{{jinxed|}}}|[[Category:Jinxing spells]]}}{{#if:{{{paralyzed|}}}|[[Category:Paralyzing spells]]}}{{#if:{{{petrified|}}}|[[Category:Petrifying spells]]}}{{#if:{{{poisoned|}}}|[[Category:Poisoning spells]]}}{{#if:{{{prone|}}}|[[Category:Prone-causing spells]]}}{{#if:{{{restrained|}}}|[[Category:Restraining spells]]}}{{#if:{{{stunned|}}}|[[Category:Stunning spells]]}}{{#if:{{{unconscious|}}}|[[Category:Unconscious-causing spells]]}}{{#if:{{{material|}}}{{{consumed|}}}|[[Category:Costed material component spells]]}}
+
}}{{#ifeq:{{{damage|}}}|healing|[[Category:Healing spells]]|{{#if:{{{damage|}}}|[[Category:{{{damage}}} damage spells]] [[Category:Damaging spells]]|[[Category:Non-damaging and non-healing spells]]}}}}{{#if:{{{damage2|}}}|[[Category:{{{damage2}}} damage spells]]}}{{#if:{{{damage3|}}}|[[Category:{{{damage3}}} damage spells]]}}{{#if:{{{damage4|}}}|[[Category:{{{damage4}}} damage spells]]}}{{#if:{{{damage5|}}}|[[Category:{{{damage5}}} damage spells]]}}{{#if:{{{damage6|}}}|[[Category:{{{damage6}}} damage spells]]}}{{#if:{{{damage7|}}}|[[Category:{{{damage7}}} damage spells]]}}{{#if:{{{damage8|}}}|[[Category:{{{damage8}}} damage spells]]}}{{#if:{{{damage9|}}}|[[Category:{{{damage9}}} damage spells]]}}{{#if:{{{damage10|}}}|[[Category:{{{damage10}}} damage spells]]}}{{#if:{{{damage11|}}}|[[Category:{{{damage11}}} damage spells]]}}{{#if:{{{damage12|}}}|[[Category:{{{damage12}}} damage spells]]}}{{#if:{{{damage13|}}}|[[Category:{{{damage13}}} damage spells]]}}{{#if:{{{blinded|}}}|[[Category:Blinding spells]]}}{{#if:{{{charmed|}}}|[[Category:Charming spells]]}}{{#if:{{{deafened|}}}|[[Category:Deafening spells]]}}{{#if:{{{exhaustion|}}}|[[Category:Exhausting spells]]}}{{#if:{{{frightened|}}}|[[Category:Frightening spells]]}}{{#if:{{{grappled|}}}|[[Category:Grappling spells]]}}{{#if:{{{ignited|}}}|[[Category:Igniting spells]]}}{{#if:{{{incapacitated|}}}|[[Category:Incapacitating spells]]}}{{#if:{{{invisible|}}}|[[Category:Invisible-causing spells]]}}{{#if:{{{jinxed|}}}|[[Category:Jinxing spells]]}}{{#if:{{{paralyzed|}}}|[[Category:Paralyzing spells]]}}{{#if:{{{petrified|}}}|[[Category:Petrifying spells]]}}{{#if:{{{poisoned|}}}|[[Category:Poisoning spells]]}}{{#if:{{{prone|}}}|[[Category:Prone-causing spells]]}}{{#if:{{{restrained|}}}|[[Category:Restraining spells]]}}{{#if:{{{stunned|}}}|[[Category:Stunning spells]]}}{{#if:{{{unconscious|}}}|[[Category:Unconscious-causing spells]]}}{{#if:{{{material|}}}{{{consumed|}}}|[[Category:Costed material component spells]]}}</includeonly><noinclude>
{{clear}}<br/><br/></includeonly><noinclude>
 
  
 
==Usage==
 
==Usage==

Revision as of 21:34, 23 April 2020


Usage

{{SB
|school=Defaults to "conjuration"
|p=cantrip, 1, 3, 13, etc.
|time=Defaults to "1 action":  Reaction,  bonus action, 1 minute, etc.
|range=Defaults to "Touch":  Self, 90 feet, etc.
|concentration=Optional.  Serves as a prefix to duration.
|duration=Defaults to "Instantaneous":  1 minute, 10 minutes, 1 hour, etc.
|comp=Defaults to "V, S"
|ritual=Fill or delete line.
|save=Fill or delete line.
|damage=Fill or delete line.
|damage2=Fill or delete line.
|summary=
|

|ss=
|bard=
|garo=

|tech=
|witch=
|wizz=

|ea=
|fi=
|fo=
|li=
|sh=
|sp=
|wa=
|wi=

|armos=
|dragon=
|fairy=
|poe=
}}
{{SB
|school=
|p=
|time=
|range=
|concentration=
|duration=
|comp=
|ritual=
|save=
|damage=
|summary=
|
|ss=yes
|bard=yes
|garo=yes

|tech=yes
|witch=yes
|wizz=yes

|ea=yes
|fi=yes
|fo=yes
|li=yes
|sh=yes
|sp=yes
|wa=yes
|wi=yes

|armos=yes
|dragon=yes
|fairy=yes
|poe=yes
}}