User:Crashaholic/ActionTemplate: Difference between revisions
Jump to navigation
Jump to search
(fix display of lone save/duration/recharge) |
(update with category auto-detection) |
||
Line 161: | Line 161: | ||
{{#lvardef: classes-learn-list | | {{#lvardef: classes-learn-list | | ||
{{#loop: level | 1 | 20 | | {{#loop: level | 1 | 20 | | ||
{{#if: {{{ class learns at level {{#var:level}} |}}} | {{blank}} | {{#if: {{{ class learns at level {{#var:level}} |}}} | {{#lvardef:hasclasslearn|1}}{{blank}} | ||
* Class Level {{#var:level}}: {{#invoke: ParseList | main | {{{ class learns at level {{#var:level}} }}} | useTemplate = Class }} | * Class Level {{#var:level}}: {{#invoke: ParseList | main | {{{ class learns at level {{#var:level}} }}} | useTemplate = Class }} | ||
}} | }} | ||
Line 167: | Line 167: | ||
}}{{#lvardef: races-learn-list | | }}{{#lvardef: races-learn-list | | ||
{{#loop: level | 1 | 20 | | {{#loop: level | 1 | 20 | | ||
{{#if: {{{ race learns at level {{#var:level}} |}}} | {{blank}} | {{#if: {{{ race learns at level {{#var:level}} |}}} | {{#lvardef:hasracelearn|1}}{{blank}} | ||
* Character Level {{#var:level}}: {{#invoke: ParseList | main | {{{ race learns at level {{#var:level}} }}} | useTemplate = Race }} | * Character Level {{#var:level}}: {{#invoke: ParseList | main | {{{ race learns at level {{#var:level}} }}} | useTemplate = Race }} | ||
}} | }} | ||
Line 193: | Line 193: | ||
{{{notes}}} | {{{notes}}} | ||
</div>| {{blank}}}}}} | </div>| {{blank}}}}}} | ||
<!-- CATEGORIES -->{{#ifeq: {{lc:{{{type|}}}}} | | <!-- CATEGORIES -->{{#ifeq: {{lc:{{{type|}}}}} |none || | ||
{{#ifeq: {{#lvar: hasclasslearn}} | 1 | |||
|{{#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]] | |||
}} | |||
|}} | |||
|}} | |||
|{{#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: action}} | 1 |[[Category:Racial Action]][[Category:Actions]] | ||
Line 202: | Line 211: | ||
|}} | |}} | ||
| | | | ||
}} <!-- End if race can learn --> | |||
}}<!-- End if class can learn --> | |||
}}<!-- End if type is not none --> | |||
}} | |||
</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 256: | Line 257: | ||
|- | |- | ||
| {{C|type}} | | {{C|type}} | ||
| Type of page. This is used for categorization. Current types: | | Type of page. This is used for categorization. Currently categorization is auto-detected so there is no need to worry about this parameter unless you don't want categories. Current types: | ||
* none: No categories or specific magic will happen | * none: No categories or specific magic will happen | ||
| <code>type = none</code> | |||
| <code>type = | |||
|- | |- | ||
| {{C|summary}} | | {{C|summary}} | ||
Line 369: | Line 368: | ||
| race learns at level 5 = Wood Elf | | race learns at level 5 = Wood Elf | ||
}}</pre> | }}</pre> | ||
{{User:MetalPlateMage/ | {{User:MetalPlateMage/ActionTemplate2 | ||
| type = none | | type = none | ||
| description = abc | | description = abc |
Revision as of 16:11, 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 = | attack roll = | ritual = | 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
- Cost:
- Action + 2Ki Points
- Damage:
- 1d4+1 Bludgeoning + 1d6 (1~6) Fire
- Details:
- Melee: 1.5 m / 5 ft
- Recharge: Long rest
- Duration: LR turns
- 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:
- Class Level 3:
Races:
- Character Level 5:
(Character Level is the sum of all Class Levels for a multi-classed character.)
Notes
- bar