Template:Current release: Difference between revisions
Jump to navigation
Jump to search
Red Leader (talk | contribs) (Update) |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{{1|}}} | <includeonly>{{#switch: {{{1|}}} | ||
| cr = 2016.3 | | cr = 2016.{{#expr: {{CURRENTMONTH}} div 3}} | ||
| crd = 17 September 2016 | | crd = 17 September 2016 | ||
| nr = 2016.4 | | nr = 2016.4 | ||
Line 18: | Line 18: | ||
== Usage == | == Usage == | ||
{{obr}}'''current release'''{{!}}data{{cbr}} | {{obr}}'''current release'''{{!}}data{{cbr}} | ||
Example: | |||
{{Current release|cr}} | |||
; 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: |
Revision as of 17:44, 15 September 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}}
Example: 2016.1.3333333333333
- 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
Related template
- {{GitStatus}}