Difference between revisions of "Template:SpellBox"

From Legends of Hyrule
Jump to navigationJump to search
(added save parameter)
Line 29: Line 29:
 
| style="text-align:right;" | '''Duration:''' || {{#if:{{{concentration|}}}|[[Concentration]], up to }}{{#if:{{{dur|}}}|{{{dur}}}|{{{duration|Instantaneous}}}}}
 
| style="text-align:right;" | '''Duration:''' || {{#if:{{{concentration|}}}|[[Concentration]], up to }}{{#if:{{{dur|}}}|{{{dur}}}|{{{duration|Instantaneous}}}}}
 
|}<br/>{{#if:{{{description|}}}|{{{description}}}|{{{1|<s>This spell does nothing.</s>}}}}}</div></div>
 
|}<br/>{{#if:{{{description|}}}|{{{description}}}|{{{1|<s>This spell does nothing.</s>}}}}}</div></div>
[[Category:Spells]] [[Category:{{{school|conjuration}}} school]] {{#ifeq:{{{level|}}}{{{p|}}}|cantrip|[[Category:Cantrips]]|[[Category:{{{p|2}}}-point spells]]}}{{#if:{{{ritual|}}}|[[Category:Ritual spells]]}}{{#if:{{{concentration|}}}|[[Category:Spells requring concentration]]}}{{#if:{{{ss|}}}{{{spellsword|}}}|[[Category:Spellsword spells]]}}{{#if:{{{bard|}}}|[[Category:Bard spells]]}}{{#if:{{{garo|}}}|[[Category:Garo spells]]}}{{#if:{{{tech|}}}{{{technomancer|}}}|[[Category:Technomancer 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:{{{dragon|}}}|[[Category:Dragon scion spells]]}}{{#if:{{{fairy|}}}|[[Category:Fairy scion spells]]}}{{#if:{{{poe|}}}|[[Category:Poe scion spells]]}}</includeonly><noinclude>
+
[[Category:Spells]] [[Category:{{{school|conjuration}}} school]] {{#ifeq:{{{level|}}}{{{p|}}}|cantrip|[[Category:Cantrips]]|[[Category:{{{p|2}}}-point spells]]}}{{#if:{{{ritual|}}}|[[Category:Ritual spells]]}}{{#if:{{{concentration|}}}|[[Category:Spells requring concentration]]}}{{#if:{{{ss|}}}{{{spellsword|}}}|[[Category:Spellsword spells]]}}{{#if:{{{bard|}}}|[[Category:Bard spells]]}}{{#if:{{{garo|}}}|[[Category:Garo spells]]}}{{#if:{{{tech|}}}{{{technomancer|}}}|[[Category:Technomancer 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:{{{dragon|}}}|[[Category:Dragon scion spells]]}}{{#if:{{{fairy|}}}|[[Category:Fairy scion spells]]}}{{#if:{{{poe|}}}|[[Category:Poe scion spells]]}}{{#switch:{{{save|}}}
 +
|str=[[Category:Strength save spells]]
 +
|Str=[[Category:Strength save spells]]
 +
|Strength=[[Category:Strength save spells]]
 +
|dex=[[Category:Dexterity save spells]]
 +
|Dex=[[Category:Dexterity save spells]]
 +
|Dexterity=[[Category:Dexterity save spells]]
 +
|con=[[Category:Constitution save spells]]
 +
|Con=[[Category:Constitution save spells]]
 +
|Constitution=[[Category:Constitution save spells]]
 +
|int=[[Category:Intelligence save spells]]
 +
|Int=[[Category:Intelligence save spells]]
 +
|Intelligence=[[Category:Intelligence save spells]]
 +
|wis=[[Category:Wisdom save spells]]
 +
|Wis=[[Category:Wisdom save spells]]
 +
|Wisdom=[[Category:Wisdom save spells]]
 +
|cha=[[Category:Charisma save spells]]
 +
|Cha=[[Category:Charisma save spells]]
 +
|Charisma=[[Category:Charisma save spells]]
 +
|melee=[[Category:Melee attack spells]]
 +
|Melee=[[Category:Melee attack spells]]
 +
|range=[[Category:Ranged attack spells]]
 +
|ranged=[[Category:Ranged attack spells]]
 +
|Range=[[Category:Ranged attack spells]]
 +
|Ranged=[[Category:Ranged attack spells]]
 +
}}</includeonly><noinclude>
  
 
==Usage==
 
==Usage==
Line 42: Line 67:
 
|comp=Defaults to "V, S"
 
|comp=Defaults to "V, S"
 
|ritual=Optional.
 
|ritual=Optional.
 +
|save=Optional.
 
|summary=
 
|summary=
 
|
 
|
Line 79: Line 105:
 
|comp=
 
|comp=
 
|ritual=
 
|ritual=
 +
|save=
 
|summary=
 
|summary=
 
|
 
|

Revision as of 04:18, 13 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=Optional.
|save=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=
|save=
|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
}}