Template:Weapon action: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
m (Taylan moved page Template:WeaponAction2 to Template:WeaponAction without leaving a redirect)
No edit summary
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{#cargo_query: tables = weapon_actions
<includeonly>{{#cargo_query: tables = spells
| fields = name, icon, action_type, description
| fields = _pageName = link, name, icon, action_type, description, CONCAT({{{2|40}}})=size
| where = name = '{{#replace: {{{1}}} | ' | '' }}'
| where = _pageName = "{{#replace: {{{1}}} | " | \" }}"
| format = template
| format = template
| template = WeaponAction/Format
| template = Weapon action/format
| named args = yes
| named args = yes
}}</includeonly><noinclude>
}}</includeonly><noinclude>
Use this to display a weapon action.  Examples follow.
Use this to display a weapon action.  Examples follow.
This template just runs the Cargo query; see [[Template:Weapon action/format]] for the formatting.


----
----
Line 13: Line 15:


<pre>
<pre>
{{WeaponAction2 | Tenacity }}
{{Weapon action | Tenacity }}
</pre>
</pre>


Result:
Result:


{{WeaponAction2 | Tenacity }}
{{Weapon action | Tenacity }}
</noinclude>
 
----
 
Usage:
 
<pre>
{{Weapon action | Tiger's Bloodlust }}
</pre>
 
Result:
 
{{Weapon action | Tiger's Bloodlust }}
 
[[Category:Templates]]
 
== Template data ==
<templatedata>
{
"params": {
"1": {
"label": "name",
"description": "The name of the weapon action, without (Weapon Action)",
"type": "string",
"required": true
},
"2": {
"label": "size",
"description": "The size of the icon.",
"type": "number",
"default": "40"
}
},
"paramOrder": [
"1",
"2"
]
}
</templatedata></noinclude>

Latest revision as of 01:01, 27 April 2024

Use this to display a weapon action. Examples follow.

This template just runs the Cargo query; see Template:Weapon action/format for the formatting.


Usage:

{{Weapon action | Tenacity }}

Result:


Tenacity Tenacity ()
When you miss an attack, deal Damage TypesBludgeoning damage equal to your Strength modifier anyway (minimum of 1).

Usage:

{{Weapon action | Tiger's Bloodlust }}

Result:


Tiger's Bloodlust Tiger's Bloodlust ()
Lash out to attack up to 3 enemies at once. They each take half the damage your weapon usually deals and start to Bleeding Bleed.

Available only when Rage Raging.

Template data

No description.

Template parameters

ParameterDescriptionTypeStatus
name1

The name of the weapon action, without (Weapon Action)

Stringrequired
size2

The size of the icon.

Default
40
Numberoptional