Difference between revisions of "Template:Current release"
From FlightGear wiki
Legoboyvdlp (Talk | contribs) |
(Update current release) |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{{1|}}} | <includeonly>{{#switch: {{{1|}}} | ||
− | | cr = 2020. | + | | cr = 2020.3 |
− | | crd = | + | | crd = 6 November 2020 |
− | | nr = | + | | nr = 2021.1 |
− | | nrd = <daysuntil> | + | | nrd = <daysuntil>1 February 2021</daysuntil> <!-- ?? --> |
− | | full = 2020 | + | | full = 2020.3.2 |
− | | fulldate = | + | | fulldate = 6 November 2020 |
| #default = {{error|No argument given|current release}} | | #default = {{error|No argument given|current release}} |
Latest revision as of 04:56, 9 November 2020
The following template description is not displayed when the template is inserted in an article.
Contents
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.
- 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
- {{GitStatus}}