<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
		<id>http://www.mansun.wiki/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="http://www.mansun.wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ATOC_right%2Fdoc"/>
		<link rel="alternate" type="text/html" href="http://www.mansun.wiki/index.php?title=Template:TOC_right/doc&amp;action=history"/>
		<updated>2026-04-29T19:39:44Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.2</generator>

	<entry>
		<id>http://www.mansun.wiki/index.php?title=Template:TOC_right/doc&amp;diff=2088&amp;oldid=prev</id>
		<title>DarkMavis: Created page with &quot;{{Documentation subpage}} &lt;!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see Wikipedia:Wikidata)--&gt; {{TOC right}}  {{tl|TOC rig...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.mansun.wiki/index.php?title=Template:TOC_right/doc&amp;diff=2088&amp;oldid=prev"/>
				<updated>2015-07-15T20:20:33Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation subpage}} &amp;lt;!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see &lt;a href=&quot;https://en.wikipedia.org/wiki/Wikidata&quot; class=&quot;extiw&quot; title=&quot;wikipedia:Wikidata&quot;&gt;Wikipedia:Wikidata&lt;/a&gt;)--&amp;gt; {{TOC right}}  {{tl|TOC rig...&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;!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])--&amp;gt;&lt;br /&gt;
{{TOC right}}&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.&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 [[Wikipedia:Lead section#Elements of the lead]]. Use with {{tl|-}} or {{tl|clear}} to prevent collision with text; use the '''clear''' 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;
=== Parameters (optional) ===&lt;br /&gt;
;clear: Sets the [[Cascading Style Sheets|CSS]] clear property, which forces this float underneath the side specified with this attribute. So, &amp;lt;code&amp;gt;clear=right&amp;lt;/code&amp;gt; (which is the default) will place the element after all the right floating elements before it. Options are &amp;lt;code&amp;gt;left&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;right&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;both&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;none&amp;lt;/code&amp;gt;.&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 is implemented as a CSS class in the [[MediaWiki:Common.css]].&lt;br /&gt;
&lt;br /&gt;
== Cautions ==&lt;br /&gt;
Do not use this template to just force word wrap around the TOC, as this is inappropriate method of achieving this.  Instead add a CSS class to your current skin's .css file, which will apply site wide. Go to [[Special:Mypage/skin.css]], which redirects to your current [[WP:SKIN|skin]]'s CSS file.&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 ''not'' 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;
== See also ==&lt;br /&gt;
* [[Help:Section#Floating the TOC]]&lt;br /&gt;
* {{Lts|TOC left}}&lt;br /&gt;
* [[Help:Magic words#Table of contents|Help:Magic words]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|sandbox | |&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>DarkMavis</name></author>	</entry>

	</feed>