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 style="" class={{#if:{{{limit|}}}|toclimit-{{{limit|}}}}}>__TOC__</div> <div style="clear: {{{clear|both}}}; margin-bottom: .5em; float: {{{align|none}}}; {{#ifeq: {{lc:{{{align|}}}}} | right | margin-left:2.5em; | {{#ifeq: {{lc:{{{align|}}}}} | left | margin-right:2.5em; | <!-- align=none --> }} }} width: {{{width|auto}}};" {{#if:{{{limit|}}}|class="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>
| Line 1: | Line 1: | ||
| − | <div style="" | + | <div style="clear: {{{clear|both}}}; margin-bottom: .5em; float: {{{align|none}}}; {{#ifeq: {{lc:{{{align|}}}}} | right | margin-left:2.5em; | {{#ifeq: {{lc:{{{align|}}}}} | left | margin-right:2.5em; | <!-- align=none --> }} }} width: {{{width|auto}}};" {{#if:{{{limit|}}}|class="toclimit-{{{limit|}}}"}}>__TOC__</div> |
| + | |||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||