Reference

Holds facts for lookup, organized like the thing it describes: an API, a set of options, error codes. It’s austere.

When to use it

Write a reference when the reader needs a fact and will scan for it: the values an option takes, the limits on an account, what each status means, the fields in a response. A reader rarely reads a reference from top to bottom. They jump to the entry they need.

A screen is a special case. For one screen or panel, write an interface guide, the reference type made for screens.

Required parts

The body holds tables, property lists, or sections, whichever matches the structure of the thing described.

PartElementWhat it holds
Title<title>The name of the thing described: “Booking statuses”.
Purpose<shortdesc>What the reference covers, in one sentence.
Entries<refbody>The facts, as tables, property lists, or titled sections.

Rules

Each rule links to the style guide rule it restates, which gives the rule’s tier, check type, and examples.

  • Organize the page like the thing described: an API by its resources, a form by its fields, codes in numeric order. (type-ref-mirror-thing)
  • Give every entry the same fields in the same order, so readers learn where to look. (type-ref-same-shape)
  • State facts. No instructions, no opinions, no selling. (type-ref-austere)
  • Be complete. A reference that leaves out values sends the reader to guess. (type-ref-complete)
  • Link to the concept that explains the facts and the task that uses them, instead of explaining inline. (type-ref-austere)

Example

Booking statuses lists the states a booking can be in, in a fictional room-booking app.