Template:TOC limit/doc

From OpenStreetMap Wiki
Jump to navigation Jump to search

This is a documentation subpage for Template:TOC limit.
It contains usage information, categories and other content or metadata that is not part of the original template.

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