Template:SpoilerBox

From PuppyDog Online Wiki
Revision as of 06:16, 13 July 2025 by Pupswoof117 (talk | contribs) (woof)
Jump to navigation Jump to search

This template shows a collapsible spoiler box.

Usage:

{{#tag:div| ⚠️ Spoiler (click to reveal)

This is spoiler content only.}

{{#tag:div| Optional title

Spoiler content here.

Optional parameters:

  • `class=` — add extra classes (e.g. `dark-spoiler`)
  • `style=` — add custom inline style overrides

To make your own dark style: add CSS for `.dark-spoiler` in your MediaWiki:Common.css

{{#tag:div| ⚠️ Spoiler (click to reveal)

No content provided.}