Ad placeholder

Template:Action page: Difference between revisions

Jump to navigation Jump to search
cat tweak
(add freeaction support)
(cat tweak)
Line 252: Line 252:
{{#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: action}} | 1 |<!--Spells aren't included in Actions-->
|{{#ifeq: {{#lvar: freeaction}} | 1 |[[Category:Free Actions]]
|{{#ifeq: {{#lvar: bonus}} | 1 |[[Category:Bonus Actions]]
|{{#ifeq: {{#lvar: bonus}} | 1 |[[Category:Bonus Actions]]
|{{#ifeq: {{#lvar: freeaction}} | 1 |[[Category:Free Actions]]
|{{#ifeq: {{#lvar: action}} | 1 |<!--Spells aren't included in Actions-->
| [[Category:Passive Features]]  
| [[Category:Passive Features]]  
}}
}}
Line 262: Line 262:
|{{#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: action}} | 1 |[[Category:Class Actions]][[Category: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: freeaction}} | 1 |[[Category:Class Actions]][[Category:Free Actions]]
|{{#ifeq: {{#lvar: action}} | 1 |[[Category:Class Actions]][[Category:Actions]]
| [[Category:Class Actions]][[Category:Passive Features]]  
| [[Category:Class Actions]][[Category:Passive Features]]  
}}
}}
Line 272: Line 272:
|{{#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: action}} | 1 |[[Category:Racial Action]][[Category: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: freeaction}} | 1 |[[Category:Racial Action]][[Category:Free Actions]]
|{{#ifeq: {{#lvar: action}} | 1 |[[Category:Racial Action]][[Category:Actions]]
| [[Category:Racial Action]][[Category:Passive Features]]  
| [[Category:Racial Action]][[Category:Passive Features]]  
}}
}}

Navigation menu