Template:Spoiler

From Yogstation-13
Revision as of 22:20, 3 May 2020 by Helpful Herbert (talk | contribs) (Created a template for easier to use spoilers)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

Parameter-Usage

Parameter Default Description
content Content that needs to be hidden
title Spoiler Visible title of the spoiler

Examples

Bare

{{Spoiler}}
Spoiler

Bare - Hidden Processing-Options

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

DARE

you!
}}
Do not click

How

DARE

you!