[Edit] [ ] Template documentation
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.
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.