Difference between revisions of "Template:SpellBox"

From Legends of Hyrule
Jump to navigationJump to search
(revert)
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
<div style="max-width: {{#if:{{{image|}}}|48%|{{EntryWidth}}}}; float:left;">
 
<div style="max-width: {{#if:{{{image|}}}|48%|{{EntryWidth}}}}; 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:0|{{{p|}}}{{{level|}}}|{{ucfirst:{{{school|}}}}} cantrip|{{#if:{{{p|}}}|{{{p}}}-point|{{{level}}}-level}} {{lc:{{{school}}}}}{{#if:{{{ritual|}}}|&nbsp;(ritual)}}}}''
 
|-
 
|-
 
| style="text-align:right;" | '''Casting time:'''&nbsp;|| {{{time|1 action}}}
 
| style="text-align:right;" | '''Casting time:'''&nbsp;|| {{{time|1 action}}}
Line 12: Line 12:
 
| style="text-align:right;" | '''Duration:'''&nbsp;|| {{#if:{{{concentration|}}}|[[Concentration]], up to&nbsp;}}{{#if:{{{dur|}}}|{{{dur}}}|{{{duration|Instantaneous}}}}}
 
| style="text-align:right;" | '''Duration:'''&nbsp;|| {{#if:{{{concentration|}}}|[[Concentration]], up to&nbsp;}}{{#if:{{{dur|}}}|{{{dur}}}|{{{duration|Instantaneous}}}}}
 
|}<br/>{{#if:{{{description|}}}|{{{description}}}|{{{1|<s>This spell does nothing.</s>}}}}}</div>
 
|}<br/>{{#if:{{{description|}}}|{{{description}}}|{{{1|<s>This spell does nothing.</s>}}}}}</div>
{{#if:{{{p|}}}|[[Category:Spells]] [[Category:{{{school|conjuration}}} spells]] {{#ifeq:{{{level|}}}{{{p|}}}|cantrip|[[Category:Cantrips]]|[[Category:{{{p|2}}}-point spells]]}}{{#if:{{{ritual|}}}|[[Category:Ritual spells]]}}{{#if:{{{concentration|}}}|[[Category:Concentration spells]]}}{{#if:{{{ss|}}}{{{spellsword|}}}|[[Category:Spellsword spells]]}}{{#if:{{{bard|}}}|[[Category:Bard spells]]}}{{#if:{{{garo|}}}|[[Category:Garo spells]]}}{{#if:{{{tech|}}}{{{technomancer|}}}|[[Category:Technomancer spells]]}}{{#if:{{{twilit|}}}|[[Category:Twilit spells]]}}{{#if:{{{witch|}}}|[[Category:Witch spells]]}}{{#if:{{{wizzrobe|}}}{{{wizz|}}}|[[Category:Wizzrobe spells]]}}{{#if:{{{earth|}}}{{{ea|}}}|[[Category:Earth sage spells]]}}{{#if:{{{fire|}}}{{{fi|}}}|[[Category:Fire sage spells]]}}{{#if:{{{forest|}}}{{{fo|}}}|[[Category:Forest sage spells]]}}{{#if:{{{light|}}}{{{li|}}}|[[Category:Light sage spells]]}}{{#if:{{{shadow|}}}{{{sh|}}}|[[Category:Shadow sage spells]]}}{{#if:{{{spirit|}}}{{{sp|}}}|[[Category:Spirit sage spells]]}}{{#if:{{{water|}}}{{{wa|}}}|[[Category:Water sage spells]]}}{{#if:{{{wind|}}}{{{wi|}}}|[[Category:Wind sage spells]]}}{{#if:{{{armos|}}}|[[Category:Armos scion spells]]}}{{#if:{{{dragon|}}}|[[Category:Dragon scion spells]]}}{{#if:{{{fairy|}}}|[[Category:Fairy scion spells]]}}{{#if:{{{poe|}}}|[[Category:Poe scion spells]]}}{{#switch:{{{save|}}}
+
{{#if:{{{p|}}}|[[Category:Spells]] [[Category:{{{school|conjuration}}} spells]] {{#ifeq:{{{level|}}}{{{p|}}}|0|[[Category:Cantrips]]|[[Category:{{{p|2}}}-point spells]]}}{{#if:{{{ritual|}}}|[[Category:Ritual spells]]}}{{#if:{{{concentration|}}}|[[Category:Concentration spells]]}}{{#if:{{{ss|}}}{{{spellsword|}}}{{{mk|}}}{{{magicknight|}}}|[[Category:Magic knight spells]]}}{{#if:{{{bard|}}}|[[Category:Bard spells]]}}{{#if:{{{garo|}}}|[[Category:Garo spells]]}}{{#if:{{{sorc|}}}{{{sorcerer|}}}|[[Category:Sorcerer spells]]}}{{#if:{{{tech|}}}{{{technomancer|}}}|[[Category:Technomancer spells]]}}{{#if:{{{twilit|}}}|[[Category:Twilit spells]]}}{{#if:{{{witch|}}}|[[Category:Witch spells]]}}{{#if:{{{wizzrobe|}}}{{{wizz|}}}|[[Category:Wizzrobe spells]]}}{{#if:{{{earth|}}}{{{ea|}}}|[[Category:Earth sage spells]]}}{{#if:{{{fire|}}}{{{fi|}}}|[[Category:Fire sage spells]]}}{{#if:{{{forest|}}}{{{fo|}}}|[[Category:Forest sage spells]]}}{{#if:{{{light|}}}{{{li|}}}|[[Category:Light sage spells]]}}{{#if:{{{shadow|}}}{{{sh|}}}|[[Category:Shadow sage spells]]}}{{#if:{{{spirit|}}}{{{sp|}}}|[[Category:Spirit sage spells]]}}{{#if:{{{water|}}}{{{wa|}}}|[[Category:Water sage spells]]}}{{#if:{{{wind|}}}{{{wi|}}}|[[Category:Wind sage spells]]}}{{#if:{{{armos|}}}|[[Category:Armos scion spells]]}}{{#if:{{{dragon|}}}|[[Category:Dragon scion spells]]}}{{#if:{{{fairy|}}}|[[Category:Fairy scion spells]]}}{{#if:{{{poe|}}}|[[Category:Poe scion spells]]}}{{#ifeq:{{{time|}}}|1 [[bonus action]]|[[Category:Bonus action spells]]}}{{#switch:{{{save|}}}
 
|str=[[Category:Strength save spells]]
 
|str=[[Category:Strength save spells]]
 
|Str=[[Category:Strength save spells]]
 
|Str=[[Category:Strength save spells]]
Line 82: Line 82:
 
|summary=
 
|summary=
 
|
 
|
|ss=yes
+
|mk=yes
 
|bard=yes
 
|bard=yes
 
|garo=yes
 
|garo=yes
  
 +
|sorc=yes
 
|twilit=yes
 
|twilit=yes
 
|tech=yes
 
|tech=yes

Latest revision as of 13:46, 1 January 2021


Usage

Instructions unclear.

{{SB
|school=
|p=
|level=
|time=
|range=
|concentration=
|duration=
|comp=
|ritual=
|save=
|damage=
|summary=
|
|mk=yes
|bard=yes
|garo=yes

|sorc=yes
|twilit=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
}}