Difference between revisions of "Template:CurrentDate"
Jump to navigation
Jump to search
37thchamber (talk | contribs) (Created page with "<includeonly>{{CurrentDate/dd}} {{#switch: {{CurrentDate/mm}} | 1 = January | 2 = February | 3 = March | 4 = April | 5 = May | 6 = June | 7 = July | 8 = A...") |
37thchamber (talk | contribs) m |
||
(3 intermediate revisions by the same user not shown) | |||
Line 13: | Line 13: | ||
| 12 = December | | 12 = December | ||
| MONTH }}, {{CurrentDate/yy}}</includeonly> | | MONTH }}, {{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 34: | Line 38: | ||
| yyyy | | yyyy | ||
| {{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 |