Difference between revisions of "Template:TOClimit"

From Bad Kitty Games Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
<div class="toclimit-{{{1{{{limit|3}}}}}}">__TOC__</div>
+
<div class="toclimit-{{{limit|3}}}">__TOC__</div>
 
<noinclude>
 
<noinclude>
 
<templatedata>
 
<templatedata>

Latest revision as of 08:16, 4 November 2019

This template inserts a Table of Contents which omits subheadings beyond a certain depth. Omitted sections still have section edit links in the article body; the main use for this template is situations where you want section edit links for ease of editing but don't want to clutter the table of contents.

Template parameters

ParameterDescriptionTypeStatus
Limitlimit

Input from which heading level it should limit

Example
2 - 7, indicates which level of heading it should start hiding
Unknownrequired

Level 2

Level 3

Level 4

Level 5
Level 6