9 | | Tested it with Trac 0.10. The 0.11 version is not working yet. |
| 9 | {{{ |
| 10 | [[PageVariable(milestone, Proj5M3)]] |
| 11 | Our current milestone is [[PageVariable(milestone)]] |
| 12 | ... |
| 13 | In milestone [[PageVariable(milestone)]] we will ... |
| 14 | }}} |
| 15 | |
| 16 | This will show up as: |
| 17 | |
| 18 | {{{ |
| 19 | Our current milestone is Proj5M3 |
| 20 | ... |
| 21 | In milestone Proj5M3 we will ... |
| 22 | }}} |
| 23 | |
| 24 | Embedding variables in other macros is currently not working yet. |
| 25 | |
| 26 | Tested with Trac 0.10 and 1.+. |
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 | | }}} |
| 44 | Check out PageVariableMacro from [/svn/pagevariablemacro here] using Subversion, or [source:pagevariablemacro browse the source] with Trac. |