You are viewing an old version of this page. Return to the latest version.
m (Tag: 2017 source edit) |
m (Tag: 2017 source edit) |
Allows to specify how deep the TOC levels go (up to level 4)
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Limit |
limit
|
Limits heading levels. If value is 2, the TOC is 2 levels deep
|
Unknown | required |
<div class="{{#if:{{{limit|}}}|toclimit-{{{limit|}}}}}">__TOC__</div> <noinclude> <templatedata> { "params": { "limit": { "description": "Limits heading levels. If value is 2, the TOC is 2 levels deep", "example": "2", "default": "4", "required": true } }, "description": "Allows to specify how deep the TOC levels go (up to level 4)" } </templatedata> </noinclude>
| (11 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<div class="{{#if:{{{limit|}}}|toclimit-{{{limit|}}}}}">__TOC__</div> | <div class="{{#if:{{{limit|}}}|toclimit-{{{limit|}}}}}">__TOC__</div> | ||
| + | <noinclude> | ||
| + | <templatedata> | ||
| + | { | ||
| + | "params": { | ||
| + | "limit": { | ||
| + | "description": "Limits heading levels. If value is 2, the TOC is 2 levels deep", | ||
| + | "example": "2", | ||
| + | "default": "4", | ||
| + | "required": true | ||
| + | } | ||
| + | }, | ||
| + | "description": "Allows to specify how deep the TOC levels go (up to level 4)" | ||
| + | } | ||
| + | </templatedata> | ||
| + | </noinclude> | ||