Template:Spoiler: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Updated the syntax to accept |start and |end inputs. This now makes the {{endspoiler}} template obsolete.)
m (Added note about spoiler2)
 
Line 4: Line 4:
== Description ==
== Description ==
This template begins and ends a section of spoilers.
This template begins and ends a section of spoilers.
{{note|If most of the page contains spoilers, consider using the {{[[Template:Spoiler2|spoiler2]]}} template instead.}}


== Syntax ==
== Syntax ==

Latest revision as of 09:59, 31 October 2011

Description

This template begins and ends a section of spoilers.

Note.pngNote:If most of the page contains spoilers, consider using the {{spoiler2}} template instead.

Syntax

{{spoiler|start}}

This marks the beginning of a spoiler. You can also just use {{spoiler}}

{{spoiler|end}}

This marks the end of a spoiler.