Difference between revisions of "Template:SpellBox"

From Legends of Hyrule
Jump to navigationJump to search
(Created page with "<div style="max-width: {{{px|800}}}px;">''{{#ifeq:{{{level|}}}|cantrip|{{ucfirst:{{{school|conjuration}}}}} cantrip|{{{level|1st}}}-level {{lc:{{{school|conjuration}}}}}}}{{#i...")
 
(revert)
 
(126 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="max-width: {{{px|800}}}px;">''{{#ifeq:{{{level|}}}|cantrip|{{ucfirst:{{{school|conjuration}}}}} cantrip|{{{level|1st}}}-level {{lc:{{{school|conjuration}}}}}}}{{#if:{{{ritual|}}}|(ritual)}}''<br/><br/>'''Casting time:''' {{{time|1 action}}}<br/>'''Range:''' {{{range|Touch}}}<br/>'''Components:''' {{#if:{{{comp|}}}|{{{comp}}}|{{{components|V, S}}}}}<br/>'''Duration:''' {{#if:{{{concentration|}}}|[[Concentration]], up to&nbsp;}}{{#if:{{{dur|}}}|{{{dur}}}|{{{duration|Instantaneous}}}}}<br/><br/>{{#if:{{{description|}}}|{{{description}}}|{{{1|<s>This spell does nothing.</s>}}}}}<includeonly>
+
<includeonly>{{#if:{{{image|}}}|<div style="float:right; margin-left: 10px; clear:right; max-width: {{{width|{{#if:{{{imagepx|}}}|{{{imagepx|800}}}px|50%}}}}};" class="externalimage-holder">{{{image|}}}{{#if:{{{imagelink|}}}|<br/><span style="float:right;">[{{{imagelink|}}} <small>{{{source|source}}}</small>]}}</span></div>}}
{{#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]]}}</includeonly>
+
<div style="max-width: {{#if:{{{image|}}}|48%|{{EntryWidth}}}}; float:left;">
 +
{| cellspacing="1" cellpadding="1"
 +
| colspan="2" style="text-align:left;" | ''{{#ifeq:0|{{{p|}}}{{{level|}}}|{{ucfirst:{{{school|}}}}} cantrip|{{#if:{{{p|}}}|{{{p}}}-point|{{{level}}}-level}} {{lc:{{{school}}}}}{{#if:{{{ritual|}}}|&nbsp;(ritual)}}}}''
 +
|-
 +
| style="text-align:right;" | '''Casting time:'''&nbsp;|| {{{time|1 action}}}
 +
|-
 +
| style="text-align:right;" | '''Range:'''&nbsp;|| {{{range|Touch}}}
 +
|-
 +
| style="text-align:right;" | '''Components:'''&nbsp;|| {{#if:{{{comp|}}}|{{{comp}}}|{{{components|V, S}}}}}
 +
|-
 +
| 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>
 +
{{#if:{{{p|}}}|[[Category:Spells]] [[Category:{{{school|conjuration}}} spells]] {{#ifeq:{{{level|}}}{{{p|}}}|0|[[Category:Cantrips]]|[[Category:{{{p|2}}}-point spells]]}}{{#if:{{{ritual|}}}|[[Category:Ritual spells]]}}{{#if:{{{concentration|}}}|[[Category:Concentration spells]]}}{{#if:{{{ss|}}}{{{spellsword|}}}{{{mk|}}}{{{magicknight|}}}|[[Category:Magic knight spells]]}}{{#if:{{{bard|}}}|[[Category:Bard spells]]}}{{#if:{{{garo|}}}|[[Category:Garo spells]]}}{{#if:{{{sorc|}}}{{{sorcerer|}}}|[[Category:Sorcerer spells]]}}{{#if:{{{tech|}}}{{{technomancer|}}}|[[Category:Technomancer spells]]}}{{#if:{{{twilit|}}}|[[Category:Twilit 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:{{{armos|}}}|[[Category:Armos scion spells]]}}{{#if:{{{dragon|}}}|[[Category:Dragon scion spells]]}}{{#if:{{{fairy|}}}|[[Category:Fairy scion spells]]}}{{#if:{{{poe|}}}|[[Category:Poe scion spells]]}}{{#ifeq:{{{time|}}}|1 [[bonus action]]|[[Category:Bonus action spells]]}}{{#switch:{{{save|}}}
 +
|str=[[Category:Strength save spells]]
 +
|Str=[[Category:Strength save spells]]
 +
|Strength=[[Category:Strength save spells]]
 +
|dex=[[Category:Dexterity save spells]]
 +
|Dex=[[Category:Dexterity save spells]]
 +
|Dexterity=[[Category:Dexterity save spells]]
 +
|con=[[Category:Constitution save spells]]
 +
|Con=[[Category:Constitution save spells]]
 +
|Constitution=[[Category:Constitution save spells]]
 +
|int=[[Category:Intelligence save spells]]
 +
|Int=[[Category:Intelligence save spells]]
 +
|Intelligence=[[Category:Intelligence save spells]]
 +
|wis=[[Category:Wisdom save spells]]
 +
|Wis=[[Category:Wisdom save spells]]
 +
|Wisdom=[[Category:Wisdom save spells]]
 +
|cha=[[Category:Charisma save spells]]
 +
|Cha=[[Category:Charisma save spells]]
 +
|Charisma=[[Category:Charisma save spells]]
 +
|melee=[[Category:Melee attack spells]]
 +
|Melee=[[Category:Melee attack spells]]
 +
|range=[[Category:Ranged attack spells]]
 +
|ranged=[[Category:Ranged attack spells]]
 +
|Range=[[Category:Ranged attack spells]]
 +
|Ranged=[[Category:Ranged attack spells]]
 +
|[[Category:Defenseless spells]]
 +
}}{{#switch:{{{save2|}}}
 +
|str=[[Category:Strength save spells]]
 +
|Str=[[Category:Strength save spells]]
 +
|Strength=[[Category:Strength save spells]]
 +
|dex=[[Category:Dexterity save spells]]
 +
|Dex=[[Category:Dexterity save spells]]
 +
|Dexterity=[[Category:Dexterity save spells]]
 +
|con=[[Category:Constitution save spells]]
 +
|Con=[[Category:Constitution save spells]]
 +
|Constitution=[[Category:Constitution save spells]]
 +
|int=[[Category:Intelligence save spells]]
 +
|Int=[[Category:Intelligence save spells]]
 +
|Intelligence=[[Category:Intelligence save spells]]
 +
|wis=[[Category:Wisdom save spells]]
 +
|Wis=[[Category:Wisdom save spells]]
 +
|Wisdom=[[Category:Wisdom save spells]]
 +
|cha=[[Category:Charisma save spells]]
 +
|Cha=[[Category:Charisma save spells]]
 +
|Charisma=[[Category:Charisma save spells]]
 +
|melee=[[Category:Melee attack spells]]
 +
|Melee=[[Category:Melee attack spells]]
 +
|range=[[Category:Ranged attack spells]]
 +
|ranged=[[Category:Ranged attack spells]]
 +
|Range=[[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]]}}}}</includeonly><noinclude>
  
<noinclude>
+
==Usage==
 +
Instructions unclear.
 
<pre>
 
<pre>
{{SP
+
{{SB
|school=
 
|level=cantrip, 1st, 2nd, etc.
 
|ritual=Optional.
 
|time=Defaults to "1 action".  Reaction,  bonus action, 1 minute, etc.
 
|range=Defaults to "Touch".  Self, 90 feet, etc.
 
|conentration=Optional.  Serves as a prefix to duration.
 
|duration=Defaults to "Instantaneous".  1 minute, 10 minutes, 1 hour, etc.
 
|comp=Defaults to "V, S".
 
|ritual=
 
 
 
|ss=
 
 
 
|bard=
 
|garo=
 
 
 
|tech=
 
|witch=
 
|wizz=
 
 
 
|ea=
 
|fi=
 
|fo=
 
|li=
 
|sh=
 
|sp=
 
|wa=
 
|wi=
 
 
 
|dragon=
 
|fairy=
 
|poe=
 
}}
 
</pre>
 
 
 
<pre>
 
{{SP
 
 
|school=
 
|school=
 +
|p=
 
|level=
 
|level=
|ritual=
 
 
|time=
 
|time=
|conentration=
+
|range=
 +
|concentration=
 
|duration=
 
|duration=
 
|comp=
 
|comp=
 
|ritual=
 
|ritual=
 +
|save=
 +
|damage=
 +
|summary=
 +
|
 +
|mk=yes
 +
|bard=yes
 +
|garo=yes
  
|bard=
+
|sorc=yes
|garo=
+
|twilit=yes
 
+
|tech=yes
|tech=
+
|witch=yes
|witch=
+
|wizz=yes
|wizz=
 
  
|earth=
+
|ea=yes
|fire=
+
|fi=yes
|forest=
+
|fo=yes
|light=
+
|li=yes
|shadow=
+
|sh=yes
|spirit=
+
|sp=yes
|water=
+
|wa=yes
|witch=
+
|wi=yes
  
|dragon=
+
|armos=yes
|fairy=
+
|dragon=yes
|poe=
+
|fairy=yes
 +
|poe=yes
 
}}
 
}}
 
</pre>
 
</pre>
 +
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 13:46, 1 January 2021


Usage

Instructions unclear.

{{SB
|school=
|p=
|level=
|time=
|range=
|concentration=
|duration=
|comp=
|ritual=
|save=
|damage=
|summary=
|
|mk=yes
|bard=yes
|garo=yes

|sorc=yes
|twilit=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
}}