<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://noumenapedia.net/index.php?action=history&amp;feed=atom&amp;title=Template%3AAutomatic_category_TOC%2Fdoc</id>
	<title>Template:Automatic category TOC/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://noumenapedia.net/index.php?action=history&amp;feed=atom&amp;title=Template%3AAutomatic_category_TOC%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://noumenapedia.net/index.php?title=Template:Automatic_category_TOC/doc&amp;action=history"/>
	<updated>2026-10-28T10:04:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://noumenapedia.net/index.php?title=Template:Automatic_category_TOC/doc&amp;diff=22974&amp;oldid=prev</id>
		<title>Deleatur yhe: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://noumenapedia.net/index.php?title=Template:Automatic_category_TOC/doc&amp;diff=22974&amp;oldid=prev"/>
		<updated>2026-09-11T04:05:53Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 04:05, 11 September 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Deleatur yhe</name></author>
	</entry>
	<entry>
		<id>https://noumenapedia.net/index.php?title=Template:Automatic_category_TOC/doc&amp;diff=22973&amp;oldid=prev</id>
		<title>wikipedia&gt;HouseBlaster: improving doc</title>
		<link rel="alternate" type="text/html" href="https://noumenapedia.net/index.php?title=Template:Automatic_category_TOC/doc&amp;diff=22973&amp;oldid=prev"/>
		<updated>2026-08-14T16:17:44Z</updated>

		<summary type="html">&lt;p&gt;improving doc&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;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&amp;gt;&lt;br /&gt;
{{High-use}}&lt;br /&gt;
{{lua|Module:HTMLDecode}}&lt;br /&gt;
{{tsh|CatAutoTOC}}&lt;br /&gt;
Adds a Table of Contents (TOC) to a category page if the category&amp;#039;s size warrants it.&lt;br /&gt;
&lt;br /&gt;
The size thresholds are:&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;= 100 pages → no TOC&lt;br /&gt;
# 101–1200 pages → {{tl|Category TOC}}&lt;br /&gt;
# &amp;gt; 1200 pages → {{tl|Large category TOC}}&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&amp;lt;syntaxhighlight inline lang=&amp;quot;wikitext&amp;quot;&amp;gt;{{Automatic category TOC}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On category pages, {{tl|Automatic category TOC}} can be placed wherever you want the TOC to be displayed.&lt;br /&gt;
&lt;br /&gt;
On a category header template, it is best placed outside any {{tag|includeonly}} tags, so that the template is categorised as using this template.&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
No parameters are needed.&lt;br /&gt;
&lt;br /&gt;
However, the parameters available to {{tl|Category TOC}} may be supplied, and if {{t|Automatic category TOC}} calls {{tl|Category TOC}}, those parameters will be passed on to {{tl|Category TOC}}.&lt;br /&gt;
&lt;br /&gt;
So, for example, &amp;lt;syntaxhighlight inline lang=&amp;quot;wikitext&amp;quot;&amp;gt;{{Automatic category TOC|align=center}}&amp;lt;/syntaxhighlight&amp;gt; will:&lt;br /&gt;
# Have no effect if no TOC is generated&lt;br /&gt;
# Align to the center if {{tl|Category TOC}} is used&lt;br /&gt;
# Have no effect if {{tl|Large category TOC}} is used, because {{tl|Large category TOC}} accepts no parameters&lt;br /&gt;
&lt;br /&gt;
== Tracking ==&lt;br /&gt;
&amp;lt;div style=&amp;quot;display:block; float:right&amp;quot;&amp;gt;{{Automatic category TOC stats}}&amp;lt;/div&amp;gt;&lt;br /&gt;
Each page using this template is categorised in one of three tracking categories:&lt;br /&gt;
* {{clc|Automatic category TOC generates no TOC}}&lt;br /&gt;
* {{clc|Automatic category TOC generates standard Category TOC}}&lt;br /&gt;
* {{clc|Automatic category TOC generates Large category TOC}}&lt;br /&gt;
&lt;br /&gt;
Templates which transclude {{tl|Automatic category TOC}} are categorised in&lt;br /&gt;
* {{clc|Templates using Automatic category TOC}}&lt;br /&gt;
&lt;br /&gt;
... but only if the transclusion is outside any {{tag|noinclude}} tags.&lt;br /&gt;
== Bugs ==&lt;br /&gt;
{{tracked|T221795}}&lt;br /&gt;
This template uses the [[Help:Magic words|magic word]] &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{PAGESINCATEGORY}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; to count the number of pages in the category. Due to caching, the results are occasionally inaccurate. &lt;br /&gt;
&lt;br /&gt;
== TemplateData ==&lt;br /&gt;
{{TemplateData header}}&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;align&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Aligns {{Category TOC}} to either the left or center, depending on the value.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;line&amp;quot;,&lt;br /&gt;
			&amp;quot;suggestedvalues&amp;quot;: [&lt;br /&gt;
				&amp;quot;left&amp;quot;,&lt;br /&gt;
				&amp;quot;center&amp;quot;&lt;br /&gt;
			]&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;top&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;If true, displays a link to the \&amp;quot;top\&amp;quot; of the table of contents.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;boolean&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;numerals&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Specifies how numbers are included. \&amp;quot;group\&amp;quot; (default) generates one link for 0–9. \&amp;quot;separate\&amp;quot; generates one link per number. \&amp;quot;no\&amp;quot; hides numbers entirely. &amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;line&amp;quot;,&lt;br /&gt;
			&amp;quot;suggestedvalues&amp;quot;: [&lt;br /&gt;
				&amp;quot;group&amp;quot;,&lt;br /&gt;
				&amp;quot;separate&amp;quot;,&lt;br /&gt;
				&amp;quot;no&amp;quot;&lt;br /&gt;
			]&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;uppercase&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Specifies how uppercase letters are included. \&amp;quot;yes\&amp;quot; (default) generates generates one link per letter. \&amp;quot;group\&amp;quot; generates one link for all of A–Z. \&amp;quot;no\&amp;quot; hides uppercase letters entirely. &amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;line&amp;quot;,&lt;br /&gt;
			&amp;quot;suggestedvalues&amp;quot;: [&lt;br /&gt;
				&amp;quot;yes&amp;quot;,&lt;br /&gt;
				&amp;quot;group&amp;quot;,&lt;br /&gt;
				&amp;quot;no&amp;quot;&lt;br /&gt;
			]&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;lowercase&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Specifies how lowercase letters are included. \&amp;quot;no\&amp;quot; (default) hides lowercase letters entirely. \&amp;quot;yes\&amp;quot; generates generates one link per letter. \&amp;quot;group\&amp;quot; generates one link for all of a–z. &amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;line&amp;quot;,&lt;br /&gt;
			&amp;quot;suggestedvalues&amp;quot;: [&lt;br /&gt;
				&amp;quot;yes&amp;quot;,&lt;br /&gt;
				&amp;quot;no&amp;quot;,&lt;br /&gt;
				&amp;quot;group&amp;quot;&lt;br /&gt;
			]&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;format&amp;quot;: &amp;quot;inline&amp;quot;,&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;Automatically displays the appropriate category table of contents depending on the size of a category. It takes a handful of parameters, but they only affect the display if {{Category TOC}} is the appropriate category TOC.&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
{{Category TOC see also}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Category header templates]]&lt;br /&gt;
[[Category:Wikipedia category table of contents templates]]&lt;br /&gt;
[[Category:Wikipedia Automatic category TOC]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>wikipedia&gt;HouseBlaster</name></author>
	</entry>
</feed>