Use Fields and References in Notes
Turn a note into a character sheet with {{Name = value}} fields, @references in rolls, and depletable pools.
A note can work as a character sheet. A field is a named value in the text. Rolls in the same note can refer to it, so a sheet's numbers live in one place. This article covers the sheet side: names, references and pools. For putting rolls into a note in the first place, see Add Rolls and Fields to a Note.
Declare a field
Type {{Name = value}} in a note:
{{Might = 3}}
{{Agility = +2}}
{{Damage = 2d6+3}}
{{Hit Points = 7 of 12}}
The field shows as its value, not its name. The name appears when you hover and is how other rolls refer to it, so write the label in the text next to it ("Might 3").
- A number shows as typed. An expression, such as
{{Defense = 10 + @Agility}}, shows its result. - A value with dice, such as
2d6+3, is a roll. Click it to roll. 7 of 12is a depletable pool. Click it to spend one. Right-click or long-press it for +1, Refresh (back to full) and Edit….
To change a plain number, click it. A small editor opens for the name and value. A roll or a pool spends its click on rolling or spending, so edit it with the pencil that appears beside a roll when you hover it, or with Edit… on a pool's right-click menu. Editing needs edit access to the note.
Refer to a field
Use @Name inside any roll or field in the same note:
{{d20 + @Might}}
{{Dodge = 2d6 + @Agility}}
A name with spaces needs braces: @{Hit Points}. Without them only the first word is read.
References splice in what the field resolves to. If Might is 2d6 and Athletics is d20 + @Might + 1, Athletics rolls d20 + 2d6 + 1. Doing arithmetic over a field that holds dice (for example floor(@Might / 2) when Might is 2d6) is an error instead of a wrong number.
From another note
Write @{Note Title.Field} to read a field from another note, for example @{Mr. Smith.Health}. A field in the same note wins over a note with the same name.
Chat does not do references
A message in chat has no fields to look names up in. A roll with @ in chat shows as literal braces. Write the number instead: {{d100+10 vs 100|Perception}}. See Add Roll Buttons to Notes and Chat.
Let the AI GM keep it up to date
The AI GM updates a note sheet when your character takes damage, spends ammunition or changes a condition. Ask it to set up a sheet for you, or see Create a Character.
Related Articles
- Add Rolls and Fields to a NotePut clickable dice rolls and named values like a character's stats into a note, using the note editor's Insert menu or by typing them.
- Add Roll Buttons to Notes and ChatWrite {{2d6}} in a note or chat message to make a clickable roll button, add a label, and know why an @ roll shows as braces in chat.
- Roll From a Character SheetHow to make a roll from a sheet, which depends on whether it is a note sheet or a custom sheet.
- Character Sheet TypesThe two kinds of character sheet in Polyhedral (custom sheets and note sheets), how to tell which one a game uses, and what to do with a PDF character sheet.
- Dice NotationReference for what you can write in a roll formula, such as 4d6kh3, exploding dice, rerolls, groups and math.