Difference between revisions of "Template:CurrentMonthlyReport"

From the Star Citizen Wiki, the fidelity™ encyclopedia
Jump to: navigation, search

The revision slider is loading.

(Update new monthly report)
Line 1: Line 1:
 
<includeonly>{{#if:{{{1|}}}
 
<includeonly>{{#if:{{{1|}}}
 
  |{{#switch:{{lc:{{{1}}}}}
 
  |{{#switch:{{lc:{{{1}}}}}
   |link=https://robertsspaceindustries.com/comm-link/transmission/17080-Star-Citizen-Monthly-Report-April-2019
+
   |link=https://robertsspaceindustries.com/comm-link/transmission/17105-Star-Citizen-Monthly-Report-May-2019
   |month=April
+
   |month=May
 
   |year=2019
 
   |year=2019
 
  }}
 
  }}
 
}}</includeonly><noinclude>{{Documentation}}</noinclude>
 
}}</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 19:15, 11 June 2019

Template documentation (for the above template, sometimes hidden or invisible. Changes can be proposed in the talk page.)
Usage

{{CurrentMonthlyReport|<link/month/year>}}

This template is used to retrieve data of the latest monthly report. As of now it requires a manual update every week. It is also transcribed onto the Front Page to show the latest Monthly Report from Cloud Imperium Games

Example

{{CurrentMonthlyReport|link}} returns:

https://robertsspaceindustries.com/comm-link/transmission/17180-Star-Citizen-Monthly-Report-July-2019

{{CurrentMonthlyReport|month}} returns:

July

{{CurrentMonthlyReport|year}} returns:

2019

Updating the template
{{#if:{{{1|}}}
 |{{#switch:{{lc:{{{1}}}}}
  |link= <!--URL of the Monthly Report -->
  |month= <!--Month of the Monthly Report -->
  |year= <!--Year of the Monthly Report -->
 }}