Template:TOC

From Wikitech
Jump to navigation Jump to search

Contents

Usage

{{TOC}}
{{TOC|align=right}}
{{TOC|align=left}}

No description.

Template parameters

ParameterDescriptionTypeStatus
Limitlimit

Use this to limit how many heading levels will be shown. For example, setting this to 2 means only heading levels 1 and 2 are shown.

Default
empty
Example
empty
Auto value
empty
Numberoptional
Alignmentalign

Whether to align the TOC to "left", "right" or (default) "none"

Default
none
Example
empty
Auto value
empty
Stringoptional
Clearclear

Change how and whether the TOC will clear the CSS float. Must be one of "left", "right", "none" or "both".

Default
both
Example
empty
Auto value
empty
Stringoptional