</tr>
</table>
- Example: `%TOC{depth="2"}%`
-- Example: `%TOC{"TWikiDocumentation" web="TWiki" title="Contents:"}%`
+- Example: `%TOC{"TWikiDocumentation" web="%SYSTEMWEB%" title="Contents:"}%`
- Example: see TWiki:Sandbox.TestTopicInclude
- %T% Hint: TOC will generate links to the headings, so when a reader clicks on a heading it will jump straight where that heading is anchored in the text. If you have two headings with exactly the same text, then their anchors will also be identical and they won't be able to jump to them. To make the anchors unique, you can add an invisible HTML comment to the text of the heading. This will be hidden in normal view, but will force the anchors to be different. For example, `---+ Heading <!--5-->`.
-- Related: [[TOC|Main/WebHome#VarTOC]]
+- Related: [[TOC|Main/VarTOC]]