Difference between revisions 47775763 and 47776139 on enwiki

===TOC===
====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]].

====Non-automatic TOC====
If the automatic TOC is not suitable, one can specify <tt><nowiki>__NOTOC__</nowiki></tt> and make one manually. For an example see [http://en.wikipedia.org/w/wiki.phtml?title=Wikipedia:How_to_edit_a_page&oldid=2360888]; it is applied for that page because the page contains examples of headers, which the automatic TOC would take as actual section headers. Later versions of the page removed the need for the manual TOC.

====Turning off the TOC numbers====
<!-- <nowiki>[How is this done? No documentation talks about the automatic numbers in a TOC]</nowiki> -->Currently you cannot turn off the numbering of sections in the TOC.

====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.
*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.
*The default TOC is placed before the first headline, but after any introductory text (unless changed by the page's editors). If the introductory summary is long enough that a typical user has to scroll down to see the top of the TOC, you may float the TOC so it appears closer to the top of the article. However, the floating TOC should in most cases follow at least the first paragraph of article text.
*Floating a wide TOC will produce a narrow column of readable text for users with low resolutions. If the TOC's width exceeds 30% of the user's visible screen (about twice the size of the Wikipedia navigation bar to the left), then it is not suitable for floating. (Percentages assume a typical user setup.) If text is trapped between a floating TOC and an image, floating can be cancelled at a certain text point, see [[Wikipedia:Picture_tutorial#Forcing a break|Forcing a break]].
*If the TOC is placed in the general vicinity of other floated images or boxes, it can be floated as long as the flowing text column does not become narrower than 30% of the average user's visible screen width. 
*If the TOC is going to be placed in a long list page, it should be floated.
*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]].

===Other===
Pages are usually divided into sections using the section header syntax. In some rare cases (eg. a large number of sub-sections, with very little text in each sub-section), it may be better to just use bolded text for sub-headers.