User:Alfwyn/Sandbox/Template:Showhide

From YPPedia
Click here to see more

Usage

These usage notes will not be included in articles bearing this template.

This is a simple template to compress lengthy material behind a shorter heading. To use in an article type {{showhide|title=<title of the box>|content=<content>}}. Optional parameters are title=, width= x%, bgcolor= colorspec and preview= specifying a preview of the content.

E.x:

{{showhide|title=These usage notes|width=90%|content=
Lengthy amount of content.
}}


If greater control over font weight, background colors, and text alignment is desired, please use Template:Hidden.