Help:Table of Contents

From Source Entities
Jump to navigation Jump to search
Help:Editing

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:

Header 1[edit source]

A very large header. Use these sparingly, as they're about the size of the page title at the top.

Header 2[edit source]

Standard header.

Header 3[edit source]

Standard subsection.

Header 4[edit source]

If you still want to divide a page up further, go down to four = symbols.

Header 5[edit source]

Headers with more than four = symbols are not common because by default they are stylized identically to ones with four. This could be changed in the future however.

Header 6[edit source]

This is the lowest headers can go. This corresponds exactly with the HTML tags <h1>, <h2>, <h3>, <h4>, <h5>, and <h6>.

=Header 7=[edit source]

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.

Tip: Don't add steps or step numbers into your headers! There is an option in Special:Preferences that automatically puts numbers on headers for readers, and it would just look silly.

See Also[edit source]

  • Help:Templates - This page has documentation of some methods of manipulating the appearance of a table of contents.