Wiki source code of Version Macro
Version 24.8 by Vincent Massol on 2020/09/04
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
15.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 | |||
![]() |
16.1 | 3 | = Example 1 = |
4 | |||
5 | {{code}} | ||
![]() |
15.2 | 6 | {{version since='11.10.5, 12.5'}} |
![]() |
6.1 | 7 | New feature... |
8 | {{/version}} | ||
![]() |
16.1 | 9 | {{/code}} |
![]() |
11.1 | 10 | |
![]() |
16.1 | 11 | Results in: |
12 | |||
13 | {{version since='11.10.5, 12.5'}} | ||
14 | New feature... | ||
15 | {{/version}} | ||
16 | |||
17 | = Example 2 = | ||
18 | |||
19 | {{code}} | ||
![]() |
15.2 | 20 | {{version before='11.10.5, 12.5'}} |
![]() |
11.1 | 21 | New feature... |
22 | {{/version}} | ||
![]() |
16.1 | 23 | {{/code}} |
24 | |||
25 | Results in: | ||
26 | |||
27 | {{version before='11.10.5, 12.5'}} | ||
28 | New feature... | ||
29 | {{/version}} |