Jump to content

Template:TOC/doc

From Wikitech

Usage

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

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for TOC

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.

Numberoptional
Alignmentalign

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

Default
none
Stringoptional
Clearclear

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

Default
both
Stringoptional