Template:TOC limit

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search
[edit] [purge] Template-info.svg Template documentation

Description

Prunes a page's Table of Contents (TOC) at a particular depth. Headers out of sequence or affected by other TOC templates do not work as expected.

Usage

Both are equivalent:

  • {{TOC limit|depth}}
  • {{TOC limit|limit=depth}}

Example

Limit headers to level 2 for a page overview:

{{TOC limit|2}}

TemplateData

Inserts a Table of Contents that omits subheadings beyond a certain depth

Template parameters

ParameterDescriptionTypeStatus
Limit1 limit

Maximum header depth to be included in table of contents

Default
3
Numbersuggested