Template:Feature box: Difference between revisions
Jump to navigation
Jump to search
m (add copy-ready) |
HiddenDragon (talk | contribs) mNo edit summary |
||
(10 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{ | <includeonly>{{#cargo_query: tables = spells | ||
{{{ | | fields = _pageName = link, | ||
name, | |||
image, | |||
controller_icon, | |||
action_type, | |||
damage, | |||
damage_type, | |||
extra_damage, | |||
extra_damage_type, | |||
description, | |||
save, | |||
spell_range = range, | |||
aoe, | |||
aoe_size = area, | |||
recharge, | |||
CONCAT("{{{item|}}}")=item | |||
| where = _pageName = "{{#replace: {{{link|{{{name|{{{1}}}}}}}}} | " | \" }}" | |||
| format = template | |||
| template = Feature box/format | |||
| named args = yes | |||
| default = [[{{{1}}}]][[Category:Pages with unknown abilities]] | |||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
Creates a box to display | Creates a box to display a creature's special abilities, attacks, and spells. It is intended for use on creature pages, rather than being pages of their own. | ||
You can use it with any weapon action, spell, or class action. | |||
== Examples == | |||
Spell: | |||
{{Feature box | <pre>{{Feature box|Hypnotic Pattern}}</pre> | ||
| | {{Feature box|Hypnotic Pattern}} | ||
}} | |||
Class action: | |||
<pre>{{Feature box|Multiattack (Spaw)}}</pre> | |||
{{Feature box|Multiattack (Spaw)}} | |||
Weapon action: | |||
<pre>{{Feature box|Hellflame Cleave|item=Hellfire Greataxe}}</pre> | |||
{{Feature box|Hellflame Cleave|item=Hellfire Greataxe}} | |||
==Template data== | ==Template data== | ||
Line 28: | Line 46: | ||
{ | { | ||
"params": { | "params": { | ||
" | "1": { | ||
"description": "The | "description": "The content of the feature box.", | ||
"type": "content", | "type": "content", | ||
"required": true | "required": true | ||
} | } | ||
}, | }, | ||
"paramOrder": [ | "paramOrder": [ | ||
" | "1" | ||
] | ] | ||
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> |
Revision as of 09:18, 6 May 2024
Creates a box to display a creature's special abilities, attacks, and spells. It is intended for use on creature pages, rather than being pages of their own.
You can use it with any weapon action, spell, or class action.
Examples
Spell:
{{Feature box|Hypnotic Pattern}}
Class action:
{{Feature box|Multiattack (Spaw)}}
Weapon action:
{{Feature box|Hellflame Cleave|item=Hellfire Greataxe}}
Template data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | The content of the feature box. | Content | required |