Jump to content

User:Make equable/Edit help/Hiding a section or text

From Wikipedia, the free encyclopedia

Hiding a section or text[edit]

Simple[edit]

{{hst|reason=Custom heading text}}
Text you would like to hide
{{hsb}}

renders as

Custom heading text

Text you would like to hide

More complex[edit]

{{Hidden begin
|toggle=
|border=
|header=
|title=
|titlestyle=
|bodystyle=
|bg1=
|bg2=
|ta1=
|ta2=
|extra1=
|extra2=
}}
<!-- content -->
{{Hidden end}}

renders as

Text you would like to hide

NOTE: Both {{hst}}{{hsb}} and {{Hidden begin}}{{Hidden end}} can also be used inside quote boxes.


Hiding and other modifications of the Table of contents[edit]

{{TOC hidden}}  - hides TOC
__NOTOC__       - disables the TOC entirely.
__FORCETOC__    - forces the TOC to appear at the normal location regardless of the number of headings.
__TOC__         - forces the TOC to appear at the point where the magic word is inserted instead of the
                  normal location.
{{TOC limit|n}} - n is the number of = signs that are used on each side of the lowest-level section header
                  to be displayed.