Template:Spoiler/doc

From Immortal Life Wiki
Jump to navigation Jump to search

About

Use this template at the top of pages that contain significant spoilers.

Note: This template is not necessary on pages where a normal visitor should expect spoilers (e.g. an end-game mission page). Character pages, on the other hand, are likely to be visited by players who are early in the game and would not reasonably know to expect spoilers.

Sample usage

{{spoiler}} 
{{spoiler|article}}
{{spoiler|section}}
{{spoiler|start}}
{{spoiler|end}}

Results in:

Spoiler Alert: This page may contain spoilers. Proceed with caution!
Spoiler Alert: This page may contain spoilers. Proceed with caution!
Spoiler Alert: This section may contain spoilers. Proceed with caution!
Spoilers start here.
Spoilers end here.

Placement

Depending on which value is used, the placement of the Spoiler template varies.

  • article and page are added to the very top of the article
  • section is added just below the corresponding section header
  • start is added are the beginning of a spoiler
  • end is added at the end of a spoiler