Template:TOC limit

From OpenStreetMap Wiki
Jump to navigation Jump to search
[Edit] [Purge] Template-info.svg Template documentation

Usage

The template limits the depth of a table of contents. Valid values are 2,3,4,5,6,7. The functionality for hiding unwanted elements is defined at MediaWiki:Common.css.

{{TOC limit|n}}

Parameters

Limit depth of table of contents

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
n1

Number of hierarchy levels

Example
3
Numberrequired

See also