Template:Date and time templates: Difference between revisions
m (→Multiple units of time: Fixing name) |
WikiDwarfBOT (talk | contribs) m (clean up, replaced: Wikipedia → Bharatpedia) |
||
Line 3: | Line 3: | ||
{{info|1=<big>{{#switch:{{FULLPAGENAME}} | {{info|1=<big>{{#switch:{{FULLPAGENAME}} | ||
|Template:Date and time templates=These templates do '''not''' put a working clock on your page. | |Template:Date and time templates=These templates do '''not''' put a working clock on your page. | ||
|#default=This template does '''not''' put a working clock on your page.}}</big> 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 [[ | |#default=This template does '''not''' put a working clock on your page.}}</big> 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 [[BP:PURGE|purge]]d.<br /> | ||
<small>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".</small>}} | <small>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".</small>}} | ||
Line 139: | Line 139: | ||
==== Individual templates ==== | ==== Individual templates ==== | ||
*{{tl|Calendar}} | *{{tl|Calendar}} | ||
*{{tl|Calendar clock with | *{{tl|Calendar clock with Bharatpedia stats}} | ||
*{{tl|Clock}} | *{{tl|Clock}} | ||
*{{tl|Digital clock}} | *{{tl|Digital clock}} |
Latest revision as of 10:30, 9 June 2021
[
] all subsections that follow:
![]() | These templates do 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
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 Bharatpedia articles) |
|||
Timestamp | {{Timestamp}} (Format YYYYMMDDhhmmss) |
Single units of time
Date and time templates made for substitution:
Month:
{{Lmonth}} produces Apr
{{Nmonth}} produces Jun
{{LastMonth}} produces April 2025
{{NextMonth}} produces June 2025
Individual templates
- {{Calendar}}
- {{Calendar clock with Bharatpedia stats}}
- {{Clock}}
- {{Digital clock}}
- {{Digital clock and date}}