Template:Action page: Difference between revisions
Jump to navigation
Jump to search
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 |
Revision as of 03:34, 6 September 2023
This is a page to transclude to generate action pages. It is generally for pages that do not fit the {{SpellPage}} Template
Usage
{{User:MetalPlateMage/ActionTemplate | type = | summary = | description = | image = | cost = | concentration = | damage = | damage2 = | recharge = | duration = | save = | range = | range m = | range ft = | aoe = | aoe m = | aoe ft = | condition = | condition duration = | condition save = | additional = | higherlevels = | X learns at level X = | notes = }}
The following is a table to further explain what each parameter takes, and how to use them.
Example
{{User:MetalPlateMage/ActionTemplate | type = none | description = abc | image = Fly Icon.png | summary = fly you fools | cost = ki:2, action | damage = amounttext: 1d4+1, type:Bludgeoning | damage2 = amount: 1d6, type: Fire | recharge = Long Rest | range = melee | duration = LR | save = DEX, abc | additional = abcd | condition = Flight | condition duration = 1 | higherlevels = go far | notes = * bar | class learns at level 3 = Monk | race learns at level 5 = Wood Elf }}
fly you fools
Description
abc
Properties
1d4+1 Bludgeoning + 1d6 (1~6) Fire
Action + 2UNDEFINED
Recharge: Long rest
Duration: LR turns
Melee: 1.5 m / 5 ft
DEX Save (On Save: abc)
abcd
At Higher Levels
go far
Condition: Flight
Duration: 1 turn
- Fly up to target position, up to 18 m / 60 ft each turn using your Movement Speed.
How to Learn
Classes:test
- Class Level 3:
Races:
- Character Level 5:
(Character Level is the sum of all Class Levels for a multi-classed character.)
Notes
- bar