Template:TOC limit: Difference between revisions

From E-neutrons wiki
Jump to navigation Jump to search
ucph>Elearning
No edit summary
 
(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...")
(No difference)

Revision as of 12:38, 17 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