Changes between Version 27 and Version 28 of PageVariableMacro


Ignore:
Timestamp:
Mar 8, 2017, 9:06:23 PM (3 years ago)
Author:
figaro
Comment:

Moved example to functional description

Legend:

Unmodified
Added
Removed
Modified
  • PageVariableMacro

    v27 v28  
    55== Description
    66
    7 This macro allows you to declare and use pagewide variables as shown in the examples below. Embedding variables in other macros is currently not working yet.
     7This macro allows you to declare and use pagewide variables as shown in these examples:
    88
    9 Tested it with Trac 0.10. The 0.11 version is not working yet.
     9{{{
     10[[PageVariable(milestone, Proj5M3)]]
     11Our current milestone is [[PageVariable(milestone)]]
     12...
     13In milestone [[PageVariable(milestone)]] we will ...
     14}}}
     15
     16This will show up as:
     17
     18{{{
     19Our current milestone is Proj5M3
     20...
     21In milestone Proj5M3 we will ...
     22}}}
     23
     24Embedding variables in other macros is currently not working yet.
     25
     26Tested with Trac 0.10 and 1.+.
    1027
    1128== Bugs/Feature Requests
     
    2542== Source
    2643
    27 Check out [/svn/pagevariablemacro using Subversion], or [source:pagevariablemacro browse the source] with Trac.
    28 
    29 == Example
    30 
    31 {{{
    32 [[PageVariable(milestone,Proj5M3)]]
    33 Our current milestone is [[PageVariable(milestone)]]
    34 ...
    35 In milestone [[PageVariable(milestone)]] we will ...
    36 }}}
    37 
    38 This will show up as:
    39 {{{
    40 Our current milestone is Proj5M3
    41 ...
    42 In milestone Proj5M3 we will ...
    43 }}}
     44Check out PageVariableMacro from [/svn/pagevariablemacro here] using Subversion, or [source:pagevariablemacro browse the source] with Trac.
    4445
    4546== Recent Changes