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.

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