Statblocks

Introduction

Many database pages have a statblock section, which appears to be written in some kind of strange format.

DON'T PANIC!

Most editors will never need to touch this section. If you're not sure what to do, leave it alone. Our background bot "OGNBot" attempts to fill the statblock with information from the page.

Editing the Statblock

But, occasionally OGNBot gets it wrong. Which is why the statblock section is there for manual tweaking.

The statblock uses a special format called YAML, which is the simplest heirarchical system for complex data we could find.

In it's simplest form, it's just a bunch of key/value pairs (like a Windows .ini file, if you ever edited one of those), that looks something like this:

keyname: value
keyname: value
keyname: value
keyname: value
keyname: value

For example, you might see

hitpoints: 15

Implying that the subject of this page has 15 hit points.

Sometimes, you need to put in multiple values in an array, for example a list of items of equipment.
In these cases, each item goes on its own line under the key name, and is prefixed by a space and a hyphen (actually, the number of spaces doesn't matter, as long as there's at least one)

Example:

equipment:
 - leather armor
 - shortsword
 - waterskin

Statblock Reference

There's many types of statblock, so you can read about each one on the following pages:

5esrd

  • Background
  • Class
  • Class Ability
  • Class Option
  • Creature
  • Equipment
  • Feat
  • Magic Item
  • Race
  • Spell
  • Template