<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://prdmc.ca/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ATOC_right%2Fdoc</id>
	<title>Template:TOC right/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://prdmc.ca/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ATOC_right%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://prdmc.ca/w/index.php?title=Template:TOC_right/doc&amp;action=history"/>
	<updated>2026-04-15T02:18:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://prdmc.ca/w/index.php?title=Template:TOC_right/doc&amp;diff=1324&amp;oldid=prev</id>
		<title>RandomUser34: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://prdmc.ca/w/index.php?title=Template:TOC_right/doc&amp;diff=1324&amp;oldid=prev"/>
		<updated>2026-02-16T05:58:38Z</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 05:58, 16 February 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>RandomUser34</name></author>
	</entry>
	<entry>
		<id>https://prdmc.ca/w/index.php?title=Template:TOC_right/doc&amp;diff=1323&amp;oldid=prev</id>
		<title>wp&gt;Redrose64: Reverted edits by 208.40.86.22 (talk) to last version by Favonian</title>
		<link rel="alternate" type="text/html" href="https://prdmc.ca/w/index.php?title=Template:TOC_right/doc&amp;diff=1323&amp;oldid=prev"/>
		<updated>2025-05-31T15:36:16Z</updated>

		<summary type="html">&lt;p&gt;Reverted edits by &lt;a href=&quot;/w/index.php/Special:Contributions/208.40.86.22&quot; title=&quot;Special:Contributions/208.40.86.22&quot;&gt;208.40.86.22&lt;/a&gt; (&lt;a href=&quot;/w/index.php?title=User_talk:208.40.86.22&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User talk:208.40.86.22 (page does not exist)&quot;&gt;talk&lt;/a&gt;) to last version by Favonian&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;!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])--&amp;gt;&lt;br /&gt;
{{High-use}}&lt;br /&gt;
{{Template display|vector2022}}&lt;br /&gt;
{{TOC right}}&lt;br /&gt;
{{tsh|tocr|tocright|TOCright}}&lt;br /&gt;
{{Uses TemplateStyles|Template:TOC limit/styles.css|Template:TOC right/styles.css}}&lt;br /&gt;
&lt;br /&gt;
{{tl|TOC right}} forces the auto-generated Table of Contents for an article to appear floated to the right side of the page in order to improve article layout. Since the [[Wikipedia:Vector 2022|Vector 2022]] skin forces the table of contents into a sidebar or a pop-up menu, this template does not control the placement of the TOC in that skin.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
Insert &amp;lt;code&amp;gt;&amp;amp;#123;&amp;amp;#123;{{BASEPAGENAME}}&amp;amp;#125;&amp;amp;#125;&amp;lt;/code&amp;gt; at the point in the article where you want the top of the Table of Contents box to appear. This should usually be after the text of the lead section, and just before the first section heading, in accordance with [[MOS:LEADELEMENTS]]. Use with {{tl|-}} or {{tl|clear}} to prevent collision with text; use the &amp;#039;&amp;#039;&amp;#039;clear&amp;#039;&amp;#039;&amp;#039; parameter (see below) to prevent collision with images.&lt;br /&gt;
&lt;br /&gt;
* Avoid placing the TOC in a visually poor location. Crossing a section division is probably a poor idea.&lt;br /&gt;
&lt;br /&gt;
;width: Set the CSS width.&lt;br /&gt;
&lt;br /&gt;
;limit: Limits the depth of subheadings shown. For instance using &amp;lt;code&amp;gt;limit=4&amp;lt;/code&amp;gt; will hide the fourth level and deeper subheadings in the hierarchy. And &amp;lt;code&amp;gt;limit=2&amp;lt;/code&amp;gt; will hide all subheadings leaving only the main headings. This works by hiding the lower levels with CSS. See [[Template:TOC limit/styles.css]].&lt;br /&gt;
&lt;br /&gt;
Do not place this template so that the TOC aligns with a large image or infobox; this breaks the layout on narrow screens (even users with screens as wide as 1024px wide can have problems). Also, a TOC that crosses a section division is probably a poor idea, if that can be avoided.&lt;br /&gt;
&lt;br /&gt;
Unless the section in which the {{tl|TOC right}} is placed is long enough, the result may well be undesirable. &lt;br /&gt;
&lt;br /&gt;
It should only be used in cases where the TOC gets in the way of other content or is detrimental to the layout of the page; it should &amp;#039;&amp;#039;not&amp;#039;&amp;#039; simply be used for aesthetics since it tampers with the standard appearance of articles. See [[Help:Section#Floating the TOC]] for further guidelines.&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;limit&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Limit&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Limits the depth of subheadings shown. For instance using limit=4 will hide the fourth level and deeper subheadings in the hierarchy. And limit=2 will hide all subheadings leaving only the main headings. This works by hiding the lower levels with CSS&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;number&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;clear&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Clear&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Sets the CSS clear property, which forces this float underneath the side specified with this attribute. So, clear=right (which is the default) will place the element after all the right floating elements before it. Options are left, right, both, or none.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;width&amp;quot;: {&lt;br /&gt;
			&amp;quot;aliases&amp;quot;: [&lt;br /&gt;
				&amp;quot;1&amp;quot;&lt;br /&gt;
			],&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Width&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Overrides the CSS width&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;{{TOC right}} forces the auto-generated \&amp;quot;Table of Contents\&amp;quot; for an article to appear floated to the right side of the page (as seen right), in order to improve article layout.&amp;quot;,&lt;br /&gt;
	&amp;quot;paramOrder&amp;quot;: [&lt;br /&gt;
		&amp;quot;clear&amp;quot;,&lt;br /&gt;
		&amp;quot;limit&amp;quot;,&lt;br /&gt;
		&amp;quot;width&amp;quot;&lt;br /&gt;
	],&lt;br /&gt;
	&amp;quot;format&amp;quot;: &amp;quot;inline&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* {{tl|TOC left}}&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;
{{DEFAULTSORT:Toc Right}}&lt;br /&gt;
[[Category:Wikipedia table of contents templates]]&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>wp&gt;Redrose64</name></author>
	</entry>
</feed>