Template:TOC Limit

From Kainga Encyclopedia
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.