Template:Showhide

From YPPedia
Click here to see more

{{{content}}}

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. The 'content' parameter can be replaced with a 'subpage' parameter specifying a (sub-)page to be shown in the box.

E.x:

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

{{showhide|subpage=pagename}}


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