Ad placeholder

User:Sky/spell page test: Difference between revisions

Jump to navigation Jump to search
no edit summary
(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]]}} #cargo_store:
| #default = [[Category:Spells]] {{#ifeq: {{{level}}} | cantrip | [[Category:Cantrips]] | [[Category:Level {{{level}}} Spells]] }} [[Category:{{{school}}} Spells]] {{#if: {{{ritual|}}} | [[Category:Ritual Spells]]}}
_table = spells
 
| name = {{{name|{{PAGENAME}} }}}
== cargo_store ==
| is_concentration = {{#if:{{{concentration|}}}|yes}}
* _table = spells
| is_ritual = {{#if:{{{ritual|}}}|yes}}
* name = {{{name|{{PAGENAME}} }}}
| aoe = {{{aoe|}}}
* is_concentration = {{#if:{{{concentration|}}}|yes}}
| aoe_size = {{#if:{{{aoe|}}}|{{{aoe m|}}}/{{{aoe f|}}} }}
* is_ritual = {{#if:{{{ritual|}}}|yes}}
| is_npc = {{#if:{{{cannot be learned|}}}|yes}}
* aoe = {{{aoe|}}}
| can_upcast = {{#if:{{{higher levels|}}}|yes}}
* aoe_size = {{#if:{{{aoe|}}}|{{{aoe m|}}}/{{{aoe f|}}} }}
| has_attack_roll = {{#if:{{{attack roll|}}}|yes}}
* is_npc = {{#if:{{{cannot be learned|}}}|yes}}
| description = {{{description|}}}
* can_upcast = {{#if:{{{higher levels|}}}|yes}}
| action_type = {{{action type|}}}
* has_attack_roll = {{#if:{{{attack roll|}}}|yes}}
| spell_range = {{{range|}}}
* 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|,}}
* classes = {{#arraydefine:classes|{{#lvar:classes}}|,}}{{#arrayunique:classes}}{{#arrayprint:classes|,}}
| damage_type = {{{damage type|}}}
* damage_type = {{{damage type|}}}
| damage_save = {{{damage save|}}}
* damage_save = {{{damage save|}}}
| is_healing = {{#if:{{{healing|}}}|yes}}
* is_healing = {{#if:{{{healing|}}}|yes}}
| condition_duration = {{{condition_duration|}}}
* condition_duration = {{{condition_duration|}}}
}}</includeonly>
}}</includeonly>

Navigation menu