Template:Spoiler box

From sona pona, the Toki Pona wiki
Spoilers
{{{1}}}

Documentation[edit source]

Creates a spoiler box. Parameter 1 is the content of the spoiler.

For example, {{Spoiler box|The queen is killed in chapter 3.}} gives:

Spoilers
The queen is killed in chapter 3.

for parameter[edit source]

The for parameter can be used to specify what the spoiler is about.

For example, {{Spoiler box|for=chapter 3|The queen's last words were "find him."}} gives:

Spoilers for chapter 3
The queen's last words were "find him."

header parameter[edit source]

The header parameter can be used to write a custom header instead of the standard "Spoilers" header. When used, the for parameter is ignored.

For example, {{Spoiler box|header=Minor spoiler|Princess Awena's life is changed forever in chapter 3.}} gives:

Minor spoiler
Princess Awena's life is changed forever in chapter 3.