NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

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}

h1. 

Putting

...

a

...

table

...

of

...

contents

...

on

...

a

...

page

{:=
Panel
title
Contents
} {
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
=2}
{panel}

h2. 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.

h2. 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}{panel:title=Contents}
{toc:minLevel=2}
{panel}

OR

Code Block
{code}

OR

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

OR

{code}

OR

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

*Save* the text to see the table of contents.

Save the text to see the table of contents.

Wiki Markup
{scrollbar:icons=false}