Template:Action page: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
(test)
 
No edit summary
Line 14: Line 14:
{{#if: {{{damage|}}} |
{{#if: {{{damage|}}} |
{{#lvardef: amt|}}{{#lvardef: typ|}}{{#lvardef: mod|}}{{#lvardef: per|}}{{#lvardef: sav|}}{{#lvardef: sfx|}}
{{#lvardef: amt|}}{{#lvardef: typ|}}{{#lvardef: mod|}}{{#lvardef: per|}}{{#lvardef: sav|}}{{#lvardef: sfx|}}
{{#ifeq:{{#pos:{{lc:{{{damage|}}}}}|amounttext:}}||| {{#lvardef: amttxt|{{#rmatch: {{{damage|}}}|amounttext:\s?([^\s][^,]*)|$1|caseless=0}}}}}}
{{#ifeq:{{#pos:{{lc:{{{damage|}}}}}|amount:}}||| {{#lvardef: amt|{{#rmatch: {{{damage|}}}|amount:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
{{#ifeq:{{#pos:{{lc:{{{damage|}}}}}|amount:}}||| {{#lvardef: amt|{{#rmatch: {{{damage|}}}|amount:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
{{#ifeq:{{#pos:{{lc:{{{damage|}}}}}|type:}}|||{{#lvardef: typ|{{#rmatch: {{{damage|}}}|type:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
{{#ifeq:{{#pos:{{lc:{{{damage|}}}}}|type:}}|||{{#lvardef: typ|{{#rmatch: {{{damage|}}}|type:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
Line 20: Line 21:
{{#ifeq:{{#pos:{{lc:{{{damage|}}}}}|save:}}|||{{#lvardef: sav|{{#rmatch: {{{damage|}}}|save:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
{{#ifeq:{{#pos:{{lc:{{{damage|}}}}}|save:}}|||{{#lvardef: sav|{{#rmatch: {{{damage|}}}|save:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
{{#ifeq:{{#pos:{{lc:{{{damage|}}}}}|save effect:}}|||{{#lvardef: sfx|{{#rmatch: {{{damage|}}}|save effect:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
{{#ifeq:{{#pos:{{lc:{{{damage|}}}}}|save effect:}}|||{{#lvardef: sfx|{{#rmatch: {{{damage|}}}|save effect:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
{{#lvardef: dmg1|{{DamageInfo|{{#lvar: amt}}|{{#lvar: typ}}|modifier = {{#lvar:mod}}|per = {{#lvar: dot}}|save = {{#lvar: sav}}|save effect = {{#lvar: sfx}}}}}}}}
{{#lvardef: dmg1|{{#if: {{#lvar: amttxt}}|{{DamageText|{{#lvar: amttxt}} |{{#lvar: typ}}}}|{{DamageInfo|{{#lvar: amt}}|{{#lvar: typ}}}}|modifier = {{#lvar:mod}}|per = {{#lvar: dot}}|save = {{#lvar: sav}}|save effect = {{#lvar: sfx}}}}}}}}
{{#if: {{{damage2|}}} |
{{#if: {{{damage2|}}} |
{{#lvardef: amt|}}{{#lvardef: typ|}}{{#lvardef: mod|}}{{#lvardef: per|}}{{#lvardef: sav|}}{{#lvardef: sfx|}}
{{#lvardef: amttxt|}}{{#lvardef: amt|}}{{#lvardef: typ|}}{{#lvardef: mod|}}{{#lvardef: per|}}{{#lvardef: sav|}}{{#lvardef: sfx|}}
{{#ifeq:{{#pos:{{lc:{{{damage2|}}}}}|amounttext:}}||| {{#lvardef: amttxt|{{#rmatch: {{{damage2|}}}|amounttext:\s?([^\s][^,]*)|$1|caseless=0}}}}}}
{{#ifeq:{{#pos:{{lc:{{{damage2|}}}}}|amount:}}||| {{#lvardef: amt|{{#rmatch: {{{damage2|}}}|amount:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
{{#ifeq:{{#pos:{{lc:{{{damage2|}}}}}|amount:}}||| {{#lvardef: amt|{{#rmatch: {{{damage2|}}}|amount:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
{{#ifeq:{{#pos:{{lc:{{{damage2|}}}}}|type:}}|||{{#lvardef: typ|{{#rmatch: {{{damage2|}}}|type:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
{{#ifeq:{{#pos:{{lc:{{{damage2|}}}}}|type:}}|||{{#lvardef: typ|{{#rmatch: {{{damage2|}}}|type:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
Line 29: Line 31:
{{#ifeq:{{#pos:{{lc:{{{damage2|}}}}}|save:}}|||{{#lvardef: sav|{{#rmatch: {{{damage2|}}}|save:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
{{#ifeq:{{#pos:{{lc:{{{damage2|}}}}}|save:}}|||{{#lvardef: sav|{{#rmatch: {{{damage2|}}}|save:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
{{#ifeq:{{#pos:{{lc:{{{damage2|}}}}}|save effect:}}|||{{#lvardef: sfx|{{#rmatch: {{{damage2|}}}|save effect:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
{{#ifeq:{{#pos:{{lc:{{{damage2|}}}}}|save effect:}}|||{{#lvardef: sfx|{{#rmatch: {{{damage2|}}}|save effect:\s?([^\s][^,]*)|$1|caseless=1}}}}}}
{{#lvardef: dmg2|{{DamageInfo|{{#lvar: amt}}|{{#lvar: typ}}|modifier = {{#lvar:mod}}|per = {{#lvar: dot}}|save = {{#lvar: sav}}|save effect = {{#lvar: sfx}}}}}}}}
{{#lvardef: dmg2|{{#if: {{#lvar: amttxt}}|{{DamageText|{{#lvar: amttxt}} |{{#lvar: typ}}}}|{{DamageInfo|{{#lvar: amt}}|{{#lvar: typ}}}}|modifier = {{#lvar:mod}}|per = {{#lvar: dot}}|save = {{#lvar: sav}}|save effect = {{#lvar: sfx}}}}}}}}
{{#if: {{{damage|}}}| {{#if:{{{damage2|}}}| {{InfoBlob|{{#lvar: dmg1}} + {{#lvar: dmg2}}}} | {{#lvar: dmg1}}}}|{{blank}}}}
{{#if: {{{damage|}}}| {{#if:{{{damage2|}}}| {{InfoBlob|{{#lvar: dmg1}} + {{#lvar: dmg2}}}} | {{#lvar: dmg1}}}}|{{blank}}}}
    {{#if: {{#lvar: amttxt}}|<p>|}}
}}
}}
{{trim|<!--DONT DO HACKS AT HOME KIDS-->
{{trim|<!--DONT DO HACKS AT HOME KIDS-->
Line 109: Line 112:
}}
}}
}}
}}
{{trim|{{#if: {{{additional|}}} | {{{additional}}}| {{blank}}}}}}  
{{trim|{{#if: {{{additional|}}} | <br>{{{additional}}}| {{blank}}}}}}  
}}
}}
{{#if: {{{higherlevels|}}} | == At Higher Levels ==}}
{{#if: {{{higherlevels|}}} | == At Higher Levels ==}}
Line 147: Line 150:
{{clear}}
{{clear}}
{{#if: {{{notes|}}} | == Notes == }}
{{#if: {{{notes|}}} | == Notes == }}
{{trim|{{#if: {{{notes|}}} | <div class="bg3wiki-tooltip-box bg3wiki-tooltip">{{{notes}}}</div>| {{blank}}}}}}</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>]]
{{trim|{{#if: {{{notes|}}} | <div class="bg3wiki-tooltip-box bg3wiki-tooltip">
{{{notes}}}
</div>| {{blank}}}}}}</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>]]


=Usage=
=Usage=
Line 192: Line 197:
|-
|-
| {{C|damage}}  
| {{C|damage}}  
| The damage of the action. '''REWRITE PENDING'''
| The damage of the action.
* amount: amount in number or die like 1d8
* amounttext: if your amount is text instead of a number or die you need to do this instead
* type: damage type, i.e. Healing
|-
|-
| {{C|damage2}}  
| {{C|damage2}}  
| The damage of the action. '''REWRITE PENDING'''
| The secondary damage of the action. Will be output as damage + damage2. Same params as damage.
|-
|-
| {{C|cost}}  
| {{C|cost}}  
Line 256: Line 264:
| summary = fly you fools
| summary = fly you fools
| cost = ki:2, action
| cost = ki:2, action
| damage = amount: 1d4+1, type:Bludgeoning
| damage = amounttext: 1d4+1, type:Bludgeoning
| damage2 = amount: 1d6, type: Fire
| damage2 = amount: 1d6, type: Fire
| recharge = Long Rest
| recharge = Long Rest
Line 270: Line 278:
}}
}}
| higherlevels = go far
| higherlevels = go far
| notes = bar
| notes = * bar
| class learns at level 3 = Monk
| class learns at level 3 = Monk
| race learns at level 5 = Wood Elf
| race learns at level 5 = Wood Elf
}}
{{User:Crashaholic/ActionTemplate
| description = Call upon your Oath to let nature heal all nearby allies. Allies immediately gain <code>Proficiency Bonus + Paladin Level + Charisma Modifier <span style="color:#33cccc">hit points</span></code>, and will regain the same amount at the start of your next turn.
| image = Healing Radiance Icon.png
| summary = '''Healing Radiance''' is a Bonus Action available to [[Paladin]]s who have taken the [[Oath of the Ancients]]. This ability allows these Paladins to channel their oath to heal allies in an area.
| cost = chaoat:1, bonus
| concentration =
| damage = amounttext:Proficiency Bonus + Paladin Level + Charisma Modifier, type:Healing
| damage2 =
| recharge =
| duration = Until Long Rest
| range = self
| aoe = sphere
| aoe m = 3
| aoe ft = 10
| save =
| additional = Restores an additional {{DamageText|Proficiency Bonus + Paladin Level + Charisma Modifier|Healing}} at the beginning of your next turn
| higherlevels =
| class learns at level 2 = Life Domain
| notes =
}}
}}
</noinclude>
</noinclude>

Revision as of 00:56, 5 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 =
| X learns at level X =
| notes =
}}

The following is a table to further explain what each parameter takes, and how to use them.

Parameter Name Description Usage
description The in-game description of the action. This description is NOT for SEO 'See: summary'. description = Lorem ipsum
image The image that will be used in the page's SEO and be the page's main image.
IF THIS IS LEFT EMPTY, NoImage Icon.webp WILL BE USED INSTEAD!
image = Wiki_Link_To_Image_Here
summary The summary of the action. This will be used as the wiki's description as well as the SEO text. summary = Lorem Ipsum
damage The damage of the action.
  • amount: amount in number or die like 1d8
  • amounttext: if your amount is text instead of a number or die you need to do this instead
  • type: damage type, i.e. Healing
damage2 The secondary damage of the action. Will be output as damage + damage2. Same params as damage.
cost The resource cost of the action. Format is {Resource}:{Amount}, {"action" if action etc.}. Resource types:
  • Arcane Recovery: barins
  • Channel Divinity: chadiv
  • Channel Oath: chaoat
  • Ki: ki
  • Lay On Hands: layonh
  • Natural Recovery: natrec
  • Rage: rage
  • Superiority Die: supdie
  • War Priest: warpri
  • Wild Shape: wldshp
concentration If this skill is a concentration, type something here. Can be any value you want. Otherwise, leave it blank or delete the field entirely. concentration = This action is a concentration!

concentration=

additional Any additional information that does not fit the template goes here! concentration = This action is a concentration!

concentration=

X learns at level X Which class/race/feat learns this class learns at level 3 = Monk

race learns at level 5 = Wood Elf

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
| range = 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
| race learns at level 5 = Wood Elf
}}
Fly Icon.png

fly you fools

Description

abc

Properties

1d4+1 Damage TypesBludgeoning +
D6 Fire.png 1d6 (1~6) Damage TypesFire damage

Action +2UNDEFINED
Recharge: Long rest
Duration: LR turns
 Melee: 1.5 m / 5  ft
DexterityDEX Save (On Save: abc)
* abcd

At Higher Levels

go far

How to Learn

Classes:

Races:

(Character Level is the sum of all Class Levels for a multi-classed character.)

Notes

  • bar
Healing Radiance Icon.png

Healing Radiance is a Bonus Action available to Paladins who have taken the Oath of the Ancients. This ability allows these Paladins to channel their oath to heal allies in an area.

Description

Call upon your Oath to let nature heal all nearby allies. Allies immediately gain Proficiency Bonus + Paladin Level + Charisma Modifier hit points, and will regain the same amount at the start of your next turn.

Properties

Proficiency Bonus + Paladin Level + Charisma Modifier hit points

Bonus action +UNDEFINED
Duration: Until Long rest
 Range: Self
AoE: 3 m / 10 ft (Radius)
Restores an additional Proficiency Bonus + Paladin Level + Charisma Modifierhit points at the beginning of your next turn

How to Learn

Classes: