Template:TOC limit: Difference between revisions

From E-neutrons wiki
Jump to navigation Jump to search
ucph>Elearning
No edit summary
 
m (1 revision imported)
 
(One intermediate revision by the same user not shown)
(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