Template:GetDate/doc

From Sim Football Wiki
< Template:GetDate
Revision as of 09:34, 5 July 2019 by 37thchamber (talk | contribs) (Created page with "==Usage== General usage is <nowiki>{{GetDate|Season|Week}}</nowiki>. A full list of "week" parameters is below. <nowiki>{{GetDate|3|2}}</nowiki> will return {{GetDate|3|2}},...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

General usage is {{GetDate|Season|Week}}. A full list of "week" parameters is below.

{{GetDate|3|2}} will return 2018-10-07, which is the game date for week two of the regular season, season three in ISO format (YYYY-MM-DD).

Accepted params

Param Desc Example Returns
Px Preseason week x {{GetDate|1|P1}} 2016-08-28
Px Regular season week x {{GetDate|1|10}} 2016-11-27
CC Conference championships {{GetDate|1|CC}} 2017-01-08
ConfChamps {{GetDate|1|ConfChamps}} 2017-01-08
15 Playoffs round one (or week 15) {{GetDate|1|15}} Error: Invalid time.
PO1 {{GetDate|1|PO1}} 2017-01-08
16 Pro Bowl (or week 16) {{GetDate|1|16}} Error: Invalid time.
PB {{GetDate|1|16}} Error: Invalid time.
ProBowl {{GetDate|1|ProBowl}} 2017-01-15
Pro Bowl {{GetDate|1|Pro Bowl}} 2017-01-15
17 Ultimus (or week 17) {{GetDate|1|17}} Error: Invalid time.
U {{GetDate|1|U}} 2017-01-22
Ultimus {{GetDate|1|Ultimus}} 2017-01-22
F {{GetDate|1|F}} 2017-01-22
Final {{GetDate|1|Final}} 2017-01-22