The wiki is now available again. However, some recent changes may not have been restored.
Please see Computing Services' blog post for more details
Skip to end of metadata
Go to start of metadata

 

The table of contents macro goes through your headings and adds an anchor to each heading, then generates a bulleted list (with subheadings indented). 

HTML headings are hierarchical (Heading 1, Heading 2, Heading 3, Heading 4, Heading 5; the largest is Heading 1). 

The first heading in your page must be a higher number than any other heading (e.g. if you have Heading 2, Heading 3, and Heading 4 headings in your page, the first heading must be Heading 2; if you have Heading 3, Heading 4, and Heading 5 headings in your page, the first one must be Heading 3). 

The table of contents macro can be inserted after the main heading of the page and will only list headings that occur after it on the page.

To create a table of contents, enter the following macro:

{{tableOfContents}}

Example of table of contents macro

CMS Tutorials

What's it all about?

Basics

Intermediate

Manually-edited right-hand column

Right-hand column include (same on multiple pages)

Unique pages

Content issues

Advanced