Template:SpoilerHide/doc

From JoJo's Bizarre Encyclopedia - JoJo Wiki
Jump to navigation Jump to search

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

(COPIOUS (talk) 02:33, June 16, 2014 (UTC) -- All credit to the editor/s of this page at the Dragon Quest wiki. Please also refer again to this page in order to learn how to make this code work for us!)

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.

{{SpoilerHide|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.

{{SpoilerHide|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:

{{SpoilerHide}}

Result:

Spoiler - Do not read further if you want to avoid being spoiled.

Example

Sample

A spoiler - Click 'show' to display.

This is spoiler information.

Spoiler ends.

Code

{{SpoilerHide|start}}
This is spoiler information.
{{SpoilerHide|end}}