User:Crashaholic/ActionTemplate: Difference between revisions
Jump to navigation
Jump to search
(make the divs look look like spellpage and weaponaction - still needs some tweaks) |
(port over X learns at from SpellPage) |
||
Line 108: | Line 108: | ||
{{trim|{{#if: {{{higherlevels|}}} | {{{higherlevels}}}| {{blank}}}}}} <!-- TODO: make this a bit smarter --> | {{trim|{{#if: {{{higherlevels|}}} | {{{higherlevels}}}| {{blank}}}}}} <!-- TODO: make this a bit smarter --> | ||
</div> | </div> | ||
{{#if: {{{learns|}}} | = | == How to Learn == | ||
{{ | {{#lvardef: how-to-learn-content | | ||
{{#lvardef: classes-learn-list | | |||
{{#loop: level | 1 | 20 | | |||
{{#if: {{{ class learns at level {{#var:level}} |}}} | {{blank}} | |||
* Class Level {{#var:level}}: {{#invoke: ParseList | main | {{{ class learns at level {{#var:level}} }}} | useTemplate = Class }} | |||
}} | |||
}} | |||
}}{{#lvardef: races-learn-list | | |||
{{#loop: level | 1 | 20 | | |||
{{#if: {{{ race learns at level {{#var:level}} |}}} | {{blank}} | |||
* Character Level {{#var:level}}: {{#invoke: ParseList | main | {{{ race learns at level {{#var:level}} }}} | useTemplate = Race }} | |||
}} | |||
}} | |||
}}{{#if: {{#lvar:classes-learn-list}} | | |||
Classes: | |||
{{#lvar:classes-learn-list}} | |||
}}{{#if: {{#lvar:races-learn-list}} | {{blank}} | |||
Races: | |||
{{#lvar:races-learn-list}} | |||
(Character Level is the sum of all Class Levels for a multi-classed character.) | |||
}}{{#if: {{{granted by feats|}}} | {{blank}} | |||
Feats: | |||
{{#invoke: ParseList | main | {{{granted by feats}}} | makeLinks = yes }} | |||
}} | |||
}}<div class="bg3wiki-tooltip-box"> | |||
{{#lvar: how-to-learn-content | ''(Information not yet added.)'' }} | |||
</div> | |||
{{clear}} | {{clear}} | ||
{{#if: {{{notes|}}} | == Notes == }} | {{#if: {{{notes|}}} | == Notes == }} | ||
Line 175: | Line 203: | ||
| <code>concentration = This action is a concentration!</code> | | <code>concentration = This action is a concentration!</code> | ||
<code>concentration=</code> | <code>concentration=</code> | ||
|- | |||
| {{C|learns}} | |||
| Which class/race/feat learns this | |||
| <code>class learns at level 3 = Monk</code> | |||
<code>race learns at level 5 = Wood Elf</code> | |||
|} | |} | ||
Line 198: | Line 231: | ||
| higherlevels = go far | | higherlevels = go far | ||
| notes = bar | | notes = bar | ||
| learns = | | class learns at level 3 = Monk | ||
}} | }} | ||
</pre> | </pre> | ||
Line 221: | Line 254: | ||
| higherlevels = go far | | higherlevels = go far | ||
| notes = bar | | notes = bar | ||
| learns = | | class learns at level 3 = Monk | ||
| race learns at level 5 = Wood Elf | |||
}} | }} | ||
</noinclude> | </noinclude> |
Revision as of 22:26, 4 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:Crashaholic/ActionTemplate | description = | image = | summary = | cost = | concentration = | damage = | damage2 = | recharge = | duration = | range = | aoe = | save = | additional = | higherlevels = | learns = | notes = }}
The following is a table to further explain what each parameter takes, and how to use them.
Example
{{User:Crashaholic/ActionTemplate | description = abc | image = Fly Icon.png | summary = fly you fools | cost = ki:2, action | damage = amount: 1d4+1, type:Bludgeoning | damage2 = amount: 1d6, type: Fire | recharge = Long Rest | distance = melee | duration = LR | save = DEX, abc | additional = * abcd {{User:Tc/FXBox | name = Fly | icon = Fly Icon.png | effect = go on, fly | duration = 1 }} | higherlevels = go far | notes = bar | class learns at level 3 = Monk }}
fly you fools
Description
abc
Properties
1d4 + 1 (2~5) Bludgeoning
+ 1d6 (1~6) Fire
Action + 2UNDEFINED
Recharge: Long rest
Duration: LR turns
1.5 m / 5 ft
DEX Save (On Save: abc)
- abcd
Fly |
---|
Duration: 1 turn
go on, fly |
At Higher Levels
go far
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