Template:TOC limit: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(Created page with "<div class="toclimit-{{{1|{{{limit|3}}}}}}">__TOC__</div><noinclude> {{documentation}}Category:Maintenance templates </noinclude>")
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<div class="toclimit-{{{1|{{{limit|3}}}}}}">__TOC__</div><noinclude>
<div class="toclimit-{{{1|{{{limit|3}}}}}}">__TOC__</div><noinclude>
{{documentation}}[[Category:Maintenance templates]]
{{documentation}}[[Category:TOC templates]]
</noinclude>
</noinclude>

Latest revision as of 16:04, 6 January 2014

Instructions for {{TOC limit}}
{{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.