Template:Toclimit
From A KoL Wiki
[edit]
{{Toclimit}}
<div class="toclimit-{{{1|{{{limit|3}}}}}}">__TOC__</div>
Restricts the depth of headings shown in the Table of Contents.
Usage
- Specify a numeric argument 2≤X≤7 to not show levels headings of level ≥X. For example:
- {{toclimit|2}} displays a TOC that only shows level 1 headings
- {{toclimit|3}} displays a TOC that only shows level 1 and level 2 headings
- Default behavior, with no arguments are given, is like {{toclimit|3}}