Template:ToC/doc

Source: Wikipedia, the free encyclopedia.
An example Table of Contents

When {{ToC}} or __TOC__ (with two underscores on either side of the word) is placed in the wikitext, a Table of Contents (ToC) is generated where that code appears.

These tables are automatically generated if the page has more than three headings – using this template forces a Table of Contents regardless of article size.

This template is identical to simply typing "__TOC__".

Limitations

Since the Vector 2022 skin forces the table of contents into a sidebar or a pop-up menu, this template does not control the placement of the TOC in that skin.

See also