There is no RationalWiki without you. We are a small non-profit with no staff—we are hundreds of volunteers who document pseudoscience and crankery around the world every day. We will never allow ads because we must remain independent. We cannot rely on big donors with corresponding big agendas. We are not the largest website around, but we believe we play an important role in defending truth and objectivity. |
Fighting pseudoscience isn't free. We are 100% user-supported! Help and donate $5, $10, $20 or whatever you can today with ![]() ![]() |
Help:TOC
If an article contains more than three headings, a Table Of Contents (TOC) will normally be created automatically.
Suppress automatic numbering[edit]
MediaWiki automatically numbers the items in the TOC. To change this behavior, paste the following wherever you want the table to be:
<div class="noautonum">__TOC__</div>
Removing TOC[edit]
__
), on both sides.If, for whatever reason, a TOC isn't wanted, it can be removed (switched off) by including when editing: __NOTOC__
(meaning "No table of contents"). It is usually put at the top of the page, although the position in this case hardly makes a difference in the end.
Adding TOC manually[edit]
If __FORCETOC__
is used, then a TOC will occur before the first heading, even if there are three or fewer headings.
Similarly, if __TOC__
is used, then a TOC will occur at the point where __TOC__
is placed even if there are three or fewer headings. Thus, you can place the TOC at any point vertically or horizontally or, for example, in a table cell.
NB: "__TOC__" overrides __NOTOC__".
In a table[edit]
The TOC can be forced into a floating table on the right hand of the screen with the code below:
{| align="right" | __TOC__ |}
which produces:
For more information, see Help:Sections.