Help:Editing/Table of Contents
A table of contents lists all the headers included on a page. Each link in a table of contents can be clicked to automatically scroll down to that section.
To make headers, enclose the title of them in =
symbols. Headers can have up to 6 degrees of importance, determined by how many =
symbols the title is wrapped in. See the TOC on this page:
Contents
Header 1
A very large header. Use these sparingly, as they're about the size of the page title at the top.
Header 2
Standard header.
Header 3
Standard subsection.
Header 4
If you still want to divide a page up further, go down to four =
symbols.
Header 5
Headers with more than four =
symbols are not common because by default they are stylized identically to ones with four. There are many ways you could format them to look different however, with wiki tools and inline CSS/HTML.
Header 6
This is the lowest headers can go. This corresponds exactly with the HTML tags <h1>
, <h2>
, <h3>
, <h4>
, <h5>
, and <h6>
.
=Header 7=
Notice how the table of contents counts this header as a level 6 one, and does not parse the 7th pair of =
symbols. In the extremely rare case that you need to make a level 7 header, consider splitting up the page by the level 1 headers.
See Also
- Help:Editing/Templates - This page has documentation of some methods of manipulating the appearance of a table of contents.