Manual:Table of contents

By default, a table of contents (sometimes abbreviated to TOC) is automatically generated on a page when more than three section headings are used. Typically, the table reproduces and numbers these headings.

Hiding the TOC

 * See also Manual:FAQ


 * For one page
 * Place the magic word   into the page markup.


 * For all pages
 * Install Extension:NoTOC
 * OR
 * Add the following rule to MediaWiki:Common.css:


 * Per user
 * Users can also opt to have the table of contents hidden. This is a user preference, set in Special:Preferences.

Positioning the TOC
The default position of the TOC is directly above the first section heading. To place it elsewhere, use the magic word  at the preferred position on the page.

Adding the TOC
If you have less than three headings but want to add a TOC, either write the magic word anywhere on the page or  at the preferred position.

Other
The layout and behaviour of a table of contents can also be customised by tweaking the CSS or using certain extensions.

CSS
See Manual:CSS

Extensions

 * Category:TOC extensions

The behaviour of the table of contents can also be adjusted using extensions:


 * Extension:NoTOC
 * Extension:ShowHide
 * Extension:CustomTOCLength
 * Extension:PSINoTocNum