Template:Spoiler

From Yogstation-13
Jump to navigation Jump to search

About

Some collapsible elements look rather ugly with an out of place expand/collapse-button. This template uses a minimalist table to fit any content with style. For a more compact version see Template:Collapsible.

Parameter-Usage

Parameter Default Description
content Content that needs to be hidden
title Spoiler Visible title of the spoiler
title Optional, width of table, useful to prevent jumpy layout on expand.

Examples

Bare

{{Spoiler}}
Spoiler

Bare - Hidden Processing-Options

{{Spoiler
| title=Do not click
| width=300
| content=How

DARE

you!
}}
Do not click

How

DARE

you!