Changes between Version 3 and Version 4 of WikiTipsAndTricks


Ignore:
Timestamp:
2009-08-22T11:26:56+02:00 (15 years ago)
Author:
Morris Swertz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiTipsAndTricks

    v3 v4  
    11[[TOC]]
    22
    3 == Create a table of contents ==
     3== Generate a table of contents ==
     4See http://trac-hacks.org/wiki/TocMacro
    45
    5 Using http://trac-hacks.org/wiki/TocMacro
     6The TocMacro generates a table of contents for the current page or a set of pages.
    67
    78If no arguments are given, a table of contents is generated for the current page, with the top-level title stripped:
    8 
    99
    1010{{{
    1111[[TOC]]
    1212}}}
     13
    1314To 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:
    1415
     16{{{
     17[[TOC(TracGuide, TracInstall, TracUpgrade, TracIni, TracAdmin, TracBackup, TracLogging,
     18TracPermissions, TracWiki, WikiFormatting, TracBrowser, TracRoadmap, TracChangeset,
     19TracTickets, TracReports, TracQuery, TracTimeline, TracRss, TracNotification)]]
     20}}}
    1521
    16 {{{
    17 [[TOC(TracGuide, TracInstall, TracUpgrade, TracIni, TracAdmin, TracBackup, TracLogging, TracPermissions, TracWiki, WikiFormatting, TracBrowser, TracRoadmap, TracChangeset, TracTickets, TracReports, TracQuery, TracTimeline, TracRss, TracNotification)]]
    18 }}}
    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]"]):
    2022
     23A wildcard '*' can be used to fetch a sorted list of all pages starting with the preceding pagename stub (Since [2801]):
    2124
    2225{{{