Template:TOC limit

The official GemStone IV encyclopedia.
Jump to: navigation, search

Usage

{{TOC limit}}

The template defaults to including only the first- and second-level headings, e.g. those numbered "1" and "1.1" in the TOC. You can specify a different limit by adding a header level:

{{TOC limit|4}}

4 allows for third-level headings, e.g. "1.1.1", but omits any subheadings below that from the TOC.