<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.ndwiki.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ATOCright</id>
	<title>Template:TOCright - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.ndwiki.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ATOCright"/>
	<link rel="alternate" type="text/html" href="https://www.ndwiki.org/index.php?title=Template:TOCright&amp;action=history"/>
	<updated>2026-07-07T20:39:36Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://www.ndwiki.org/index.php?title=Template:TOCright&amp;diff=372&amp;oldid=prev</id>
		<title>Mike: Copy from enwp</title>
		<link rel="alternate" type="text/html" href="https://www.ndwiki.org/index.php?title=Template:TOCright&amp;diff=372&amp;oldid=prev"/>
		<updated>2008-11-12T07:49:38Z</updated>

		<summary type="html">&lt;p&gt;Copy from enwp&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{| cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; style=&amp;quot;clear: {{{clear|right}}}; margin-bottom: .5em; float: right; padding: .5em 0 .8em 1.4em; background: none; width: {{{width|{{{1|auto}}}}}};&amp;quot; {{#if:{{{limit|}}}|class=&amp;quot;toclimit-{{{limit}}}&amp;quot;}}&lt;br /&gt;
| __TOC__&lt;br /&gt;
|}&amp;lt;noinclude&amp;gt;&lt;br /&gt;
Forces the auto-generated Table of Contents for an article to appear in a table that is floated to the right side of the page (as seen right), 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.  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;
== Parameters (optional) ==&lt;br /&gt;
&lt;br /&gt;
;clear : Sets the 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;
&lt;br /&gt;
== Note ==&lt;br /&gt;
* Avoid placing the TOC in a visually poor location. Crossing a section division is probably a poor idea.&lt;br /&gt;
* If the TOC is floated left of a bulleted list, the bullets will be hidden.&lt;br /&gt;
&lt;br /&gt;
[[Category: Templates|{{PAGENAME}}]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mike</name></author>
	</entry>
</feed>