Difference between revisions 54872173 and 55050133 on enwiki

:''See [[Wikipedia:Guide to layout]] for information about using sections to structure articles.''
===Compact TOC===
Several kinds of compact TOC can be found at [[Wikipedia:Template messages/Compact table of contents]]. Also note that a normal compact TOC will not work on a Category page; see the same page's section on [[Wikipedia:Template messages/Compact table of contents#To use on Category pages|how to make a compact TOC on a Category page]].
===Floating the TOC===
The TOC can, in some instances, be floated either right or left using {{tl|TOCright}} or {{tl|TOCleft}}. Before changing the default TOC to a floated TOC, consider the following guidelines:

*A floating TOC should be used when it is beneficial to the layout of the article, or when the default TOC gets in the way of other elements.
*If an article will be adversely affected by the change, don't float the TOC.
*If floating the TOC, the TOC should be placed after the lead section for consistency. Users of [[screen reader]]s do not expect any text between the TOC and the first heading, and yhaving no text above the TOC is confusing. See [[wikipedia:accessibility #Article structure]]
*When floating a TOC, check whether the page layout will be harmed if the TOC is hidden by the user.
*The TOC should not be longer than necessary, whether it is floated or not.
(contracted; show full)
*A left-floated TOC may affect bulleted or numbered lists. Where it does, float the TOC to the right, or do not float it.

The {{tl|TOCright}} template was proposed for deletion in early July 2005, but there was no consensus on the matter.  The archive of the discussion and voting regarding this may be seen at [[Wikipedia:Templates for deletion/TOCright]]. The Manual of Style discussion can be found [[Wikipedia_talk:Manual_of_Style--Archive_17|here]].