wiki:PageVariableMacro

Version 27 (modified by Ryan J Ollos, 3 years ago) (diff)

Fix incorrect example.

Declare and use variables in wiki pages

Notice: This plugin is unmaintained and available for adoption.

Description

This macro allows you to declare and use pagewide variables as shown in the examples below. Embedding variables in other macros is currently not working yet.

Tested it with Trac 0.10. 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.

enhancement

2 / 2

Download

Download the zipped source from here.

Source

Check out using Subversion, or browse the source with Trac.

Example

[[PageVariable(milestone,Proj5M3)]]
Our current milestone is [[PageVariable(milestone)]]
...
In milestone [[PageVariable(milestone)]] we will ...

This will show up as:

Our current milestone is Proj5M3
...
In milestone Proj5M3 we will ...

Recent Changes

16515 by rjollos on 2017-04-16 01:43:49
Fix indentation
16397 by rjollos on 2017-03-25 09:37:00
Remove obsolete "0.9" code
16395 by rjollos on 2017-03-25 09:25:02
Remove obsolete "0.8" directories
(more)

Author/Contributors

Author: pmonnaie
Maintainer: none (needsadoption)
Contributors: