Template:Hidden section top

From Ethan's Workspace
Revision as of 10:19, 21 February 2021 by w>Graham87 (Protected "Template:Hidden section top": high-risk template ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefinite)))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Click on show to view the contents of this section

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

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