<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://battleint.net/index.php?action=history&amp;feed=atom&amp;title=Template%3ATOClimit%2Fdoc</id>
	<title>Template:TOClimit/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://battleint.net/index.php?action=history&amp;feed=atom&amp;title=Template%3ATOClimit%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://battleint.net/index.php?title=Template:TOClimit/doc&amp;action=history"/>
	<updated>2026-08-20T15:28:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://battleint.net/index.php?title=Template:TOClimit/doc&amp;diff=170784&amp;oldid=prev</id>
		<title>imported&gt;Deadfire: Text replacement - &quot;&lt;includeonly&gt;{{template doc page transcluded}}&lt;/includeonly&gt;&lt;noinclude&gt;{{template doc page viewed directly}}&lt;/noinclude&gt;&quot; to &quot;{{Documentation subpage}}&quot;</title>
		<link rel="alternate" type="text/html" href="https://battleint.net/index.php?title=Template:TOClimit/doc&amp;diff=170784&amp;oldid=prev"/>
		<updated>2023-05-01T00:28:40Z</updated>

		<summary type="html">&lt;p&gt;Text replacement - &amp;quot;&amp;lt;includeonly&amp;gt;{{template doc page transcluded}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;{{template doc page viewed directly}}&amp;lt;/noinclude&amp;gt;&amp;quot; to &amp;quot;{{Documentation subpage}}&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This template inserts a Table of Contents which omits subheadings lower than a certain level. The table obeys the same layout rules as the &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;__TOC__&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039; magic word. 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&amp;#039;t want to clutter the table of contents.&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{TOC limit}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The template defaults to including only == level 2 == and  === level 3 === headers.&lt;br /&gt;
&lt;br /&gt;
You can specify a different limit by adding a header level:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{TOC limit|4}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4 allows ==== level 4 headers ==== but omits any subheadings below that from the TOC.&lt;br /&gt;
&lt;br /&gt;
The template works by hiding the lower levels with CSS.  See [[MediaWiki:Common.css]].&lt;br /&gt;
&lt;br /&gt;
=== Conflicts ===&lt;br /&gt;
This template does not interact well with the {{tl|TOC right}}, {{tl|TOC left}}, {{tl|TOC center}} templates.  To achieve the correct effect, use those with a limit parameter.  For example, {{tl|TOC right|2=limit=2}} has the effect that {{tl|TOC right}} and {{tl|TOC limit|2}} would have—if they worked together.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- ADD CATEGORIES BELOW THIS LINE --&amp;gt;&lt;br /&gt;
[[Category:Templates|{{PAGENAME}}]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Deadfire</name></author>
	</entry>
</feed>