Template:TOC limit: Difference between revisions
Jump to navigation
Jump to search
(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...") |
m (1 revision imported) |
(No difference)
|
Latest revision as of 22:14, 18 February 2020
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