Template:Spoiler/doc

Puts text into a clickable-to-reveal spoiler.

Usage

 {{spoiler
  | text       = [Optional] Inline text. If omitted, a block spoiler will be created (and should be ended with {{spoiler-end}}.)
  | label      = [Optional] Spoiler label. Default is "Click to reveal"
  | label-hide = [Optional] Spoiler hide label (for block level spoilers only). Default is "Click to hide"
  | class      = [Optional] CSS class to use for styles. Default is "default"
 }}

Examples

This is an Click to revealinline spoiler.

 

THIS IS A BLOCK CONTENT SPOILER.

THIS IS MORE CONTENT

 

THIS IS A BLOCK CONTENT SPOILER.

THIS IS MORE CONTENT

 

THIS IS A NESTED BLOCK LEVEL SPOILER

THIS IS A Click to revealNESTED INLINE SPOILER.