Template:SpoilerBox: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Sekoia
(template based on Template:Hidden for use with spoilers)
 
imported>Sekoia
(adding further discouragement against the use of this template)
Line 1: Line 1:
<includeonly>{{Hidden|[[Wikipedia:Spoiler warning|Spoiler warning]]: {{{warning|Plot and/or ending details}}}|{{{text|{{{1}}}}}}|headercss = border: solid 2px #FF0000;|contentcss = padding: 5px; border: solid 2px #FF0000; border-top: 0px;}}</includeonly><noinclude>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.
<includeonly>{{Hidden|[[Wikipedia:Spoiler warning|Spoiler warning]]: {{{warning|Plot and/or ending details}}}|{{{text|{{{1}}}}}}|headercss = border: solid 2px #FF0000;|contentcss = padding: 5px; border: solid 2px #FF0000; border-top: 0px;}}</includeonly><noinclude>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 some cases, {{tl|Spoiler}} may be more appropriate.
In most cases, {{tl|Spoiler}} is more appropriate. If an article is already using {{tl|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 {{tl|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.
Here are some usages of the template.

Revision as of 19:22, 30 December 2007

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|title=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: