Difference between revisions of "Template:CurrentDate"

From Sim Football Wiki
Jump to navigation Jump to search
m
 
(2 intermediate revisions by the same user not shown)
Line 13: Line 13:
 
  | 12 = December
 
  | 12 = December
 
  | MONTH }},&nbsp;{{CurrentDate/yy}}</includeonly>
 
  | MONTH }},&nbsp;{{CurrentDate/yy}}</includeonly>
==Usage==
+
<noinclude>==Usage==
 
Edit the subpages for [[Template:CurrentDate/dd|day]], [[Template:CurrentDate/mm|month]], and [[Template:CurrentDate/yy|year]] to maintain correct date here and in templates.
 
Edit the subpages for [[Template:CurrentDate/dd|day]], [[Template:CurrentDate/mm|month]], and [[Template:CurrentDate/yy|year]] to maintain correct date here and in templates.
 +
 +
Example usage: <nowiki>The current date is {{CurrentDate}}</nowiki> will return "The current date is {{CurrentDate}}"
 +
 +
Last update was to sync the IC calendar with Week {{CurrentWeek}} of Season {{CurrentSeason}}
  
 
For templates, where CurrentDate is required, use either full form (CurrentDate) or the appropriate subpage from below:
 
For templates, where CurrentDate is required, use either full form (CurrentDate) or the appropriate subpage from below:
Line 35: Line 39:
 
| {{CurrentDate/yy}}
 
| {{CurrentDate/yy}}
 
|}
 
|}
 +
</noinclude>

Latest revision as of 09:54, 15 July 2019

Usage

Edit the subpages for day, month, and year to maintain correct date here and in templates.

Example usage: The current date is {{CurrentDate}} will return "The current date is 23 May, 2066 "

Last update was to sync the IC calendar with Week Off

of Season 51

For templates, where CurrentDate is required, use either full form (CurrentDate) or the appropriate subpage from below:

Subpage Output Format Example
/dd d 23
/mm m 05
/yy yyyy 2066