Difference between revisions of "Template:TOClimit"
Jump to navigation
Jump to search
(4 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
"limit": { | "limit": { | ||
"description": "Input from which heading level it should limit", | "description": "Input from which heading level it should limit", | ||
− | "example": "2 - 7 | + | "example": "2 - 7, indicates which level of heading it should start hiding", |
− | |||
− | |||
− | |||
"required": true | "required": true | ||
} | } | ||
Line 16: | Line 13: | ||
} | } | ||
</templatedata> | </templatedata> | ||
+ | {{TOClimit|limit=4}} | ||
+ | == Level 2 == | ||
+ | === Level 3 === | ||
+ | ==== Level 4 ==== | ||
+ | ===== Level 5 ===== | ||
+ | ====== Level 6 ====== | ||
</noinclude> | </noinclude> |
Latest revision as of 07:16, 4 November 2019
This template inserts a Table of Contents which omits subheadings beyond a certain depth. Omitted sections still have section edit links in the article body; the main use for this template is situations where you want section edit links for ease of editing but don't want to clutter the table of contents.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Limit | limit | Input from which heading level it should limit
| Unknown | required |