Template:Feature box: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{TooltipBox|{{SAI|{{{name}}}|w=40}}|image={{{image name|{{{name}}}.webp}}}|w=100|
<includeonly>{{#cargo_query: tables = spells
{{{1}}}
| 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 enemy features such as special abilities and attacks. It is intended for use on creature pages, rather than being pages of their own. For player features, use [[Template:ActionPage]].
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.  


The icon uses the [[Template:SAI|SAI]] template. The version without integrated SAI is [[Template:TooltipBox]]. If no image name is provided, the template will attempt to use {{c|NAME.webp}} as the righthand-side image.
You can use it with any weapon action, spell, or class action.


Copy-ready example:<pre>
== Examples ==
{{Feature box
|name=
|image name=
|
}}
</pre>


Example:
Spell:
{{Feature box
<pre>{{Feature box|Hypnotic Pattern}}</pre>
|name=Strengthened Shillelagh
{{Feature box|Hypnotic Pattern}}
|image name=Strengthened Shillelagh.webp
|* The Dryad's [[Quarterstaff|staff]] or [[club]] deals {{DamageText|4d8|Bludgeoning}} damage, and uses your [[Ability Score Modifier|Spellcasting Ability]] for {{Attack Roll}}s.
}}


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 32: Line 50:
"type": "content",
"type": "content",
"required": true
"required": true
},
"name": {
"description": "The name of the ability. ",
"type": "string",
"required": true
},
"image name": {
"description": "An override for the image to use on the right-hand side.",
"default": "{{{name}}}.webp"
}
}
},
},
"paramOrder": [
"paramOrder": [
"name",
"image name",
"1"
"1"
]
]
}
}
</templatedata></noinclude>
</templatedata></noinclude>

Latest 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}}
Hypnotic Pattern.webp

Hypnotised Hypnotise creatures that can see the pattern. They cannot attack you. They cannot move nor act.
WIS Save
 Range: 18 m / 60 ft
AoE: 9 m / 30 ft (Radius)

Class action:

{{Feature box|Multiattack (Spaw)}}
Multiattack Earth Elemental.webp
D8 Bludgeoning.png 4d8 (4~32) Damage TypesBludgeoning damage
+
D8 Bludgeoning.png 4d8 (4~32) Damage TypesBludgeoning damage

Aim multiple attacks at a target.
 Melee: 1.5 m / 5  ft

Weapon action:

{{Feature box|Hellflame Cleave|item=Hellfire Greataxe}}
Hellflame Cleave.webp
Normal weapon damage
+
D6 Fire.png 2d6 (2~12) Damage TypesFire damage

Spew hellish flames and strike your foes.
DEX Save
 Range: 3 m / 10 ft

Template data

No description.

Template parameters

ParameterDescriptionTypeStatus
11

The content of the feature box.

Contentrequired