Template:Weapon action: Difference between revisions
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 11: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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | 1 | The name of the weapon action, without (Weapon Action) | String | required |
size | 2 | The size of the icon.
| Number | optional |