Template:Spoiler
From Twinsuniverse
Revision as of 21:58, 24 May 2014 by J McKalling (Talk | contribs)
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
- 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: |
---|
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: |
---|