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;">{{#if:{{{image|}}}|<div style="float:right;"; class="externalimage-holder"><span style="width: {{{imagepx|800}}}px;">{{{image|}}}</span>{{#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|}}}}}}}</div>
+
<includeonly><div style="font-family:bookinsanity; font-size:16px;">{{#if:{{{image|}}}|<div style="float:right;"; class="externalimage-holder"><div style="max-width: {{{imagepx|800}}}px;">{{{image|}}}</span>{{#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|}}}}}}}</div>
 
<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"

Revision as of 04:54, 23 April 2020


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=Fill or delete line.
|save=Fill or delete line.
|damage=Fill or delete line.
|damage2=Fill or delete line.
|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=
|save=
|damage=
|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
}}