Template:Current release: Difference between revisions
Jump to navigation
Jump to search
Red Leader (talk | contribs) (Template for easing updates to Template:GitStatus) |
m (Back to the future (2018 2019)) |
||
(34 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{{1|}}} | <includeonly>{{#switch: {{{1|}}} | ||
| cr = 2018.3 | |||
| crd = 09 Dec 2018 | |||
| nr = 2019.1 | |||
| nrd = a few<!--<daysuntil>06 February 2019</daysuntil>--> | |||
}}</includeonly><noinclude>[[Category: | | full = 2018.3.1 | ||
| fulldate = 09 December 2018 | |||
| #default = {{error|No argument given|current release}} | |||
}}</includeonly><noinclude> | |||
{{Informative template|1= | |||
== Goal == | |||
This template is used internally by {{tl|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 == | |||
{{obr}}'''current release'''{{!}}data{{cbr}} | |||
; 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 == | |||
{{obr}}current release{{!}}cr{{cbr}} | |||
{{current release|cr}} | |||
== Related template == | |||
* {{tl|GitStatus}} | |||
== See also == | |||
* [[Release plan]] | |||
}} | |||
[[Category:Git templates]] | |||
</noinclude> |
Revision as of 15:13, 19 March 2019
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}}
2018.3
Related template
- {{GitStatus}}