| 1 | = PageVariable = |
| 2 | |
| 3 | == Description == |
| 4 | |
| 5 | 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). |
| 6 | |
| 7 | 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. |
| 8 | |
| 9 | == Bugs/Feature Requests == |
| 10 | |
| 11 | Existing bugs and feature requests for PageVariableMacro are |
| 12 | [report:9?COMPONENT=PageVariableMacro here]. |
| 13 | |
| 14 | If you have any issues, create a |
| 15 | [http://trac-hacks.org/newticket?component=PageVariableMacro&owner=pmonnaie new ticket]. |
| 16 | |
| 17 | == Download == |
| 18 | |
| 19 | Download the zipped source from [download:pagevariablemacro here]. |
| 20 | |
| 21 | == Source == |
| 22 | |
| 23 | You can check out PageVariableMacro from [http://trac-hacks.org/svn/pagevariablemacro here] using Subversion, or [source:pagevariablemacro browse the source] with Trac. |
| 24 | |
| 25 | == Example == |
| 26 | |
| 27 | {{{ |
| 28 | [[Variable(milestone,Proj5M3)]] |
| 29 | Our current milestone is [[Variable(milestone)]] |
| 30 | ... |
| 31 | In milestone [[Variable(milestone)]] we will ... |
| 32 | }}} |
| 33 | |
| 34 | This will show up as: |
| 35 | {{{ |
| 36 | Our current milestone is Proj5M3 |
| 37 | ... |
| 38 | In milestone Proj5M3 we will ... |
| 39 | |
| 40 | == Recent Changes == |
| 41 | |
| 42 | [[ChangeLog(pagevariablemacro, 3)]] |
| 43 | |
| 44 | == Author/Contributors == |
| 45 | |
| 46 | '''Author:''' [wiki:pmonnaie] [[BR]] |
| 47 | '''Contributors:''' |