Template:GitStatus: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Automatically pick the frozen status when applicable per release plan)
m (Oops, small expression error)
Line 1: Line 1:
{{ #ifexpr: ({{CURRENTMONTH}} = 6 and {{CURRENTDAY}} > 16) or ({{CURRENTMONTH}} = 7 and {{CURRENTDAY}} > 16) or ({{CURRENTMONTH}} = 12 and {{CURRENTDAY}} > 16) or {{CURRENTMONTH}} = 1 and {{CURRENTDAY}} < 17 | {{GitStatus:frozen}} | {{GitStatus:open}} }}
{{ #ifexpr: (({{CURRENTMONTH}} = 1 or {{CURRENTMONTH}} = 7) and {{CURRENTDAY}} < 17) or (({{CURRENTMONTH}} = 6 or {{CURRENTMONTH}} = 12 ) and {{CURRENTDAY}} > 16) | {{GitStatus:frozen}} | {{GitStatus:open}} }}<noinclude>
 
{{Informative template|1=
<noinclude>{{Informative template|1=
== Goal ==
== Goal ==
This template is used on the main page(s) of the wiki, to show the current status of the FlightGear Git repositories.
This template is used on the main page(s) of the wiki, to show the current status of the FlightGear Git repositories.

Revision as of 14:11, 22 December 2013

Template:GitStatus:open

The following template description is not displayed when the template is inserted in an article.

Goal

This template is used on the main page(s) of the wiki, to show the current status of the FlightGear Git repositories.

Usage

There are three different statuses. The default status is "open"; with "frozen" automatically set between 17 June-July and 17 December-January.

 {{GitStatus:open}}
 {{GitStatus:frozen}}
 {{GitStatus:closed}}