Reference

Document types

The value of type in a document's frontmatter, for each game Dunjii supports, and the sections each type suggests.

View as markdown

How a document gets its type

A document's type decides the sections Dunjii suggests while you write, the filters it shows up under, and whether it prints as a page or as a card. A document takes its type from its own frontmatter. Without one, it takes the defaultType of the nearest folder above it that sets one. See Folder settings.

---
type: npcThis document is an NPC, wherever it lives.
---
# Eldric Vael

Which values are valid depends on the folder's ruleset. The suggested sections are suggestions: Dunjii never requires them. On your computer, dunjii shape <type> prints the full shape of a type, with what to write in each section.

D&D 5e

The 5e-srd ruleset.

TypeValueSuggested sections
AbilityabilityCard Description
Card Sheetcard-sheetNone
ClassclassNone
Coin Sheetcoin-sheetNone
ItemitemCard Description
NPCnpcFirst Impression, Voice, Secrets
PCpcNone
RuleruleCard Description
ScenesceneSituation, Cast, Clues, Notes
ShopshopNone
SpeciesspeciesCard Description
SpellspellCard Description
SubclasssubclassNone

Draw Steel

The draw-steel ruleset.

TypeValueSuggested sections
AbilityabilityNone
Card Sheetcard-sheetNone
Coin Sheetcoin-sheetNone
ConditionconditionNone
MalicemaliceNone
MonstermonsterNone
Monster Familymonster-familyNone
NPCnpcFirst Impression, Voice, Secrets
PCpcNone
RuleruleNone
ScenesceneSituation, Cast, Clues, Notes
TitletitleNone
TreasuretreasureNone

Pathfinder 2E

The pf2e ruleset.

TypeValueSuggested sections
ActionactionNone
Card Sheetcard-sheetNone
Coin Sheetcoin-sheetNone
ConditionconditionNone
CreaturecreatureNone
FeatfeatNone
HazardhazardNone
ItemitemNone
Item Familyitem-familyNone
NPCnpcFirst Impression, Voice, Secrets
PCpcNone
RuleruleNone
ScenesceneSituation, Cast, Clues, Notes
SpellspellNone