Modèle:Spoiler/doc
Usage[modifier]
Generates a piece of text that can be hidden and unhidden.
Examples[modifier]
- 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[modifier]
This template will break if used with tables.