Template:TOC limit
Template page
Views
Actions
Namespaces
Variants
Tools
{{TOC limit|3}
- Add this to any article where you wish to limit the levels that will appear on the table of contents.
- Setting 1 would be no TOC at all, so don't use this.
- Setting 2 would be the first level headings only, etc.