Help:TOC

From QED

Jump to: navigation, search
Help
Related topics

Contents

Notes for Readers

If you do not wish to see the table of contents that is normally generated for pages with more than three section headings, adjust your preferences accordingly.

Notes for Editors

A table of contents (TOC) is dynamically generated and displayed for each page with more than three headings unless:

  • the page includes the "magic word" __NOTOC__, or
  • the preferences of the user viewing the page direct otherwise.

The positioning and other details about the TOC can be modified in various ways. For example, the TOC can be centered, as on this page, by including the following at the top of the page:

<center>__TOC__</center>

Similarly, a right-floating TOC can be produced using the following incantation:

 {| align=right
 | __TOC__
 |}

__NOTOC__

If you do not want the TOC of a particular page to be displayed, include the directive __NOTOC__ on the page. Such directives are also known as "magic words".

__FORCETOC__

__FORCETOC__ forces the TOC to be placed before the first section heading. By contrast, __TOC__ causes the TOC to be placed at the point of incantation.

__NOTOCNUM__

To prevent numbering of the sections and subsections in a Table of Contents, include the __NOTOCNUM__ directive on the page.

Hyperlinks

You can create a hyperlink to a specific section on the same or a different QED page as illustrated below:

A hyperlink to the same page

[[#Hyperlinks|Hyperlinks on the same page]] appears as Hyperlinks on the same page.

A hyperlink to a different page

[[Help:Editing#Hyperlinks|Hyperlinks]] appears as Hyperlinks.

See also

Personal tools