6,366
editsAd placeholder
Template:Action page: Difference between revisions
Jump to navigation
Jump to search
Fix category casing
HiddenDragon (talk | contribs) 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}}} | {{#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 | |{{#ifeq: {{#lvar: freeaction}} | 1 |[[Category:Free actions]] | ||
|{{#ifeq: {{#lvar: bonus}} | 1 |[[Category:Bonus | |{{#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 | | [[Category:Passive features]] | ||
}} | }} | ||
}} | }} | ||
Line 231: | Line 231: | ||
|}} | |}} | ||
|{{#ifeq: {{#lvar: hasclasslearn}} | 1 | |{{#ifeq: {{#lvar: hasclasslearn}} | 1 | ||
|{{#ifeq: {{#lvar: reaction}} | 1 |[[Category:Class | |{{#ifeq: {{#lvar: reaction}} | 1 |[[Category:Class actions]][[Category:Reactions]] | ||
|{{#ifeq: {{#lvar: freeaction}} | 1 |[[Category:Class | |{{#ifeq: {{#lvar: freeaction}} | 1 |[[Category:Class actions]][[Category:Free actions]] | ||
|{{#ifeq: {{#lvar: bonus}} | 1 |[[Category:Class | |{{#ifeq: {{#lvar: bonus}} | 1 |[[Category:Class actions]][[Category:Bonus actions]] | ||
|{{#ifeq: {{#lvar: action}} | 1 |[[Category:Class | |{{#ifeq: {{#lvar: action}} | 1 |[[Category:Class actions]][[Category:Actions]] | ||
| [[Category:Class | | [[Category:Class actions]][[Category:Passive features]] | ||
}} | }} | ||
}} | }} | ||
Line 241: | Line 241: | ||
|}} | |}} | ||
|{{#ifeq: {{#lvar: hasracelearn}} | 1 | |{{#ifeq: {{#lvar: hasracelearn}} | 1 | ||
|{{#ifeq: {{#lvar: reaction}} | 1 |[[Category:Racial | |{{#ifeq: {{#lvar: reaction}} | 1 |[[Category:Racial action]][[Category:Reactions]] | ||
|{{#ifeq: {{#lvar: freeaction}} | 1 |[[Category:Racial | |{{#ifeq: {{#lvar: freeaction}} | 1 |[[Category:Racial action]][[Category:Free actions]] | ||
|{{#ifeq: {{#lvar: bonus}} | 1 |[[Category:Racial | |{{#ifeq: {{#lvar: bonus}} | 1 |[[Category:Racial action]][[Category:Bonus actions]] | ||
|{{#ifeq: {{#lvar: action}} | 1 |[[Category:Racial | |{{#ifeq: {{#lvar: action}} | 1 |[[Category:Racial action]][[Category:Actions]] | ||
| [[Category:Racial | | [[Category:Racial action]][[Category:Passive features]] | ||
}} | }} | ||
}} | }} |