Template:Current release: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(update so that it shows current status, left open the fields I don't know (see https://forum.flightgear.org/viewtopic.php?f=42&t=36942&p=362100#p362077))
(Updating release info, as 2020.3.19 was released earlier today. I hope I don't mess anything up.)
 
(14 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{{1|}}}
<includeonly>{{#switch: {{{1|}}}
| cr = 2019.1
| cr = 2020.3
| crd = 06 Feb 2019
| crd = 6 November 2020
| nr = 2019.1 <!-- ?? -->
| nr = 2020.3.20
| nrd = a few<!--<daysuntil>06 February 2019</daysuntil>--> <!-- ?? -->
| nrd = <!-- {{days from now|2050|1|1}} --><!-- uncomment if date is known -->


| full = 2018.1.1
| full = 2020.3.19
| fulldate = 06 February 2019
| fulldate = 18 October 2023


| #default = {{error|No argument given|current release}}
| #default = {{error|No argument given|current release}}
Line 16: Line 16:
# the release date of the current release
# the release date of the current release
# the next release
# the next release
# the number of days until the next release.
# the number of days until the next release. Leave empty or comment if unknown
# the full version of the newest release and its release date
# the full version of the newest release and its release date



Latest revision as of 19:39, 18 October 2023


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. Leave empty or comment if unknown
  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.3

Related template

See also