FANDOM


The spoiler template is used to mark sections of an article which might contain spoiler information.

Usage

This template should be called in pairs so that the contents can be hidden. One call before spoiler information starts, and one after.

Start

A spoiler start should be the first invocation of the template.

{{spoiler|start}}
  • start: A required parameter which marks a section as the start of a spoiler.

End

A spoiler end should be the second invocation of the template.

{{spoiler|end}}
  • end: A required parameter which marks a section as the end of a spoiler.

Use this template without collapse function

When you use this template just to show an warning of spoiler, use:

{{spoiler}}

Result:

A spoiler draws near! Prithee, read no further if it is thy wish to avoid being spoiled!

Example

Sample

A spoiler draws near! Click 'show' to display, otherwise run away!

This is spoiler information. OMGz!

Thou hast defeated the spoiler.


Code

{{spoiler|start}}
This is spoiler information.  OMGz!
{{spoiler|end}}
Community content is available under CC-BY-SA unless otherwise noted.