The table obeys the same layout rules as the __toc__ magic word Omitted sections still have section edit links in the article body The main use for this template is situations where you want section edit links for ease of editing but don't want a full table of contents It appears high on the page, giving readers a quick overview of the article, as well as a quick route to an interesting part of the article Best of all, wikipedia's software generates the table of contents automatically from the section headings (see the section about your first edit). This page lists ways to create several kinds of compact tables of contents (toc)
Please note that a normal compact toc will not work when put on category pages This page contains a separate section instructing you how to put a compact toc on category pages. This template adds a table of contents (toc) to a category page It should only be added to category pages and should not be used for categories containing less than 200 pages. This template is used on many pages and changes may be widely noticed Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage.
Rather than have dozens of stylistic varieties, it is preferable to have a single template which can be adjusted to fit the editor's wishes. The above documentation is transcluded from template:toc us states/doc (edit | history) editors can experiment in this template's sandbox (create | mirror) and testcases (edit) pages Add categories to the /doc subpage
OPEN