Template:TOC limit

From FlightGear wiki
Revision as of 03:32, 6 September 2020 by Johan G (talk | contribs) (+doc: Valid numbers for the "limit" parameter and why.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


The following template description is not displayed when the template is inserted in an article.

Goal

This template can be used when you want a table of contents (TOC), but do not want to show all the heading levels.

Usage

{{TOC limit|limit}}
limit
Optional parameters to set the heading level limit. Valid limits are integers 2 to 7. Defaults to 3.

Technical details

The template uses the toclimit-(1..7) classes in MediaWiki:Common.css.

Related templates