Template:TOC limit

From E-neutrons wiki
Revision as of 12:38, 17 February 2020 by Wikiadmin (talk | contribs) (Created page with "<templatestyles src="Template:TOC limit/styles.css" /><div class="toclimit-{{{1|{{{limit|3}}}}}}">__TOC__</div><noinclude> <!--{{documentation}}--> Prints a table of contents...")
Jump to navigation Jump to search

Prints a table of contents (TOC), only showing a set number of headers. Use the command

{{TOC limit|n}}

where \(n-1\) is the number of header types you want to be shown in the TOC. So if you only want to show the top headers, use

{{TOC limit|2}}

etc.

You can read more at the Wikipedia page for this template: http://en.wikipedia.org/wiki/Template:TOC_limit