User:Sky/spell page test: Difference between revisions
< User:Sky
Jump to navigation
Jump to search
(create) |
No edit summary |
||
Line 215: | Line 215: | ||
{{#switch: {{{this is an example|}}} | {{#switch: {{{this is an example|}}} | ||
| yes = | | yes = | ||
| #default = [[Category:Spells]] {{#ifeq: {{{level}}} | cantrip | [[Category:Cantrips]] | [[Category:Level {{{level}}} Spells]] }} [[Category:{{{school}}} Spells]] {{#if: {{{ritual|}}} | [[Category:Ritual Spells]]}} | | #default = [[Category:Spells]] {{#ifeq: {{{level}}} | cantrip | [[Category:Cantrips]] | [[Category:Level {{{level}}} Spells]] }} [[Category:{{{school}}} Spells]] {{#if: {{{ritual|}}} | [[Category:Ritual Spells]]}} | ||
_table = spells | |||
== cargo_store == | |||
* _table = spells | |||
* name = {{{name|{{PAGENAME}} }}} | |||
* is_concentration = {{#if:{{{concentration|}}}|yes}} | |||
* is_ritual = {{#if:{{{ritual|}}}|yes}} | |||
* aoe = {{{aoe|}}} | |||
* aoe_size = {{#if:{{{aoe|}}}|{{{aoe m|}}}/{{{aoe f|}}} }} | |||
* is_npc = {{#if:{{{cannot be learned|}}}|yes}} | |||
* can_upcast = {{#if:{{{higher levels|}}}|yes}} | |||
* has_attack_roll = {{#if:{{{attack roll|}}}|yes}} | |||
* description = {{{description|}}} | |||
* action_type = {{{action type|}}} | |||
* spell_range = {{{range|}}} | |||
<!-- A little logic to try to make sure the list of classes only contains unique values. --> | <!-- A little logic to try to make sure the list of classes only contains unique values. --> | ||
* classes = {{#arraydefine:classes|{{#lvar:classes}}|,}}{{#arrayunique:classes}}{{#arrayprint:classes|,}} | |||
* damage_type = {{{damage type|}}} | |||
* damage_save = {{{damage save|}}} | |||
* is_healing = {{#if:{{{healing|}}}|yes}} | |||
* condition_duration = {{{condition_duration|}}} | |||
}}</includeonly> | }}</includeonly> |