1,750
editstake categories from action/reaction/bonus rather than type parameter
No edit summary |
(take categories from action/reaction/bonus rather than type parameter) |
||
Line 163: | Line 163: | ||
}} | }} | ||
}}{{#if: {{#lvar:classes-learn-list}} | | }}{{#if: {{#lvar:classes-learn-list}} | | ||
Classes: | Classes:test | ||
{{#lvar:classes-learn-list}} | {{#lvar:classes-learn-list}} | ||
}}{{#if: {{#lvar:races-learn-list}} | {{blank}} | }}{{#if: {{#lvar:races-learn-list}} | {{blank}} | ||
Line 184: | Line 184: | ||
{{{notes}}} | {{{notes}}} | ||
</div>| {{blank}}}}}} | </div>| {{blank}}}}}} | ||
{{#ifeq: {{lc:{{{type|}}}}} | | <!-- CATEGORIES -->{{#ifeq: {{lc:{{{type|}}}}} |racial | ||
|{{#ifeq: {{#lvar: reaction}} | 1 |[[Category:Racial Actions]][[Category:Reactions]] | |||
|{{#ifeq: {{#lvar: action}} | 1 |[[Category:Racial Actions]][[Category:Actions]] | |||
|{{#ifeq: {{#lvar: bonus}} | 1 |[[Category:Racial Actions]][[Category:Bonus Actions]] | |||
| [[Category:Racial Actions]][[Category:Passive Features]] | |||
}} | |||
|}} | |||
|}} | |||
| | |||
{{#ifeq: {{lc:{{{type|}}}}} |none | |||
| | |||
|{{#ifeq: {{#lvar: reaction}} | 1 |[[Category:Class Actions]][[Category:Reactions]] | |||
|{{#ifeq: {{#lvar: action}} | 1 |[[Category:Class Actions]][[Category:Actions]] | |||
|{{#ifeq: {{#lvar: bonus}} | 1 |[[Category:Class Actions]][[Category:Bonus Actions]] | |||
| [[Category:Class Actions]][[Category:Passive Features]] | |||
}} | |||
|}} | |||
|}} | |||
}} | |||
}} | |||
</includeonly><noinclude>This is a page to transclude to generate action pages. It is generally for pages that do not fit the [[Template:SpellPage | <code><nowiki>{{SpellPage}} Template</nowiki></code>]] | </includeonly><noinclude>This is a page to transclude to generate action pages. It is generally for pages that do not fit the [[Template:SpellPage | <code><nowiki>{{SpellPage}} Template</nowiki></code>]] | ||
Line 236: | Line 246: | ||
| {{C|type}} | | {{C|type}} | ||
| Type of page. This is used for categorization. Current types: | | Type of page. This is used for categorization. Current types: | ||
* | * none: No categories or specific magic will happen | ||
* passive | * racial: Racial action/passive | ||
* | * class (or type is blank): Class action/passive | ||
| <code>type = classaction</code> | | <code>type = classaction</code> | ||
|- | |- | ||
Line 325: | Line 333: | ||
=Example= | =Example= | ||
<pre>{{User:MetalPlateMage/ActionTemplate | <pre>{{User:MetalPlateMage/ActionTemplate | ||
| type = none | |||
| description = abc | | description = abc | ||
| image = Fly Icon.png | | image = Fly Icon.png | ||
Line 344: | Line 353: | ||
}}</pre> | }}</pre> | ||
{{User:MetalPlateMage/ActionTemplate | {{User:MetalPlateMage/ActionTemplate | ||
| type = none | |||
| description = abc | | description = abc | ||
| image = Fly Icon.png | | image = Fly Icon.png |