NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column
width20%
Panel
titleContents
Table of Contents
maxLevel2
Column

Add a table of contents to an existing page

Click the Info tab then the View Source link. Copy the markup on this page to create a table of contents for a page. In the markup, enter the maximum number of levels to show in the table of contents, here 2. Keep the wiki markup for the columns and sections at the top and the bottom of this document just as they are. Save the text to see the table of contents; the preview does not show it until the page has been saved.

You may also copy the markup on the page with minimal markup for a table of contents.

First heading two

Some level two text.

Second heading two

Second level two text.

Add a table of contents to a new page

Click the Add Page link and then the link to Select a page template to start from. Select the table of contents template. When you save the page the table of contents is displayed. The page is similar to this one. You can edit the markup to meet your requirements.