12,661
editsWrap explicitly in <dl> tags (Template:Weapon action/format will receive an associated edit).
HiddenDragon (talk | contribs) m (Testing using icon instead) |
(Wrap explicitly in <dl> tags (Template:Weapon action/format will receive an associated edit).) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#cargo_query: tables = spells | <includeonly><dl>{{#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 = _pageName = "{{#replace: {{{1}}} | " | \" }} | | where = _pageName = "{{#replace: {{{1}}} | " | \" }}" | ||
| format = template | | format = template | ||
| template = | | template = Weapon action/format | ||
| named args = yes | | named args = yes | ||
}}</includeonly><noinclude> | }}</dl></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 }} | ||
---- | ---- | ||
Line 27: | Line 27: | ||
<pre> | <pre> | ||
{{ | {{Weapon action | Tiger's Bloodlust }} | ||
</pre> | </pre> | ||
Result: | Result: | ||
{{ | {{Weapon action | Tiger's Bloodlust }} | ||
[[Category:Templates]] | [[Category:Templates]] |