Template:Hidden section top/doc

From Ethan's Workspace
< Template:Hidden section top
Revision as of 11:51, 25 April 2020 by w>Vanisaac (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template is a wrapper for {{hidden begin}}, and can be used to hide sections. Use with {{Hidden section bottom}}. The section heading defaults to "Click on show to view the contents of this section" but this can be changed with the reason= parameter.

{{hst}} and {{hsb}} are available as shortcuts.

Usage

Default heading text
{{hst}}
Text you would like to hide
{{hsb}}

This produces the following:

Click on show to view the contents of this section

Text you would like to hide

Custom heading text
{{hst|reason=Custom heading text}}
Text you would like to hide
{{hsb}}

This produces the following:

Custom heading text

Text you would like to hide

See also