Template:TOC limit

From E-neutrons wiki
Revision as of 13:55, 8 August 2019 by ucph>Elearning
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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