Modèle:Spoiler/doc

De Le wiki de DwarfFortress
< Modèle:Spoiler
Révision datée du 9 janvier 2014 à 15: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|... »)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
Aller à : navigation, rechercher

Usage[modifier]

Generates a piece of text that can be hidden and unhidden.

Examples[modifier]

  • {{spoiler|content=This is some text|title=Top secret!|state=uncollapsed}} generates
  • 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. }}


Note[modifier]

This template will break if used with tables.