Template:Hidden section top/doc: Difference between revisions

From Ethan's Workspace
Jump to navigation Jump to search
w>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
(No difference)

Revision as of 10:51, 25 April 2020

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