9,854
editsno edit summary
(Add to category) |
No edit summary |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#cargo_query: tables = | <includeonly>{{#cargo_query: tables = spells | ||
| fields = _pageName = link, name, icon, action_type, description, CONCAT({{{2|40}}})=size | | fields = _pageName = link, name, icon, action_type, description, CONCAT({{{2|40}}})=size | ||
| where = | | where = _pageName = "{{#replace: {{{1}}} | " | \" }}" | ||
| format = template | | format = template | ||
| template = | | 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: | This template just runs the Cargo query; see [[Template:Weapon action/format]] for the formatting. | ||
---- | ---- | ||
Line 15: | Line 15: | ||
<pre> | <pre> | ||
{{ | {{Weapon action | Tenacity }} | ||
</pre> | </pre> | ||
Result: | Result: | ||
{{ | {{Weapon action | Tenacity }} | ||
---- | |||
Usage: | |||
<pre> | |||
{{Weapon action | Tiger's Bloodlust }} | |||
</pre> | |||
Result: | |||
{{Weapon action | Tiger's Bloodlust }} | |||
[[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> |