User:Crashaholic/ActionTemplate: Difference between revisions
Jump to navigation
Jump to search
Crashaholic (talk | contribs) mNo edit summary |
Crashaholic (talk | contribs) No edit summary |
||
Line 12: | Line 12: | ||
== Properties == | == Properties == | ||
{{trim|{{#if: {{{cost|}}} | * {{InfoBlob|{{{cost}}}}}}}}} | {{trim|{{#if: {{{cost|}}} | * {{InfoBlob|{{{cost}}}| {{blank}}}}}}}} | ||
{{trim|{{#if: {{{damage|}}} | * | {{trim|{{#if: {{{concentration|}}} | * {{Concentration}} | {{blank}}}}}} | ||
{{trim|{{#if: {{{recharge|}}} | * {{{recharge}}}}}}} | {{trim|{{#if: {{{damage|}}} | * {{{damage}}}| {{blank}}}}}} | ||
{{trim|{{#if: {{{duration|}}} | * {{{duration}}}}}}} | {{trim|{{#if: {{{recharge|}}} | * {{{recharge}}}| {{blank}}}}}} | ||
{{trim|{{#if: {{{range|}}} | * {{{range}}}}}}} | {{trim|{{#if: {{{duration|}}} | * {{{duration}}}| {{blank}}}}}} | ||
{{trim|{{#if: {{{aoe|}}} | * {{{aoe}}}}}}} | {{trim|{{#if: {{{range|}}} | * {{{range}}}| {{blank}}}}}} | ||
{{trim|{{#if: {{{aoe|}}} | * {{{aoe}}}| {{blank}}}}}} | |||
{{trim|{{#if: {{{save|}}} | * {{SmallIcon|Save Throw Icons.png}}{{{save}}}| {{blank}}}}}} | |||
{{trim|{{#if: {{{additional|}}} | {{{additional}}}| {{blank}}}}}} | |||
{{#if: {{{higherlevels|}}} | == At Higher Levels ==}} | {{#if: {{{higherlevels|}}} | == At Higher Levels ==}} | ||
{{trim|{{#if: {{{higherlevels|}}} | {{{higherlevels}}} }}}} | {{trim|{{#if: {{{higherlevels|}}} | {{{higherlevels}}}| {{blank}} }}}} | ||
{{clear}} | {{clear}} | ||
{{#if: {{{notes|}}} | == Notes == }} | {{#if: {{{notes|}}} | == Notes == }} | ||
{{trim|{{#if: {{{notes|}}} | {{{notes}}}}}}}</includeonly><noinclude> | {{trim|{{#if: {{{notes|}}} | {{{notes}}}| {{blank}}}}}}</includeonly><noinclude> | ||
This is a page to transclude to generate action pages. It is for pages that do not fit the [[Template:SpellPage | <nowiki>{{SpellPage}} Template</nowiki>]] | This is a page to transclude to generate action pages. It is for pages that do not fit the [[Template:SpellPage | <nowiki>{{SpellPage}} Template</nowiki>]] | ||
Line 34: | Line 37: | ||
<pre> | <pre> | ||
{{User:Crashaholic/ActionTemplate | {{User:Crashaholic/ActionTemplate | ||
| description = action's in-game description here | | description = action's in-game description here | ||
| image = file name here | | image = file name here | ||
| summary = summary here (skill is foo that bar) | | summary = summary here (skill is foo that bar) | ||
| cost = cost of skill here (use {{action}} where possible, or otherwise whichever class-based resource is needed to use this action), leave blank if none | | cost = cost of skill here (use {{action}} where possible, or otherwise whichever class-based resource is needed to use this action), leave blank if none | ||
| concentration = is concentration? put something here if it is, otherwise, leave blank | |||
| damage = {{DamageInfo}} for this info pls, leave blank if none | | damage = {{DamageInfo}} for this info pls, leave blank if none | ||
| recharge = use {{Recharge}} where possible, leave blank if none | | recharge = use {{Recharge}} where possible, leave blank if none | ||
Line 44: | Line 47: | ||
| range = use {{Distance}} where possible, leave blank if none | | range = use {{Distance}} where possible, leave blank if none | ||
| aoe = use {{AOE}} where possible, leave blank if none | | aoe = use {{AOE}} where possible, leave blank if none | ||
| save = what a saving throw does | |||
| additional = additional information | |||
| higherlevels = at higher levels... | | higherlevels = at higher levels... | ||
| notes = any thing to note? | | notes = any thing to note? | ||
}} | }} | ||
</pre> | </pre> | ||
==Example== | |||
{{User:Crashaholic/ActionTemplate | |||
| description = abc | |||
| image = Fly Icon.png | |||
| summary = fly you fools | |||
| cost = {{action}} | |||
| damage = {{DamageInfo|1d4+1|Bludgeoning}} | |||
| recharge = {{Recharge|Long Rest}} | |||
| duration = {{Duration|Long Rest}} | |||
| save = DEX | |||
| additional = * abcd | |||
| notes = bar | |||
}} | |||
</noinclude> | </noinclude> |
Revision as of 11:27, 13 August 2023
This is a page to transclude to generate action pages. It is for pages that do not fit the {{SpellPage}} Template
If this is too egregious, do reach out to me on Discord and tell me if there are alternatives instead of using transclusion (which Templates do already anyways).
Usage:
{{User:Crashaholic/ActionTemplate | description = action's in-game description here | image = file name here | summary = summary here (skill is foo that bar) | cost = cost of skill here (use {{action}} where possible, or otherwise whichever class-based resource is needed to use this action), leave blank if none | concentration = is concentration? put something here if it is, otherwise, leave blank | damage = {{DamageInfo}} for this info pls, leave blank if none | recharge = use {{Recharge}} where possible, leave blank if none | duration = use {{Duration}} where possible, leave blank if none | range = use {{Distance}} where possible, leave blank if none | aoe = use {{AOE}} where possible, leave blank if none | save = what a saving throw does | additional = additional information | higherlevels = at higher levels... | notes = any thing to note? }}
Example
fly you fools
Description
abc
Properties
- 1d4 + 1 (2~5) Bludgeoning
- Recharge: Long rest
- Duration: Until Long rest
- DEX
- abcd
Notes
bar