Template:Action page: Difference between revisions

Jump to navigation Jump to search
Fix category casing
No edit summary
(Fix category casing)
Line 220: Line 220:
}}
}}
<!-- CATEGORIES -->{{#ifeq: {{{this is an example|}}} ||
<!-- CATEGORIES -->{{#ifeq: {{{this is an example|}}} ||
{{#if: {{{level|}}} | [[Category:Spells]] {{#ifeq: {{{level}}} | cantrip | [[Category:Cantrips]] | [[Category:Level {{{level}}} Spells]] }}    {{#if: {{{school|}}} | [[Category:{{{school}}} Spells]]}} {{#if: {{{ritual|}}} | [[Category:Ritual Spells]]}}
{{#if: {{{level|}}} | [[Category:Spells]] {{#ifeq: {{{level}}} | cantrip | [[Category:Cantrips]] | [[Category:Level {{{level}}} spells]] }}    {{#if: {{{school|}}} | [[Category:{{{school}}} spells]]}} {{#if: {{{ritual|}}} | [[Category:Ritual spells]]}}
   {{#ifeq: {{#lvar: reaction}} | 1 |[[Category:Reactions]]
   {{#ifeq: {{#lvar: reaction}} | 1 |[[Category:Reactions]]
|{{#ifeq: {{#lvar: freeaction}} | 1 |[[Category:Free Actions]]
|{{#ifeq: {{#lvar: freeaction}} | 1 |[[Category:Free actions]]
|{{#ifeq: {{#lvar: bonus}} | 1 |[[Category:Bonus Actions]]
|{{#ifeq: {{#lvar: bonus}} | 1 |[[Category:Bonus actions]]
|{{#ifeq: {{#lvar: action}} | 1 |<!--Spells aren't included in Actions-->
|{{#ifeq: {{#lvar: action}} | 1 |<!--Spells aren't included in Actions-->
| [[Category:Passive Features]]  
| [[Category:Passive features]]  
}}
}}
}}
}}
Line 231: Line 231:
|}}
|}}
|{{#ifeq: {{#lvar: hasclasslearn}} | 1  
|{{#ifeq: {{#lvar: hasclasslearn}} | 1  
|{{#ifeq: {{#lvar: reaction}} | 1 |[[Category:Class Actions]][[Category:Reactions]]
|{{#ifeq: {{#lvar: reaction}} | 1 |[[Category:Class actions]][[Category:Reactions]]
|{{#ifeq: {{#lvar: freeaction}} | 1 |[[Category:Class Actions]][[Category:Free Actions]]
|{{#ifeq: {{#lvar: freeaction}} | 1 |[[Category:Class actions]][[Category:Free actions]]
|{{#ifeq: {{#lvar: bonus}} | 1 |[[Category:Class Actions]][[Category:Bonus Actions]]
|{{#ifeq: {{#lvar: bonus}} | 1 |[[Category:Class actions]][[Category:Bonus actions]]
|{{#ifeq: {{#lvar: action}} | 1 |[[Category:Class Actions]][[Category:Actions]]
|{{#ifeq: {{#lvar: action}} | 1 |[[Category:Class actions]][[Category:Actions]]
| [[Category:Class Actions]][[Category:Passive Features]]  
| [[Category:Class actions]][[Category:Passive features]]  
}}
}}
}}
}}
Line 241: Line 241:
|}}
|}}
|{{#ifeq: {{#lvar: hasracelearn}} | 1  
|{{#ifeq: {{#lvar: hasracelearn}} | 1  
   |{{#ifeq: {{#lvar: reaction}} | 1 |[[Category:Racial Action]][[Category:Reactions]]
   |{{#ifeq: {{#lvar: reaction}} | 1 |[[Category:Racial action]][[Category:Reactions]]
|{{#ifeq: {{#lvar: freeaction}} | 1 |[[Category:Racial Action]][[Category:Free Actions]]
|{{#ifeq: {{#lvar: freeaction}} | 1 |[[Category:Racial action]][[Category:Free actions]]
|{{#ifeq: {{#lvar: bonus}} | 1 |[[Category:Racial Action]][[Category:Bonus Actions]]
|{{#ifeq: {{#lvar: bonus}} | 1 |[[Category:Racial action]][[Category:Bonus actions]]
|{{#ifeq: {{#lvar: action}} | 1 |[[Category:Racial Action]][[Category:Actions]]
|{{#ifeq: {{#lvar: action}} | 1 |[[Category:Racial action]][[Category:Actions]]
| [[Category:Racial Action]][[Category:Passive Features]]  
| [[Category:Racial action]][[Category:Passive features]]  
}}
}}
}}
}}

Navigation menu