NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Wiki Markup
{scrollbar:icons=false}

Putting a table of contents on a page

Panel
titleContents

Table of Contents
minLevel2

Add a table of contents to a new page

Click Add Page from template and select  . When you save the page the table of contents is displayed. You can edit the macro to meet your requirements.

Add a table of contents to an existing page

At the place on the page where you want the table of contents to appear type as much of the following as needed to open the list of available macros; select the panel macro.

Code Block
{panel

Position the cursor in the panel macro text box, and type the following; select the Table of Contents macro.

Code Block
{toc

Click the Table of Contents macro and complete the properties to set the minimum and maximum heading levels to include in the table of contents.

Save the text to see the table of contents.

Wiki Markup
{scrollbar:icons=false}