# Sheet configurator

> Build a printable habit check sheet with a live A4 preview. The whole
> configuration is encoded in the URL query string, so a link fully
> reproduces a sheet. All parameters are optional; omitted ones use defaults.

## URL parameters

Base URL: https://checkwhendone.com/print

- `title`: sheet title, up to 80 characters (URL-encoded)
- `mode=simple`: plain numbered grid instead of a dated schedule (default is scheduled)
- `days`: comma list of active weekdays, e.g. `days=Mon,Wed,Fri` (default Mon,Wed,Fri). Tokens: Mon, Tue, Wed, Thu, Fri, Sat, Sun
- `start`: schedule start date as YYYY-MM-DD (default: today)
- `count`: number of boxes, integer >= 1 (default 20; capped so the sheet stays on one A4 page)
- `from`: first printed number, for continuing an existing habit (default 1)
- `box=write`: boxes for writing in instead of check boxes
- `dates=off`: hide the date printed in each box (schedule mode)
- `nums=off`: hide the number printed in each box (schedule mode)
- `l1`, `l2`: link URLs printed as QR codes beside the title; `l1t`, `l2t` set their labels (up to 24 characters)
- `n1` ... `n6`: numbered daily rules printed below the boxes, up to 80 characters each

Example: https://checkwhendone.com/print?title=Morning%20run&days=Mon,Wed,Fri&count=20&n1=Shoes%20on%20before%20coffee

Sharing a sheet link that points at the site root with any of these
parameters redirects to /print with the query preserved.
