Difference between revisions of "Template:SpellBox"

From Legends of Hyrule
Jump to navigationJump to search
Line 1: Line 1:
 
<includeonly><div style="font-family:bookinsanity; font-size:16px;">
 
<includeonly><div style="font-family:bookinsanity; font-size:16px;">
 
{{{!}}
 
{{{!}}
{{!}} rowspan=2 {{!}} <div style="max-width: {{{px|800}}}px; font-family:bookinsanity; font-size:16px";>
+
{{!}} rowspan=2 style="vertical-align:top;" {{!}} <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;" | ''{{#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|{{{p|15}}}-point {{lc:{{{school|'''universal'''}}}}}}}{{#if:{{{ritual|}}}|&nbsp;(ritual)}}''
Line 64: Line 64:
 
|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]]}}</includeonly>
+
}}{{#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]]}}
 
{{!}}{{#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/>}}
 
{{!}}{{#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||{{Aside|Spell Slot Alternative|''{{{level|1st}}}-level {{lc:{{{school|'''universal'''}}}}}''<br/>{{{slot|}}}}}}}
 
{{!}} {{#ifeq:{{{level|}}}{{{p|}}}|cantrip||{{Aside|Spell Slot Alternative|''{{{level|1st}}}-level {{lc:{{{school|'''universal'''}}}}}''<br/>{{{slot|}}}}}}}
{{!}}}</div>
+
{{!}}}</div><includeonly><noinclude>
<noinclude>
 
  
 
==Usage==
 
==Usage==

Revision as of 06:05, 23 April 2020