Template:Spoiler

From Twinsuniverse
Jump to: navigation, search
Spoiler
Purpose

Formatting [list all]

Single tag

No [list all]

Multi-line

Yes [list all]

Protected

No [list all]

Game related

No [list all]

Categorization
Categories

none [list all]

Variables
Names

none [list all]

Subpages

This template mimics the spoiler on the Magicball Network forums, for use in articles.

Any content within the spoiler is hidden initially, but when the Expand-link is clicked, the spoiler opens and displays the content normally. This is useful for e.g. hiding information that is considered to highly spoil new visitors.

Parameters

  1. The text to include in the spoiler (no parameter name)

Syntax

{{spoiler|hidden text}}

Examples

To use a spoiler in an article, for example:

{{spoiler
 |[[Twinsen]] can find his [[Ancestral Tunic|tunic]] in the [[Miss Bloop's private museum|museum]].
}}


Spoiler:

Twinsen can find his tunic in the museum.


Tip: the spoiler is best combined with the {{list}} template, to show a bulleted list of spoiler sentences in one go.

{{spoiler|{{list
 |Once upon a time.
 |There was.
 |A listed spoiler.
 |Is that a pun?
}}}}


Spoiler:
  • Once upon a time.
  • There was.
  • A listed spoiler.
  • Is that a pun?