Changes for page Version Macro

Last modified by Vincent Massol on 2024/03/19

<
From version < 15.2 >
edited by Vincent Massol
on 2020/08/24
To version < 16.1 >
edited by Vincent Massol
on 2020/08/26
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,9 +1,29 @@
1 1  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.
2 2  
3 += Example 1 =
4 +
5 +{{code}}
3 3  {{version since='11.10.5, 12.5'}}
4 4  New feature...
5 5  {{/version}}
9 +{{/code}}
6 6  
11 +Results in:
12 +
13 +{{version since='11.10.5, 12.5'}}
14 +New feature...
15 +{{/version}}
16 +
17 += Example 2 =
18 +
19 +{{code}}
7 7  {{version before='11.10.5, 12.5'}}
8 8  New feature...
9 9  {{/version}}
23 +{{/code}}
24 +
25 +Results in:
26 +
27 +{{version before='11.10.5, 12.5'}}
28 +New feature...
29 +{{/version}}

Get Connected