Modèle:Spoiler/doc
Aller à la navigation
Aller à la recherche
Usage
Generates a piece of text that can be hidden and unhidden.
Examples
- Modèle:Tlx generates
Extended content
|
|---|
|
This is some text
|
- Modèle:Tlx generates
Top secret!
|
|---|
|
This is some text
|
- {{spoiler|content=This is some text|title=Top secret!|state=uncollapsed}} generates
Extended content
|
|---|
|
{{{1}}}
|
- Multiline example
{{spoiler
| style= background-color:#000000; color:#ffffff;
| header style= background-color:#ffffff; color:#000000;
| title= This is a multiline example
| content= Content can be stretched over multiple lines,
and even include images and lots of other objects. }}
Extended content
|
|---|
|
{{{1}}}
|
Note
This template will break if used with tables.