Template:SpoilerBox

From Unofficial Homecoming Wiki
Jump to navigation Jump to search

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: