Template:AttributeBlock: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
(Remove excess whitespace if all attributes are 10)
m (Category)
Line 225: Line 225:
Result:
Result:


{{AttributeBlock|hp=12|race=Human|size=Medium}}</noinclude>
{{AttributeBlock|hp=12|race=Human|size=Medium}}
 
[[Category: Templates]]</noinclude>

Revision as of 23:31, 25 July 2023

This template generates a stat block for a creature.


Usage:

The first 6 parameters indicate the creature's ability scores (Str/Dex/Con/Int/Wis/Cha).

All of these attributes, or the last 3 (Int/Wis/Cha) are optional and can omitted.


The following are optional parameters:

  • level - A creature's level.
  • race - A creature's race, e.g. Human.
  • type - A creature's type, e.g. Undead.
  • hp - Hit points.
  • ac - Armour Class.
  • ms - Movement Speed. Try to include both meters and feet if possible, in that order.
  • size - Size class of the creature, e.g. Large.
  • weight - Creature weight. Try to include both kg and lbs if possible, in that order.
  • prof - Proficiency bonus.
  • init - Initiative bonus (or penalty).

Here is an example full stat block:

{{AttributeBlock|15|8|11|9|18|10
|level=3
|race=Skeleton
|type=Undead
|hp=28
|ac=15
|ms=10m / 30ft
|size=Medium
|weight=20kg / 40lbs
|prof=2
|init=-1
}}

Result:

Level 3

Strength icon.png
STR

15
(+2)

Dexterity icon.png
DEX

8
(-1)

Constitution icon.png
CON

11

Intelligence icon.png
INT

9
(-1)

Wisdom icon.png
WIS

18
(+4)

Charisma icon.png
CHA

10


Creature Race Icon.png Race

Skeleton

Creature Type Icon.png Type

Undead

HP Icon.png Hit Points

28

Creature AC Icon.png Armour Class

15

Creature Speed Icon.png Movement Speed

10m / 30ft

Creature Size Icon.png Size

Medium

Weight Icon.png Weight

20kg / 40lbs

Proficiency Icon.png Proficiency Bonus

+2

Initiative Icon.png Initiative

-1


This is an example of using this template to show only attribute scores:

{{AttributeBlock|15|8|11|9|18|10}}

Result:

Strength icon.png
STR

15
(+2)

Dexterity icon.png
DEX

8
(-1)

Constitution icon.png
CON

11

Intelligence icon.png
INT

9
(-1)

Wisdom icon.png
WIS

18
(+4)

Charisma icon.png
CHA

10


This is an example of using this template to show only physical attributes - useful for Wild Shape stat blocks.

{{AttributeBlock|15|8|11|hp=12}}

Result:

Strength icon.png
STR

15
(+2)

Dexterity icon.png
DEX

8
(-1)

Constitution icon.png
CON

11


HP Icon.png Hit Points

12


This is an example of using this template without ability scores.

{{AttributeBlock|hp=12|race=Human|size=Medium}}

Result:

Creature Race Icon.png Race

Human

HP Icon.png Hit Points

12

Creature Size Icon.png Size

Medium