The Wiki Table of Contents plugin generates a dynamic table of contents which can be inserted into any wiki page. The table is built from the section headings you put in the document. Just use the Heading 1 through Heading 2 styles. If you change the headings in the document, the table of contents will automatically update.
To insert a table of contents, click Insert | Table of Contents... in the wiki editor. If you do not see the menu item, have a FogBugz adminstrator install and enable the Wiki Table of Contents plugin.
The table of contents will appear as a placeholder block in edit mode:
This will be replaced by the full table of contents in view mode, complete with section titles which link to the sections. If you want to include only certain heading levels in the table, right-click the Table of Contents block in edit mode and click Table of Contents Properties...