Emergency Hamburg Wiki

Infoboxes and Spoilers

A summary box beside the text, and content hidden until it is asked for.

Infoboxes and Spoilers

An infobox

Written in: JavaScript and TypeScript
License: AGPL-3.0
Database: PostgreSQL 16+
Runtime: Node.js 26+
Website: https://js.wiki

The box floats beside the text on a wide screen and stacks above it on a narrow one, so a paragraph
of ordinary content is needed to see the difference. This is that paragraph, and it goes on a little
longer than it strictly needs to for exactly that reason.

A spoiler

Forty-two. The content is laid out either way and only hidden from view, so nothing below the box
moves when it opens.

See also