Template:TOC limit: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
(Documentation.)
(add category)
 
Line 9: Line 9:


4 allows for third-level headings, e.g. "1.1.1", but omits any subheadings below that from the TOC.
4 allows for third-level headings, e.g. "1.1.1", but omits any subheadings below that from the TOC.
[[Category:TOC templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 11:37, 4 June 2016

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.