User:Crashaholic/ActionTemplate: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 12: Line 12:


== Properties ==
== Properties ==
{{trim|{{#if: {{{cost|}}} | * {{InfoBlob|{{{cost}}}}}}}}}
{{trim|{{#if: {{{cost|}}} | * {{InfoBlob|{{{cost}}}| {{blank}}}}}}}}
{{trim|{{#if: {{{damage|}}} | * Damage: {{{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
| name = alternative name
| 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 12: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 Icon.png

fly you fools

Description

abc

Properties

  • DEX
  • abcd


Notes

bar