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;" |''{{H|{{#if:{{{level|}}}|{{#ifeq:{{{level|}}}|cantrip|{{ucfirst:{{{school|universal}}}}} cantrip|{{#switch: {{{level|}}}
+
| colspan="2" style="text-align:left;" |''{{#if:{{{level|}}}|{{#ifeq:{{{level|}}}|cantrip|{{ucfirst:{{{school|universal}}}}} cantrip|{{H|{{#switch: {{{level|}}}
 
|1st = 2
 
|1st = 2
 
|1 = 2
 
|1 = 2
Line 22: Line 22:
 
|9 = 13
 
|9 = 13
 
|13  
 
|13  
}}-point}}|{{#if:{{{level|}}}|{{{level|1st}}}-level|{{#switch: {{{p|}}}
+
}}-point|{{#if:{{{level|}}}|{{{level|1st}}}-level|{{#switch: {{{p|}}}
 
|cantrip = cantrip
 
|cantrip = cantrip
 
|Cantrip = cantrip
 
|Cantrip = cantrip
Line 42: Line 42:
 
|15 = 10th-level
 
|15 = 10th-level
 
|'''unknown level'''
 
|'''unknown level'''
}}}}}} {{{school|universal}}}|{{#ifeq:cantrip|{{lc:{{{p|}}}}}{{lc:{{{level|Cantrip}}}}}|{{ucfirst:{{{school|}}}}} cantrip|{{{p|15}}}-point {{lc:{{{school|'''universal'''}}}}}}}}}}}{{#if:{{{ritual|}}}|&nbsp;(ritual)}}''
+
}}}}}} {{{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
 +
|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'''
 +
}}}}}} {{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}}}

Revision as of 19:52, 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
}}