Template:TOC limit
Jump to navigation
Jump to search
This documentation is transcluded from Template:TOC limit/doc. (Edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Usage
The template limits the depth of a table of contents. Valid values are 2,3,4,5,6,7. The functionality for hiding unwanted elements is defined at MediaWiki:Common.css.
{{TOC limit|n}}
Parameters
Limit depth of table of contents
Parameter | Description | Type | Status | |
---|---|---|---|---|
n | 1 | Number of hierarchy levels
| Number | required |
See also
- {{TOC right}}