Template:Current release: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#switch: {{{1|}}}
<includeonly>{{#switch: {{{1|}}}
| cr = 2020.1
| cr = 2020.1
| crd = 11 May 2020
| crd = 26 June 2020
| nr = 2020.2 <!-- ?? -->
| nr = 2020.3
| nrd = <daysuntil>31 October 2020</daysuntil> <!-- ?? -->
| nrd = <daysuntil>30 October 2020</daysuntil> <!-- ?? -->


| full = 2020.1.1
| full = 2020.1.3
| fulldate = 11 May 2020
| fulldate = 26 June 2020


| #default = {{error|No argument given|current release}}
| #default = {{error|No argument given|current release}}

Revision as of 17:09, 20 October 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:

  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}}

2020.1

Related template

See also