Version Macro

Version 17.1 by Vincent Massol on 2020/09/04

Note: This macro works only standalone (and not inline) voluntarily. This is to allow displaying the versions in the gutter for example, which wouldn't be possible if used inline.

Example 1

{{version since='11.10.5, 12.5'}}
New feature...
{{/version}}

Results in:

XWiki 11.10.5+, 12.5+ New feature...

Example 2

 

{{version before='11.10.5, 12.5'}}
New feature...
{{/version}}

Results in:

XWiki <11.10.5, <12.5 New feature...

Get Connected