NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 38 Next »

Putting a table of contents on a page

Contents

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:

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

OR

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

OR

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

Save the text to see the table of contents.

  • No labels