Template:Weapon action: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
(Add to category)
(add tdata)
Line 23: Line 23:


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
 
== 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>

Revision as of 12:11, 14 October 2023

Use this to display a weapon action. Examples follow.

This template just runs the Cargo query; see Template:WeaponAction/Format for the formatting.


Usage:

{{WeaponAction | Tenacity }}

Result:

Error: Table weapon_actions not found.

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