Шаблон:Spoiler: различия между версиями

Материал из DripStation
Перейти к навигации Перейти к поиску
imported>Helpful Herbert
Added width-parameter, added link to collapsible-template.
 
(нет различий)

Текущая версия от 15:46, 4 мая 2020

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!