Template:Spoiler/doc

Dependencies
{{Documentation template|credits=User:Xnotnoah (Toppat template & Template overall) |description=Used to hide spoilers!|usage= {{Spoiler|(1)|(custom)}} Note that the extra parameters, (1) and (custom) are not required, see below for examples.
 * Template:Toppat

Additionally, (1) can be filled with "nocategory" to not show the category on the page, or "notoggle" to remove the Show/Hide spoilers option.|examples=

Without any parameters
gives

Using 1st parameter
will make the spoiler not show a category at the top of the page.

gives

Using custom text parameter
gives

}}