User:Crashaholic/ActionTemplate: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
No edit summary
(changed how the cost can take an additional optional parameter)
Line 1: Line 1:
<includeonly>
<includeonly>
{{PageSeo
{{PageSeo
| description = {{{summary}}}
| description = {{{name|{{PAGENAME}}}}} {{{summary}}}
| image = {{{image}}}
| image = {{{image}}}
}}
}}
__NOTOC__
__NOTOC__
[[File:{{{image}}}|frameless|right]]
[[File:{{{image}}}|frameless|right]]
{{{summary}}}
{{{name|{{PAGENAME}}}}} {{{summary}}}


== Description ==
== Description ==
Line 12: Line 12:


== Properties ==
== Properties ==
{{trim|{{#if: {{{cost|}}} | * {{InfoBlob|{{{cost}}}| {{blank}}}}}}}}
{{trim|{{#if: {{{cost|}}}
    |{{#if: {{#pos: {{{cost}}}|,}}
        |{{#if: {{trim|{{#explode: {{{cost}}}|,|0}}}}
        | {{InfoBlob|{{action|{{#explode: {{{cost}}}|,|0}}}} + {{#explode: {{{cost}}}|,|1}}}}
| {{InfoBlob|{{#explode: {{{cost}}}|,|1}}}}
}}
|{{InfoBlob|{{action|{{#explode: {{{cost}}}|,|0}}}}}}
    }}| {{blank}}
}}}}
{{trim|{{#if: {{{concentration|}}} | * {{Concentration}} | {{blank}}}}}}
{{trim|{{#if: {{{concentration|}}} | * {{Concentration}} | {{blank}}}}}}
{{trim|{{#if: {{{damage|}}} | * {{{damage}}}| {{blank}}}}}}
{{trim|{{#if: {{{damage|}}} | * {{{damage}}}| {{blank}}}}}}
Line 58: Line 66:
| image = Fly Icon.png
| image = Fly Icon.png
| summary = fly you fools
| summary = fly you fools
| cost = {{action}}
| cost = action, 2{{:Monk/KiText}}s
| damage = {{DamageInfo|1d4+1|Bludgeoning}}
| damage = {{DamageInfo|1d4+1|Bludgeoning}}
| recharge = {{Recharge|Long Rest}}
| recharge = {{Recharge|Long Rest}}
Line 64: Line 72:
| save = DEX
| save = DEX
| additional = * abcd
| additional = * abcd
| higherlevels = go far
| notes = bar
| notes = bar
}}
}}
</noinclude>
</noinclude>

Revision as of 17:40, 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 Icon.png

Crashaholic/ActionTemplate fly you fools

Description

abc

Properties

Action + 2Use instead s

  • DEX
  • abcd

At Higher Levels

go far

Notes

bar