Template:AttributeBlock: Difference between revisions

From bg3.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 22: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

STR

15
(+2)

DEX

8
(-1)

CON

11

INT

9
(-1)

WIS

18
(+4)

CHA

10


Race

Skeleton

Type

Undead

Hit Points

28

Armour Class

15

Movement Speed

10m / 30ft

Size

Medium

Weight

20kg / 40lbs

Proficiency Bonus

+2

Initiative

-1


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

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

Result:

STR

15
(+2)

DEX

8
(-1)

CON

11

INT

9
(-1)

WIS

18
(+4)

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:

STR

15
(+2)

DEX

8
(-1)

CON

11


Hit Points

12


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

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

Result:

Race

Human

Hit Points

12

Size

Medium