Template:SpoilerBox: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Zombie Man (historical)
m (+Cat:Mission Templates +Cat:Editors Tags Templates)
imported>Sekoia (historical)
(merging consecutive noinclude regions to eliminate extra whitespace in rendered page)
Line 22: Line 22:


{{SpoilerBox|text=This is a spoiler.}}
{{SpoilerBox|text=This is a spoiler.}}
</noinclude>
<noinclude>


[[Category:Mission Templates]][[Category:Editors Tags Templates]]</noinclude>
[[Category:Mission Templates]][[Category:Editors Tags Templates]]</noinclude>

Revision as of 00:50, 22 February 2010

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: