User:Lcawte/ShowHideNew/Tables

From YPPedia
< User:Lcawte‎ | ShowHideNew
Revision as of 12:37, 8 May 2022 by Lcawte (talk | contribs)
(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. 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.