Changes between Version 51 and Version 52 of TocMacro


Ignore:
Timestamp:
Oct 26, 2016, 7:35:17 PM (8 years ago)
Author:
figaro
Comment:

Moved example to functional description

Legend:

Unmodified
Added
Removed
Modified
  • TocMacro

    v51 v52  
    11[[PageOutline(2-5,Contents,pullout)]]
    22
    3 = Table of Contents Macro
     3= Display Table of Contents
    44
    55== Description
     
    5151}}}
    5252
     53As an example of the usage of this macro:
     54
     55{{{
     56[[TOC(inline, heading=Trac Table of Contents, TracGuide, TracInstall, depth=2,
     57 TracLogging, depth=99, TracPermissions)]]
     58}}}
     59
     60On the right you can see the TOC macro version of the default !TracGuideToc macro.
     61
    5362'''Alternative:''' Trac 0.12 has the [wiki:WikiMacros#PageOutline-macro PageOutline] macro built-in, which can produce output identical to the simpler use cases for the TOC macro. For example, this is equivalent to the no-argument form of TOC:
    5463{{{
     
    91100}}}
    92101
    93 == Example
    94 
    95 {{{
    96 [[TOC(inline, heading=Trac Table of Contents, TracGuide, TracInstall, depth=2,
    97  TracLogging, depth=99, TracPermissions)]]
    98 }}}
    99 
    100 On the right you can see the TOC macro version of the default !TracGuideToc macro.
    101 
    102 == Change Log
     102== Recent changes
    103103
    104104[[ChangeLog(/tocmacro, 3)]]