📌 Current mission: start filling the wiki — create pages, upload images, and join the Discord!

Template:Spoiler

From Asylum Wiki
Revision as of 19:30, 12 July 2026 by Felix (talk | contribs) (Fix: use mw-collapsible instead of raw details/summary (was rendering as text))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Click-to-reveal box for spoilers, lore twists, or long tangents you don't want blocking the page. Uses MediaWiki's built-in collapsible box (not raw HTML), so it works reliably in every skin.

Example: {{Spoiler|title=What happens at the end|The wiki gets finished and everyone is happy.}}

What happens at the end

The wiki gets finished and everyone is happy.

Collapsible click-to-reveal spoiler box.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Hidden content1 text

no description

Contentrequired
Visible labeltitle

Text shown before it's clicked open

Default
Spoiler — click to reveal
Stringoptional