You are browsing a read-only backup copy of Wikitech. The primary site can be found at wikitech.wikimedia.org

Template:TOC

From Wikitech-static
Jump to navigation Jump to search

Usage

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

<templatedata> { "params": { "clear": { "label": "Clear", "type": "string", "description": "Change how and whether the TOC will clear the CSS float. Must be one of \"left\", \"right\", \"none\" or \"both\".", "default": "both" }, "align": { "label": "Alignment", "description": "Whether to align the TOC to \"left\", \"right\" or (default) \"none\"", "type": "string", "default": "none" }, "limit": { "label": "Limit", "type": "number", "description": "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." } }, "paramOrder": [ "limit", "align", "clear" ] } </templatedata>