Difference between revisions of "Template:SpecDate"
37thchamber (talk | contribs) m |
37thchamber (talk | contribs) m (note to self for later. should let us get the date of any given game in future) |
||
Line 48: | Line 48: | ||
|2020-08-30 | |2020-08-30 | ||
|} | |} | ||
+ | |||
+ | ==Notes== | ||
+ | For consistency, it is assumed that the NSFL preseason begins on the 35th Sunday of the year. | ||
+ | |||
+ | The season progresses at a rate of one game day per Sunday from that point onward, until the end of the regular season. | ||
+ | |||
+ | This would mean that the playoffs begin on the first Sunday of the following year, with the Ultimus Bowl taking place on the fourth Sunday of the following year. | ||
</noinclude> | </noinclude> |
Revision as of 11:37, 2 July 2019
1 January, 2017
Usage
Edit the subpages for day, month, and year to maintain correct date here and in templates.
The "ref" parameter passed should be parsed by the switch function to return the correct values for day, month, and year (corresponding to the start of the referenced event or period). For example, {{SpecDate|NSFL1}} returns 4 September, 2016 as this is the corresponding start date of NSFL S1, as stored in the templates. If a reference is not passed, the template should return the equivalent of January 1st 2017 in whichever format you have called.
Where SpecDate is required, use either full form (SpecDate|ref) or the appropriate formatted version template from the table below:
Subpage | Output Format | Example |
---|---|---|
SpecDate short | dd/mm/yy | 01/01/2017 |
SpecDate dev | yyyy-mm-dd | 2017-01-01 |
Here is a list of all events available for use in the templates, and their corresponding start dates for ease of reference:
Reference | Event | Start Date |
---|---|---|
NSFL1 | 2016 (S1) | 2016-09-04 |
NSFL2 | 2017 (S2) | 2017-09-03 |
NSFL3 | 2018 (S3) | 2018-09-02 |
NSFL4 | 2019 (S4) | 2019-09-01 |
NSFL5 | 2020 (S5) | 2020-08-30 |
Notes
For consistency, it is assumed that the NSFL preseason begins on the 35th Sunday of the year.
The season progresses at a rate of one game day per Sunday from that point onward, until the end of the regular season.
This would mean that the playoffs begin on the first Sunday of the following year, with the Ultimus Bowl taking place on the fourth Sunday of the following year.