Template:TOClimit
Want an adless experience? Log in or Create an account.
This template inserts a table of contents which omits subheadings beyond a certain depth.
Usage
Place the below code at the top of the page, replace # with heading level you want.
{{TOC limit|#}}
for example
{{TOC limit|3}}
Alternatively you can use:
{{TOC limit}}
which would assume the default level 3.
For additional info see full documentation of the original template wikipedia:Template:TOC_limit