You can create a table of contents from any heading text that you have in your wiki page.
For versions 5.2 and earlier, generating a wiki table of contents requires the Wiki TOC plugin, available through CollabNet Professional Services.
To enable TOC for a Wiki page, place the following in your Wiki page at the spot where you want the Table of Contents to appear.
%%insert-toc %%
The Table of Contents is generated automatically based on the heading markers in the wiki page, e.g. !!!Heading