Template:Spell page: Difference between revisions

Jump to navigation Jump to search
(Added new fields to cargo table to support weapon actions and class actions, as well as a controller icon field and more damage fields)
m (Re-added this is an example check)
Line 262: Line 262:
}}
}}


{{Main namespace only|[[Category:Spells]] {{#ifeq: {{{level}}} | cantrip | [[Category:Cantrips]] | [[Category:Level {{{level}}} Spells]] }} {{#if: {{{school|}}} | [[Category:{{{school|}}} spells]]}}{{#if: {{{ritual|}}} | [[Category:Ritual spells]]}} {{#cargo_store:
{{#switch: {{{this is an example}}}
| yes =
| #default = {{Main namespace only|[[Category:Spells]] {{#ifeq: {{{level}}} | cantrip | [[Category:Cantrips]] | [[Category:Level {{{level}}} Spells]] }} {{#if: {{{school|}}} | [[Category:{{{school|}}} spells]]}}{{#if: {{{ritual|}}} | [[Category:Ritual spells]]}} {{#cargo_store:
_table = spells
_table = spells
| name = {{{name|{{#titleparts: {{PAGENAME}} }} }}}
| name = {{{name|{{#titleparts: {{PAGENAME}} }} }}}
Line 294: Line 296:
| recharge = {{{recharge|}}}
| recharge = {{{recharge|}}}
}}
}}
}}</includeonly><noinclude>{{documentation}}{{#cargo_declare:
}} }}</includeonly><noinclude>{{documentation}}{{#cargo_declare:
_table = spells
_table = spells
| name = String
| name = String