Template:Spell: Difference between revisions

Template page
No edit summary
No edit summary
Line 76: Line 76:
     |}}
     |}}
     {{#if:{{{domain|}}} | [[Category:{{{domain}}}_Spell]] | }}
     {{#if:{{{domain|}}} | [[Category:{{{domain}}}_Spell]] | }}
}}'''''{{#ifeq:{{{level}}}|0|{{{theme}}}<nowiki> </nowiki>|}}{{#switch:{{{level}}}|0 = Cantrip|1 = 1st-level|2 = 2nd-level|{{{level}}}th-level}}{{#ifeq:{{{level}}}|0||<nowiki> </nowiki>{{{theme}}} }}'''''
}}'''''{{#ifeq:{{{level}}}|0|{{{theme}}}<nowiki> </nowiki>|}}{{#switch:{{{level}}}|0 = Cantrip|1 = 1st-level|2 = 2nd-level|{{{level}}}th-level}}{{#ifeq:{{{level}}}|0|| }}'''''
----
----
{{SpellTableHeader}}
{{SpellTableHeader}}

Revision as of 13:47, 1 February 2023

Usage

{{Spell
|name=
|level=
|arcane=
|divine=
|primal=
|occult=
|domain=
|cast=
|range=
|components=
|duration=
|area=
}}

Example

{{Spell
|name=Lux <-Must be the same as the page name, else categorization wont work
|level=0 <-Cantrip
|theme=Divine
|domain=Light
|cast=1 action
|range=Touch
|components=V, S
|duration=10 minutes
}}