Template:Current release: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
m (brainfart ...)
(Standardisation of the example documentation.)
Line 20: Line 20:
== 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:
Line 29: Line 26:
:*'''nr''': Next release
:*'''nr''': Next release
:*'''nrd''': Days until the next release
:*'''nrd''': Days until the next release
== Examples ==
{{obr}}current release{{!}}cr{{cbr}}
{{current release|cr}}


== Related template ==
== Related template ==

Revision as of 18:34, 16 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:

  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.

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

2024.1

Related template

See also