Difference between revisions of "Template:Current release"

From FlightGear wiki
Jump to: navigation, search
(Update in meantime while waiting for new release)
(Update)
Line 1: Line 1:
 
<includeonly>{{#switch: {{{1|}}}
 
<includeonly>{{#switch: {{{1|}}}
| cr = 2017.2
+
| cr = 2017.3
| crd = 22 May 2017
+
| crd = 20 September 2017
| nr = 2017.3
+
| nr = 2017.4
| nrd = <daysuntil>1 September 2017</daysuntil>
+
| nrd = <daysuntil>17 November 2017</daysuntil>
  
| full = 2017.2.1
+
| full = 2017.3.1
| fulldate = 22 May 2017
+
| fulldate = 20 September 2017
  
 
| #default = {{error|No argument given|current release}}
 
| #default = {{error|No argument given|current release}}

Revision as of 07:30, 3 November 2017


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:

  1. the current release
  2. the release date of the current release
  3. the next release
  4. the number of days until the next release.
  5. 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.2

Related template

See also