wiki:PageVariableMacro

Version 15 (modified by anonymous, 16 years ago) (diff)

--

PageVariableMacro

Notice: This plugin is unmaintained and available for adoption.

Description

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.

Bugs/Feature Requests

Existing bugs and feature requests for PageVariableMacro are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from [download:pagevariablemacro here].

Source

You can check out PageVariableMacro from here using Subversion, or browse the source with Trac.

Example

[[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 ...

Recent Changes

Sorry, didn't know these logs showed up :P. Will submit an update tonight that'll also give better logs. ChangeLog(pagevariablemacro,1)

Author/Contributors

Author: pmonnaie
Contributors: