Template:TOC Limit: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
 
Line 1: Line 1:
<onlyinclude><div class="toclimit-{{{1|{{{limit|3}}}}}}">__TOC__</div></onlyinclude>
<onlyinclude><div class="toclimit-{{{1|{{{limit|3}}}}}}">__TOC__</div></onlyinclude>
This template allows you to limit the table of contents from nesting too far.
This template allows you to limit the table of contents from nesting too far.
Usage: simply insert the <code><nowiki>{{TOC Limit|N}}</nowiki></code> 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 <code><nowiki>{{TOC Limit|1}}</nowiki></code> unless you know what you're doing.) The default is 3.

Navigation menu