Template:GitStatus: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
m (we need some way to automate this ... http://sourceforge.net/p/flightgear/mailman/message/31761496/)
(Automatically pick the frozen status when applicable per release plan)
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}} }}
{{GitStatus:frozen}}
 
<!--
{{GitStatus:open}}
-->
 


<noinclude>{{Informative template|1=
<noinclude>{{Informative template|1=
Line 12: Line 6:


== Usage ==
== Usage ==
There are three different statuses:
There are three different statuses. The default status is "open"; with "frozen" automatically set between 17 June-July and 17 December-January.
<pre>
<pre>
  {{GitStatus:open}}
  {{GitStatus:open}}

Revision as of 14:05, 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}}