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. (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]]. == =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. All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://en.wikipedia.org/w/index.php?diff=prev&oldid=47776139.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|