|Version 11 (modified by anonymous, 8 years ago) (diff)|
This Macro allows you declare and use pagewide variables as shown in the examples below (more will be added soon, after I tested some more).
I tested it with trac 0.10, it should also work with 0.9 and 0.8.
The 0.11 version is not working yet.
If you have any issues, create a new ticket.
Download the zipped source from [download:pagevariablemacro here].
[[PageVariable(milestone,Proj5M3)]] Our current milestone is [[Variable(milestone)]] ... In milestone [[PageVariable(milestone)]] we will ...
This will show up as:
Our current milestone is Proj5M3 ... In milestone Proj5M3 we will ...
- 3448 by pmonnaie on 2008-04-02 21:09:47
The other part of the macro to set the variable
- 3447 by pmonnaie on 2008-04-02 21:07:10
Split into 2 macros, this is the one to get the variable (and possibly
place it into some text or other macro)
- 3441 by pmonnaie on 2008-04-01 22:37:56
better, but still not working :(
- 3440 by pmonnaie on 2008-04-01 22:29:15
- 3439 by pmonnaie on 2008-04-01 22:28:45