Template:Right now
From Wikipedia, the free encyclopedia
Today is Sunday, 2 June 2024, and the current time is 10:30 (UTC/GMT). There are currently 6,830,289 articles. Purge this page for a new update. |
Usage
This template makes a blue box appear that includes the current time and the number of articles on Wikipedia at this moment. Put this at the top of your user page or your talk page. It is meant as a user space page header.
Note that this template adheres to the preferences of the user viewing the page. If you are comfortable with the American date format (June 2, 2024) but are viewing the Commonwealth format (2 June 2024), then you may change it by going to your preferences, and clicking on the Date and Time tab.
Syntax
{{Right now
| collapsible = <!-- yes|no -->
| boxcolor =
| bordercolor =
| roundvalue = <!-- Only works in Mozilla-compatible web browsers -->
| textcolor =
| width = <!-- Default: 100% -->
}}
Examples
More information Right now ...
{{Right now}}
|
| ||
{{Right now
| collapsible = yes
| boxcolor = gray
| bordercolor = black
| roundvalue = 12
| textcolor = white
}}
|
|
Close
See also
For the magic words with the same or similar names, see MediaWikiWiki:Help:Magic words § Date and time.
Multiple units of time
More information Type, Adjustable ...
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}} |
Month and year only | {{Monthyear}} | {{Monthyear-1}} | {{Monthyear+1}} | |
Time only | {{Timeonly}} | {{CURRENTTIME}} (12 h format) {{CURRENTTIME24}} (24 h format) |
||
Banners | {{Right now}} (Blue with time and number of Wikipedia articles) |
|||
Timestamp | {{Timestamp}} (Format YYYYMMDDhhmmss) |
Close
Single units of time
More information Unit of time, Adjustable ...
Unit of time | Adjustable | Current | Last | Next |
---|---|---|---|---|
SECOND | {{CURRENTSECOND}} | |||
MINUTE | {{CURRENTMINUTE}} | |||
HOUR | {{CURRENTHOUR}} | |||
WEEK | {{CURRENTWEEK}} {{CURRENTWEEKOFMONTH}} |
|||
Day of Week | {{DAYOFWEEK}} | {{CURRENTDAYNAME}} {{CURRENTWEEKDAYABBREV}} {{CURRENTWEEKDAY}} |
||
MONTH | {{MONTHNAME}} {{MONTHABBREV}} {{MONTHNUMBER}} {{MONTH}} (zero padded) |
{{CURRENTMONTHNAME}} {{CURRENTMONTHABBREV}} {{CURRENTMONTH1}} {{CURRENTMONTHDAYS}} |
{{LASTMONTHNAME}} | {{NEXTMONTHNAME}} |
Day of Month | {{CURRENTDAY}} {{CURRENTDAY2}} (zero padded) |
|||
YEAR | {{CURRENTYEARCC}} {{CURRENTYEARYY}} {{CURRENTISOYEAR}} {{CURRENTYEAR}} |
{{LASTYEAR}} | {{NEXTYEAR}} | |
Day of Year | {{CURRENTDAYOFYEAR}} | |||
DECADE | {{DECADE}} | {{CURRENTDECADE}} | ||
CENTURY | {{CENTURY}} | {{CURRENTCENTURY}} | ||
MILLENNIUM | {{MILLENNIUM}} |
Close
Date and time templates made for substitution:
Month:
{{Lmonth}} produces May
{{Nmonth}} produces Jul
{{LastMonth}} produces May 2024
{{NextMonth}} produces July 2024
Individual templates
- {{Calendar}}
- {{Calendar clock with Wikipedia stats}}
- {{Clock}}
- {{Digital clock}}
- {{Digital clock and date}}
Categories of templates
The above documentation is transcluded from Template:Right now/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.