Template:Current release: Difference between revisions
Jump to navigation
Jump to search
m (added "floor" operator to round down 2016.3.33333333 to 2016.3 and 2016.4.333333333 to 2016.4) |
Red Leader (talk | contribs) (Convert m) |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{{1|}}} | <includeonly>{{#switch: {{{1|}}} | ||
| cr = 2016.4 | |||
| cr = | | crd = 19 November 2016 | ||
| crd = | | nr = 2017.1 | ||
| nrd = <daysuntil>17 February 2017</daysuntil> | |||
| nr = | |||
| nrd = <daysuntil>17 | |||
| #default = {{error|No argument given|current release}} | | #default = {{error|No argument given|current release}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> |
Revision as of 12:29, 20 November 2016
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.
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}}
2016.4
Related template
- {{GitStatus}}