Difference between revisions of "Template:SpellBox"

From Legends of Hyrule
Jump to navigationJump to search
m
Line 1: Line 1:
<includeonly>{{#if:{{{image|}}}|<div style="float:right; margin-left: 10px; clear:right; max-width: {{{width|{{#if:{{{impagepx|}}}|{{{imagepx|800}}}px|50%}}}}};" class="externalimage-holder">{{{image|}}}{{#if:{{{imagelink|}}}|<br/><span style="float:right;">[{{{imagelink|}}} <small>{{{source|source}}}</small>]}}</span></div>}}
+
<includeonly>{{#if:{{{image|}}}|<div style="float:right; margin-left: 10px; clear:right; max-width: {{{width|{{#if:{{{imagepx|}}}|{{{imagepx|800}}}px|50%}}}}};" class="externalimage-holder">{{{image|}}}{{#if:{{{imagelink|}}}|<br/><span style="float:right;">[{{{imagelink|}}} <small>{{{source|source}}}</small>]}}</span></div>}}
<div style="max-width: {{{imagepx|800}}}px; float:left;">
+
<div style="max-width: {{{infowidth|{{#if:{{{image|}}}|50%|800px}}}}}}}; float:left;">
 
{| cellspacing="1" cellpadding="1"
 
{| cellspacing="1" cellpadding="1"
 
| colspan="2" style="text-align:left;" | ''{{#ifeq:cantrip|{{{p|}}}{{{level|}}}|{{ucfirst:{{{school|}}}}} cantrip|{{#if:{{{p|}}}|{{{p}}}-point|{{{level}}}-level}} {{lc:{{{school}}}}}{{#if:{{{ritual|}}}|&nbsp;(ritual)}}}}''
 
| colspan="2" style="text-align:left;" | ''{{#ifeq:cantrip|{{{p|}}}{{{level|}}}|{{ucfirst:{{{school|}}}}} cantrip|{{#if:{{{p|}}}|{{{p}}}-point|{{{level}}}-level}} {{lc:{{{school}}}}}{{#if:{{{ritual|}}}|&nbsp;(ritual)}}}}''

Revision as of 11:19, 1 May 2020


Usage

Instructions unclear.

{{SB
|school=
|p=
|level=
|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
}}