Template:Current release: Difference between revisions
Jump to navigation
Jump to search
m (this won't handle the transition from xxxx.4 to yyyy.1 in its current form (yet)) |
No edit summary |
||
(20 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{{1|}}} | <includeonly>{{#switch: {{{1|}}} | ||
| cr = | | cr = 2019.1 | ||
| crd = | | crd = 06 Feb 2019 | ||
| nr = | | nr = 2020.1 <!-- ?? --> | ||
| nrd = <daysuntil> | | nrd = <daysuntil>27 February 2020</daysuntil> <!-- ?? --> | ||
| full = 2018.1.1 | |||
| fulldate = 06 February 2019 | |||
| #default = {{error|No argument given|current release}} | | #default = {{error|No argument given|current release}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
Line 13: | Line 17: | ||
# the next release | # the next release | ||
# the number of days until the next release. | # the number of days until the next release. | ||
# the full version of the newest release and its release date | |||
This template should be updated with every new release, including bugfix releases. | This template should be updated with every new release, including bugfix releases. | ||
Line 18: | Line 23: | ||
== Usage == | == Usage == | ||
{{obr}}'''current release'''{{!}}data{{cbr}} | {{obr}}'''current release'''{{!}}data{{cbr}} | ||
; data : Dictates what data is returned. This parameter is mandatory. Value may be one of: | ; data : Dictates what data is returned. This parameter is mandatory. Value may be one of: | ||
Line 27: | Line 29: | ||
:*'''nr''': Next release | :*'''nr''': Next release | ||
:*'''nrd''': Days until the next release | :*'''nrd''': Days until the next release | ||
== Examples == | |||
{{obr}}current release{{!}}cr{{cbr}} | |||
{{current release|cr}} | |||
== Related template == | == Related template == |
Revision as of 13:39, 21 February 2020
The following template description is not displayed when the template is inserted in an article.
Goal
This template is used internally by {{GitStatus}} to display:
- the current release
- the release date of the current release
- the next release
- the number of days until the next release.
- the full version of the newest release and its release date
This template should be updated with every new release, including bugfix releases.
Usage
{{current release|data}}
- data
- Dictates what data is returned. This parameter is mandatory. Value may be one of:
- cr: Current release
- crd: Release date of current release
- nr: Next release
- nrd: Days until the next release
Examples
{{current release|cr}}
2019.1
Related template
- {{GitStatus}}