Template:TOC limit/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
m (Bot: Adding <noinclude>{{PAGENAME}}</noinclude>)
Line 9: Line 9:


4 allows for third-level headings, i.e. "1.1.1", but omits any subheadings below that from the TOC.
4 allows for third-level headings, i.e. "1.1.1", but omits any subheadings below that from the TOC.
<noinclude>[[category:template documentation|{{PAGENAME}}]]</noinclude>

Revision as of 14:05, 18 May 2012

{{TOC limit}} inserts a table of contents which omits subheadings beyond a certain depth.

Usage

This template is used by inserting the line {{TOC limit}} in cases where the table of contents is disrupting the layout of a page by being overly large. Omitted sections still have section edit links in the article body.

You can specify a different limit by adding a header level. For example:

{{TOC limit|4}}

4 allows for third-level headings, i.e. "1.1.1", but omits any subheadings below that from the TOC.