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)
 
m (1 revision imported)
 

Latest revision as of 22:04, 21 January 2022

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