Template:Hidden section top: Difference between revisions

From Ethan's Workspace
Jump to navigation Jump to search
w>Graham87
m (Protected "Template:Hidden section top": high-risk template ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefinite)))
 
m (1 revision imported)
 

Latest revision as of 21:04, 21 January 2022

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