Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Feature box: Difference between revisions

Template page
mNo edit summary
(Query extra description as well)
 
(7 intermediate revisions by 2 users not shown)
Line 7: Line 7:
   damage,
   damage,
   damage_type,
   damage_type,
  damage_modifier,
   extra_damage,
   extra_damage,
   extra_damage_type,
   extra_damage_type,
  extra_damage_modifier,
  extra_damage_2,
  extra_damage_type_2,
  extra_damage_modifier_2,
  extra_damage_3,
  extra_damage_type_3,
  extra_damage_modifier_3,
   description,
   description,
  extra_description,
   save,
   save,
   spell_range = range,
   spell_range = range,
   aoe,
   aoe,
   aoe_size = area,
   aoe_size = area,
   recharge
   recharge,
| where = _pageName = "{{#replace: {{{name|{{{1}}}}}} | " | \" }}"
  CONCAT("{{{item|}}}")=item
| where = _pageName = "{{#replace: {{{link|{{{name|{{{1}}}}}}}}} | " | \" }}"
| format = template
| format = template
| template = Feature box/format
| template = Feature box/format
| named args = yes
| named args = yes
| default = [[{{{1}}}]]
| default = [[{{{1}}}]][[Category:Pages with unknown abilities]]
}}</includeonly><noinclude>
}}</includeonly><noinclude>
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.  
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.  
Line 27: Line 37:
== Examples ==
== Examples ==


Spell:
{{Template demo
<pre>{{Feature box|Hypnotic Pattern}}</pre>
| style = list
{{Feature box|Hypnotic Pattern}}
| caption 1 = Spell example.
| <nowiki>{{Feature box|Hypnotic Pattern}}</nowiki>
| caption 2 = Class action example.
| <nowiki>{{Feature box|Multiattack (Spaw)}}</nowiki>
| caption 3 = Weapon action example.
| <nowiki>{{Feature box|Hellflame Cleave|item=Hellfire Greataxe}}</nowiki>
| caption 4 = Example with many damage parameters
| <nowiki>{{Feature box|Multiattack (Water Elemental)}}</nowiki>
}}


Class action:
<pre>{{Feature box|Multiattack (Spaw)}}</pre>
{{Feature box|Multiattack (Spaw)}}
Weapon action:
<pre>{{Feature box|Hellflame Cleave}}</pre>
{{Feature box|Hellflame Cleave}}
==Template data==
==Template data==



Latest revision as of 18:36, 29 August 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 example.

Markup
{{Feature box|Hypnotic Pattern}}
Renders as
Hypnotic Pattern.webp
Hypnotic Pattern Hypnotic Pattern ()

Hypnotise Hypnotise creatures that can see the pattern. They cannot attack you. They cannot move nor act.

This spell can be cast while you are Silenced Silenced.

WIS Save
 Range: 18 m / 60 ft
AoE: 9 m / 30 ft (Radius)

Class action example.

Markup
{{Feature box|Multiattack (Spaw)}}
Renders as
Multiattack Earth Elemental.webp
Multiattack Multiattack ()
+
Aim multiple attacks at a target.
 Melee: 1.5 m / 5  ft

Weapon action example.

Markup
{{Feature box|Hellflame Cleave|item=Hellfire Greataxe}}
Renders as
Hellflame Cleave.webp
Hellflame Cleave Hellflame Cleave ()   –  Hellfire Greataxe
Normal weapon damage
+
D6 Fire.png 2d6 (2~12) Damage TypesFire
Spew hellish flames and strike your foes.
DEX Save
AoE: 3 m / 10 ft (Cone)

Example with many damage parameters

Markup
{{Feature box|Multiattack (Water Elemental)}}
Renders as
Multiattack Water Elemental.webp
Multiattack Multiattack ()
D4 Bludgeoning.png 2d4 + 4 (6~12) Damage TypesBludgeoning
+
D4 Cold.png 2d4 (2~8) Damage TypesCold
+
D4 Bludgeoning.png 2d4 + 4 (6~12) Damage TypesBludgeoning
+
D4 Cold.png 2d4 (2~8) Damage TypesCold

Descend on a creature to buffet it with your hardy aqueous fists.

Chilled Chilled targets take double damage.

 Melee: 1.5 m / 5  ft

Template data

No description.

Template parameters

ParameterDescriptionTypeStatus
11

The content of the feature box.

Contentrequired