|Version 2 (modified by pmonnaie, 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. I've also made a 0.11 version, but I need to get around to testing it in trac 0.11.
If you have any issues, create a new ticket.
Download the zipped source from [download:pagevariablemacro here].
[[Variable(milestone,Proj5M3)]] Our current milestone is [[Variable(milestone)]] ... In milestone [[Variable(milestone)]] we will ...
This will show up as:
Our current milestone is Proj5M3 ... In milestone Proj5M3 we will ... == Recent Changes == [[ChangeLog(pagevariablemacro, 3)]] == Author/Contributors == '''Author:''' [wiki:pmonnaie] [[BR]] '''Contributors:'''