Changes between Version 2 and Version 3 of WikiTipsAndTricks
- Timestamp:
- 2009-08-22T11:25:27+02:00 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiTipsAndTricks
v2 v3 1 = Create a table of contents = 1 [[TOC]] 2 3 == Create a table of contents == 4 2 5 Using http://trac-hacks.org/wiki/TocMacro 3 6 4 7 If no arguments are given, a table of contents is generated for the current page, with the top-level title stripped: 8 5 9 6 10 {{{ … … 9 13 To generate a table of contents for a set of pages, simply pass them as comma separated arguments to the TOC macro. This is the macro call for the table of contents visible on the right side of this page: 10 14 15 11 16 {{{ 12 17 [[TOC(TracGuide, TracInstall, TracUpgrade, TracIni, TracAdmin, TracBackup, TracLogging, TracPermissions, TracWiki, WikiFormatting, TracBrowser, TracRoadmap, TracChangeset, TracTickets, TracReports, TracQuery, TracTimeline, TracRss, TracNotification)]] … … 14 19 A wildcard '*' can be used to fetch a sorted list of all pages starting with the preceding pagename stub (Since [http://trac-hacks.org/changeset/2801 "[2801]"]): 15 20 21 16 22 {{{ 17 23 [[TOC(Trac*, WikiFormatting, WikiMacros)]] 18 24 }}} 19 20 [[TOC]]