Difference between revisions of "Template:SpellBox"

From Legends of Hyrule
Jump to navigationJump to search
m
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;" |''{{#if:{{{level|}}}|{{#ifeq:{{{level|}}}|cantrip|{{ucfirst:{{{school|universal}}}}} cantrip|{{H|{{#switch: {{{level|}}}
+
| colspan="2" style="text-align:left;" | ''{{#ifeq:cantrip|{{lc:{{{p|}}}}}{{lc:{{{level|Cantrip}}}}}|{{ucfirst:{{{school|}}}}} cantrip|{{H|{{{p|15}}}-point|{{#if:{{{level|}}}|{{{level|1st}}}-level|{{#switch: {{{p|}}}
|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|{{#if:{{{level|}}}|{{{level|1st}}}-level if using spell slots|{{#switch: {{{p|}}}
 
|cantrip = cantrip
 
|Cantrip = cantrip
 
|0 = cantrip
 
|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}}}}}} {{{school|universal}}}|{{#ifeq:cantrip|{{lc:{{{p|}}}}}{{lc:{{{level|Cantrip}}}}}|{{ucfirst:{{{school|}}}}} cantrip|{{H|{{{p|15}}}-point|{{#if:{{{level|}}}|{{{level|1st}}}-level|{{#switch: {{{p|}}}
 
|cantrip = cantrip
 
|Cantrip = cantrip
 
|0 = cantrip
 
 
|1 = 1st-level
 
|1 = 1st-level
 
|2 = 1st-level
 
|2 = 1st-level

Revision as of 21: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
}}