Template:Spoiler: Difference between revisions

From Zelda Dungeon Wiki
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
(I'll fix the documentation later. in a hurry now.)
(updated documentation)
Line 1: Line 1:
<onlyinclude>{{Ambox|{{{1|}}}
<onlyinclude>{{Ambox|{{{1|}}}
| type = notice
| type = notice
| image = [[File:Spoiler.png]]
| image = [[File:Spoiler.png|40x40px|link=|alt=]]
| text = '''Spoiler Alert!''' This {{{1|article}}} describes a subject that is sensitive to plot development.
| text = '''Spoiler Alert!''' This {{{1|article}}} describes a subject that is sensitive to plot development.
}}<includeonly>{{Cat|Articles That Contain Spoilers|{{{cat|{{PAGENAME}}}}}}}</includeonly></onlyinclude>
}}<includeonly>{{Cat|Articles That Contain Spoilers|{{{cat|{{PAGENAME}}}}}}}</includeonly></onlyinclude>


==Purpose==
==Purpose==
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.
This {{Temlink|Ambox}} is used to mark off content that contains details of development of a game's story. Its basic usage is for when the whole article should be treated as a spoiler, such as one about a final boss. The smaller version can be used to mark off sections.


==Usage==
==Usage==
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:
To apply it to the entire article, place {{Usage}} at the top of the article, above {{Temlink|Infobox|Infoboxes}} but below {{Temlink|Hatnote|Hatnotes}}.
<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.
To designate a specific section as containing spoilers, use {{Usage|section}}.
{{Cat|Ambox Templates}}</noinclude>
 
 
{{Cat|Ambox Templates}}

Revision as of 01:23, November 1, 2012

Spoiler Alert! This article describes a subject that is sensitive to plot development.

Purpose

This {{Ambox}} is used to mark off content that contains details of development of a game's story. Its basic usage is for when the whole article should be treated as a spoiler, such as one about a final boss. The smaller version can be used to mark off sections.

Usage

To apply it to the entire article, place {{Spoiler}} at the top of the article, above {{Infoboxes}} but below {{Hatnotes}}.

To designate a specific section as containing spoilers, use {{Spoiler| section }}.