Template:Hidden section top/doc

From English Wikipedia @ Freddythechick

This template is a wrapper for {{hidden begin}}, and can be used to hide sections. Use with {{Hidden end}}. 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

<syntaxhighlight lang="wikitext">

Click on show to view the contents of this section

Text you would like to hide

</syntaxhighlight>

This produces the following:

Click on show to view the contents of this section

Text you would like to hide

Custom heading text

<syntaxhighlight lang="wikitext">

Custom heading text

Text you would like to hide

</syntaxhighlight>

This produces the following:

Custom heading text

Text you would like to hide

See also