Difference between revisions of "Template:SpellBox"

From Legends of Hyrule
Jump to navigationJump to search
(slot levels -> points)
Line 2: Line 2:
 
<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;" |''{{#ifeq:cantrip|{{lc:{{{p|}}}}}{{lc:{{{level|Cantrip}}}}}|{{ucfirst:{{{school|}}}}} cantrip|{{{p|15}}}-p {{lc:{{{school|'''universal'''}}}}}}}{{#if:{{{ritual|}}}|&nbsp;(ritual)}} <sup>{{#switch: {{{p|}}}
+
| colspan="2" style="text-align:left;" |''{{#if:{{{level|}}}|{{#ifeq:{{{level|}}}|cantrip|{{ucfirst:{{{school|universal}}}}} cantrip|{{#switch: {{{level|}}}
 +
|1st = 2
 +
|1 = 2
 +
|2nd = 3
 +
|2 = 3
 +
|3rd = 5
 +
|3 = 5
 +
|4th = 6
 +
|4 = 6
 +
|5th = 7
 +
|5 = 7
 +
|6th = 9
 +
|6 = 9
 +
|7th = 10
 +
|7 = 10
 +
|8th = 11
 +
|8 = 11
 +
|9th = 13
 +
|9 = 13
 +
|13
 +
}}-point {{ucfirst:{{{school|universal}}}}|{{#ifeq:cantrip|{{lc:{{{p|}}}}}{{lc:{{{level|Cantrip}}}}}|{{ucfirst:{{{school|}}}}} cantrip|{{{p|15}}}-point {{lc:{{{school|'''universal'''}}}}}}}}}{{#if:{{{ritual|}}}|&nbsp;(ritual)}} <sup>{{#if:{{{level|}}}|{{{level|1st}}}-level|{{#switch: {{{p|}}}
 
|cantrip = cantrip
 
|cantrip = cantrip
 
|Cantrip = cantrip
 
|Cantrip = cantrip
Line 22: Line 42:
 
|15 = 10th-level
 
|15 = 10th-level
 
|'''unknown level'''
 
|'''unknown level'''
}}</sup>''
+
}}}}</sup>''
 
|-
 
|-
 
| style="text-align:right;" | '''Casting time:'''&nbsp;|| {{{time|1 action}}}
 
| style="text-align:right;" | '''Casting time:'''&nbsp;|| {{{time|1 action}}}

Revision as of 19:36, 2 August 2019


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=Optional.
|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=
|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
}}