Template:TOC limit
Jump to navigation
Jump to search
The following template description is not displayed when the template is inserted in an article.
Goal
This template can be used when you want a table of contents (TOC), but do not want to show all the heading levels.
Usage
{{TOC limit|limit}}
- limit
- Optional parameters to set the heading level limit. Valid limits are integers 2 to 7. Defaults to 3.
Technical details
The template uses the toclimit-(1..7)
classes in MediaWiki:Common.css.
Related templates
- {{TOC right}}