Template:Endspoiler

Jump to navigation Jump to search

Purpose

Template:Startspoiler and Template:Endspoiler are paired spoiler templates that, when used together, marks certain sections or paragraphs in a page as containing spoilers. Startspoiler also allows users to scroll right past the spoilery content (to the beginning of Endspoiler) by clicking or tapping on "Skip Section". These templates should be used whenever a section covers highly spoilery information about a subject.

If a page has multiple sections covering spoilers that would necessitate the need for multiple uses of these templates, then each template pair must be assigned a number parameter. I.e. {{Startspoiler|1}}{{Endspoiler|1}}.

Usage

Code

{{Startspoiler}}
Section or paragraph(s) covering spoilers here.
{{Endspoiler}}

Multiple uses of the template

{{Startspoiler|1}}
First section.
{{Endspoiler|1}}

{{Startspoiler|2}}
Second section.
{{Endspoiler|2}}


This is the template documentation page for Template:Endspoiler. It should be transcluded onto the template page.