Changes between Initial Version and Version 1 of WikiTipsAndTricks


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

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiTipsAndTricks

    v1 v1  
     1[[TOC]]
     2
     3= Create a table of contents =
     4
     5Using http://trac-hacks.org/wiki/TocMacro
     6
     7If no arguments are given, a table of contents is generated for the current page, with the top-level title stripped:
     8
     9
     10{{{
     11[[TOC]]
     12}}}
     13To 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:
     14
     15
     16{{{
     17[[TOC(TracGuide, TracInstall, TracUpgrade, TracIni, TracAdmin, TracBackup, TracLogging, TracPermissions, TracWiki, WikiFormatting, TracBrowser, TracRoadmap, TracChangeset, TracTickets, TracReports, TracQuery, TracTimeline, TracRss, TracNotification)]]
     18}}}
     19A 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]"]):
     20
     21
     22{{{
     23[[TOC(Trac*, WikiFormatting, WikiMacros)]]
     24}}}