Difference between revisions of "Template:Spoiler box"

From Pin Eight
Jump to: navigation, search
(customize)
(added documentation subpage)
Line 4: Line 4:
 
| style="padding: 0.5em 1em" |
 
| style="padding: 0.5em 1em" |
 
{{{1}}}
 
{{{1}}}
|}
+
|}<noinclude>==[[Template:Spoiler box/doc|Documentation]]==
 +
{{Spoiler box/doc}}</noinclude>

Revision as of 04:31, 2 December 2009

==Documentation==

This template is used to hide asides until the user wants to show them. It places a JavaScript show/hide control that starts by collapsing the box to its titlebar.

Arguments:

1
Text inside the box, initially hidden but shown when the user activates the show control. If it contains an equal sign, add 1= at the beginning
type
Title of the box, appearing over the pink background. If not provided, the template uses "Spoiler".

Specializations: {{OOU box}}