Template:Spoiler: Difference between revisions
Jump to navigation
Jump to search
Want an adless experience? Log in or Create an account.
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Ambox|type= | {{Ambox|type=header | ||
|color=red | |color=red | ||
|image=[[File:Spoiler.png]] | |image=[[File:Spoiler.png]] | ||
|header=Spoiler Warning | |header=Spoiler Warning | ||
|{{{1|This article describes a subject that is sensitive to plot development.}}} | |||
}}<includeonly>{{Cat|Articles That Contain Spoilers}}</includeonly><noinclude> | }}<includeonly>{{Cat|Articles That Contain Spoilers}}</includeonly><noinclude> | ||
==Purpose== | ==Purpose== | ||
This | This [[Template:Ambox|Ambox]] is used to mark off content that contains details of development of a game's story. The header version is for when the whole article should be treated as a spoiler, such as one about a final boss. For sections, [[Template:Spoiler/Begin]] flags where sensitive content begins, and it should '''always''' be paired with [[Template:Spoiler/End]] to mark where the warning no longer applies. | ||
==Usage== | ==Usage== | ||
To use this template with the default text, simply type '''<nowiki>{{Spoiler}}</nowiki>'''. To define custom detail text, add the text after a pipe, like so: | To use this template with the default text, simply type '''<nowiki>{{Spoiler}}</nowiki>''' for the header, or '''<nowiki>{{Spoiler/Begin}}</nowiki>''' to mark the beginning of a section. To define custom detail text, add the text after a pipe, like so: | ||
<pre>{{Spoiler|This section contains plot details for ''[[The Legend of Zelda: Skyward Sword]]''.}}</pre> | <pre>{{Spoiler|This article describes the final boss of ''[[The Legend of Zelda: Skyward Sword]]''.}} | ||
-or- | |||
{{Spoiler/Begin|This section contains plot details for ''[[The Legend of Zelda: Skyward Sword]]''.}}</pre> | |||
When using the inline version, be sure to place '''<nowiki>{{Spoiler/End}}</nowiki>''' at the end of the affected section. | |||
{{Cat|Ambox Templates}}</noinclude> | {{Cat|Ambox Templates}}</noinclude> |
Revision as of 02:16, June 20, 2012
{{{text}}} |
Purpose
This Ambox is used to mark off content that contains details of development of a game's story. The header version is for when the whole article should be treated as a spoiler, such as one about a final boss. For sections, Template:Spoiler/Begin flags where sensitive content begins, and it should always be paired with Template:Spoiler/End to mark where the warning no longer applies.
Usage
To use this template with the default text, simply type {{Spoiler}} for the header, or {{Spoiler/Begin}} to mark the beginning of a section. To define custom detail text, add the text after a pipe, like so:
{{Spoiler|This article describes the final boss of ''[[The Legend of Zelda: Skyward Sword]]''.}} -or- {{Spoiler/Begin|This section contains plot details for ''[[The Legend of Zelda: Skyward Sword]]''.}}
When using the inline version, be sure to place {{Spoiler/End}} at the end of the affected section.