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 |
no description
Limits heading levels. If value is 2, the TOC is 2 levels deep
|
|
|
Unknown | optionalrequired |
<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>
| (10 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
{ | { | ||
"params": { | "params": { | ||
| − | "limit": {} | + | "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)" | "description": "Allows to specify how deep the TOC levels go (up to level 4)" | ||