Template:Version: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
No edit summary |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
|2.0 | |2.0 | ||
|2.1=outdated | |2.1=outdated | ||
|2.2 | |||
|2.3=supported | |||
|2.4 | |||
|3.1=current | |||
|2.5 | |||
|3.2 | |||
|3.x=upcoming | |||
|#default=unknown}}</includeonly><noinclude> | |#default=unknown}}</includeonly><noinclude> | ||
== | ==Usage== | ||
This template | This template maps, whether a certain version number exists and whether it is current, upcoming or outdated. | ||
===Arguments=== | |||
The only, unnamed and default argument of this template is the version number to be checked. | |||
==Example== | ==Example== | ||
<nowiki>{{version| | <nowiki>{{version|{{current}}}}</nowiki> | ||
delivers (as an illustrative example; [[Template:Current]] should never be employed within this template in practice; always write the version number explicitely) | delivers (as an illustrative example; [[Template:Current]] should never be employed within this template in practice; always write the version number explicitely) | ||
{{version|{{current}}}} | |||
<nowiki>{{version|0.80}}</nowiki> | <nowiki>{{version|0.80}}</nowiki> | ||
Line 30: | Line 30: | ||
delivers | delivers | ||
{| | {{version|0.80}} | ||
|} | <nowiki>{{version|1}}</nowiki> | ||
delivers | |||
{{version|1}} | |||
<nowiki>{{version|2.3}}</nowiki> | |||
delivers | |||
{{version|2.3}} | |||
<nowiki>{{version|3.x}}</nowiki> | |||
delivers | |||
{{version|3.x}} | |||
[[Category:ContentTemplate]]</noinclude> | |||
[[Category: |
Latest revision as of 13:48, 19 August 2019
Usage
This template maps, whether a certain version number exists and whether it is current, upcoming or outdated.
Arguments
The only, unnamed and default argument of this template is the version number to be checked.
Example
{{version|{{current}}}}
delivers (as an illustrative example; Template:Current should never be employed within this template in practice; always write the version number explicitely)
upcoming
{{version|0.80}}
delivers
unknown
{{version|1}}
delivers
outdated
{{version|2.3}}
delivers
supported
{{version|3.x}}
delivers
upcoming