Template:TOC limit

 This template places the Table of Contents at the location it is used and limits the depth of the headings displayed. Example:

Usage

 * limit : (Optional) You can set this parameter or use the first positional argument to specify the depth of the headings to be displayed. Subheadings below this will be hidden. This argument must be set to an integer between 2 and 6. The default is 3 which will display headings denoted by   and.