Template:SpoilerBox: Difference between revisions
imported>Sekoia (historical) (adding further discouragement against the use of this template) |
imported>Aggelakis (historical) m (better category) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 11: | Line 11: | ||
{{SpoilerBox|This is a spoiler.}} | {{SpoilerBox|This is a spoiler.}} | ||
To provide a custom title: <nowiki>{{SpoilerBox| | To provide a custom title: <nowiki>{{SpoilerBox|warning=Example revealed|This is a spoiler.}}</nowiki> | ||
Result: | Result: | ||
{{SpoilerBox| | {{SpoilerBox|warning=Example revealed|This is a spoiler.}} | ||
Alternate way to specify the text, useful with title= or if the content contains an equal sign: <nowiki>{{SpoilerBox|text=This is a spoiler.}}</nowiki> | Alternate way to specify the text, useful with title= or if the content contains an equal sign: <nowiki>{{SpoilerBox|text=This is a spoiler.}}</nowiki> | ||
Line 22: | Line 22: | ||
{{SpoilerBox|text=This is a spoiler.}} | {{SpoilerBox|text=This is a spoiler.}} | ||
</noinclude> | |||
[[Category:Spoiler Templates]]</noinclude> |
Latest revision as of 07:52, 28 May 2011
This template may be used for adding spoilers to an article. It should be used sparingly! Almost every content-related thing on the wiki is a spoiler. People should realize they're going to discover content when they read articles. Try to limit the use of this template to only those revelations that are clearly outside the scope of what a person would reasonably expect to find when reading the article.
In most cases, {{Spoiler}} is more appropriate. If an article is already using {{Spoiler}}, please do not convert it to this template unless you're sure it's really justified. The warning provided by that template is more than adequate for most situations. If you use this SpoilerBox template and someone else converts it to use {{Spoiler}}, please do not convert it back. Leave a message on the talk page about it to open up a discussion if you like, but do not start an edit war over it. :)
Here are some usages of the template.
Basic use: {{SpoilerBox|This is a spoiler.}}
Result:
To provide a custom title: {{SpoilerBox|warning=Example revealed|This is a spoiler.}}
Result:
Alternate way to specify the text, useful with title= or if the content contains an equal sign: {{SpoilerBox|text=This is a spoiler.}}
Result: