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 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 has a table of contents in the left column. You can edit the markup to meet your requirements.

Add a table of contents to an existing page

Add markup like the following at the place on the page where you want the table of contents to appear:

Code Block
{panel:title=Contents}
{toc:minLevel=2}
{panel}

OR

Code Block
{panel:title=Contents}
{toc:maxLevel=4}
{panel}

OR

Code Block
{panel:title=Contents}
{toc:maxLevel=4|minLevel=2}
{panel}

Save the text to see the table of contents.

Wiki Markup
{scrollbar:icons=false}