Template:TOC limit

This template specifies where a table of contents is to be placed as well as specifying how deep the table of contents should go.

 

This template takes a single parameter, limit, which indicates the depth to which the table of contents should go. Specifically, limit is the number of equal signs used in the wikitext. So a limit of 2 shows sections but not subsections, while a limit of 3 shows sections and subsections but not sub-subsections, etc.