User:Alfwyn/Sandbox/Template:Showhide

From YPPedia
< User:Alfwyn‎ | Sandbox
Revision as of 13:18, 28 November 2011 by Alfwyn (talk | contribs) (older version of template for regression test)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.