Modèle:Spoiler/doc
< Modèle:Spoiler
Révision datée du 9 janvier 2014 à 14:05 par Darkomen (discussion | contributions) (Page créée avec « ==Usage== Generates a piece of text that can be hidden and unhidden. ===Examples=== * {{tlx|spoiler|This is some text}} generates :: {{spoiler|This is some text}} * {{tlx|... »)
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.