Table of Contents
Table of Contents Macro generates a table of contents for the page headings. Learn more
Description
The following examples use the current page structure constituted by two sections and three subsections. Learn more about structuring a page with headings on the syntax page.
Macro Table of Contents Examples
Simple Table of Contents
Table of Contents with a starting point
Table of Contents inside a box
{{toc/}}
{{/box}}
#panelheader($msg.get("xe.panels.quicklinks"))
- [DSSF 2008>DSSF2008.WebHome]
- [DCNM 2009>DCNM2009.WebHome]
- [HCCF 2010>HCCF2010.WebHome]
- [$msg.get("xe.panels.quicklinks.index")>Main.AllDocs]
- [$msg.get("xe.panels.quicklinks.sandbox")>Sandbox.WebHome]
#if ($xwiki.hasAdminRights())
<p><a href="$xwiki.getDocument("Panels.QuickLinks").getURL("inline")">$msg.get("xe.panels.edit")</a></p>
#end
#panelfooter()