Template:TOC Limit

From Kainga Encyclopedia
Revision as of 15:00, 8 September 2024 by Eheartshine (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template allows you to limit the table of contents from nesting too far.

Usage: simply insert the {{TOC Limit|N}} template line at the top of a page and the TOC will be limited to linking up to level N. (Note that most headers are level 2, so you should probably not use {{TOC Limit|1}} unless you know what you're doing.) The default is 3.