Template:TOClimit/Doc

Summary
This template places a table of contents (TOC) at the location where the template is. The only difference from a standard TOC is that the subheaders shown in the TOC can be controlled, using the limit parameter.

Demonstration
Notice that this section, being under a level-3 header, does not show in the TOC.