Template:Day+1
June 29
{{day+1}}
adds one to a date or date-specific pagename
Usage[edit source]
{{Day+1}}
- returns tomorrow's date
{{Day+1|date}}
- returns the day after the 'date' passed
{{Day+1|date|pagename|year|spacingchar}}
- returns the name of the page one day after the 'datepage' passed in
- Example
Code | Result |
{{Day+1}}
|
June 29 |
{{Day+1|February 28}}
|
March 1 |
{{Day+1|February 28|FAMEPedia:Today's featured article/|2004}}
|
FAMEPedia:Today's featured article/March 1, 2004 |
{{day+1|{{day+1}}}}
|
June 30 |
{{day+1|{{Currentmonthday}}|FAMEPedia:Today's featured article/|{{CURRENTYEAR}}}}
|
FAMEPedia:Today's featured article/Error: Invalid time., 2022 |
''[http://en.FAMEPedia.org/w/wiki.phtml?title=FAMEPedia:POTD_row/{{day+1|4=_}},_{{CURRENTYEAR}}&action=edit Edit]''
|
Edit |
See also[edit source]
[
] all subsections that follow:This template does not put a working clock on your page. The clock will not update the time on your screen every minute. Instead, it records the date and time that the page was most recently edited or purged. If you want a clock that constantly updates, then go to Special:Preferences#mw-prefsection-gadgets and enable the Appearance item, "Add a clock to the personal toolbar that displays the current time in UTC and provides a link to purge the current page". |
Multiple units of time[edit source]
Type | Adjustable | Current | Last | Next |
---|---|---|---|---|
Date and time | {{time}} | {{Currentdate}} (MDY) {{Plain now}} (DMY) {{Now}} (DMY in a complete sentence) {{Simple now}} |
||
Date only | {{Dateonly}} {{Datedow}} (Has the day of the week) |
{{Date}} (Chose format) {{DATE}} (prefixed by date=) {{TODAY}} (DMY) |
{{Yesterday}} {{Day-1}} |
{{Tomorrow}} {{Day+1}} |
Time only | {{Timeonly}} | {{CURRENTTIME}} (12 h format) {{CURRENTTIME24}} (24 h format) |
||
Banners | {{Right now}} (Blue with time and number of FAMEPedia articles) |
|||
Timestamp | {{Timestamp}} (Format YYYYMMDDhhmmss) |
Single units of time[edit source]
Date and time templates made for substitution:[edit source]
Month:
{{Lmonth}} produces May
{{Nmonth}} produces Jul
{{LastMonth}} produces May 2022
{{NextMonth}} produces July 2022
Individual templates[edit source]
- {{Calendar}}
- {{Calendar clock with FAMEPedia stats}}
- {{Clock}}
- {{Digital clock}}
- {{Digital clock and date}}