Template:Right now/doc: Difference between revisions

Jump to navigation Jump to search
 
m (1 revision imported)
 

Latest revision as of 16:05, 21 July 2022

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 (April 30, 2024) but are viewing the Commonwealth format (30 April 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

{{Right now}}
Today is Tuesday, 30 April 2024, and the current time is 11:25 (UTC/GMT). There are currently 48,211 articles.
Purge this page for a new update.
{{Right now
| collapsible = yes
| boxcolor    = gray
| bordercolor = black
| roundvalue  = 12
| textcolor   = white
}}
Right now
Today is Tuesday, 30 April 2024, and the current time is 11:25 (UTC/GMT). There are currently 48,211 articles.
Purge this page for a new update.

See also

[edit] all subsections that follow:


Multiple units of time

Type Adjustable Current Last Next
Date and Time {{time}} {{Currentdate}} (MDY)
{{Plain now}} (DMY)
{{Now}} (Plan now in as sentence)
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 Wikipedia articles)
{{Right now (User message)}}
(Orange with time and number of Wikipedia articles
Timestamp {{Timestamp}}
(Format YYYYMMDDHHMMSS)

Single units of time

Unit of time Adjustable Current Last Next
SECOND {{CURRENTSECOND}}
MINUTE {{CURRENTMINUTE}}
HOUR {{Currenthour}} {{Hour-1}} {{Hour+1}}
WEEK {{CURRENTWEEKOFYEAR}}
{{CURRENTWEEKOFMONTH}}
Day of Week {{Dow}} {{CURRENTWEEKDAYNAME}}
{{CURRENTWEEKDAYABBREV}}
{{CURRENTWEEKDAY}}
{{LASTWEEKDAYNAME}}
{{LASTWEEKDAYABBREV}}
{{NEXTWEEKDAYNAME}}
{{NEXTWEEKDAYABBREV}}
MONTH {{MONTHNAME}}
{{MONTHABBREV}}
{{MONTHNUMBER}}
{{MONTH}} (zero padded)
{{Currentmonth}}
{{CURRENTMONTHABBREV}}
{{CURRENTMONTHNUMBER}}
{{CURRENTMONTHDAYS}}
{{LASTMONTH}}
(Can make not zero-padded)
{{LASTMONTHNAME}}
{{LASTMONTHABBR}}
{{NEXTMONTH}}
(Can make not zero-padded)
{{NEXTMONTHNAME}}
{{NEXTMONTHABBR}}
Day of Month {{Currentday}}
YEAR {{CURRENTYEARCC}}
{{CURRENTYEARYY}}
{{CURRENTISOYEAR}}
{{CURRENTYEAR}}
{{LASTYEAR}} {{NEXTYEAR}}
Day of Year {{CURRENTDAYOFYEAR}}
CENTURY {{CENTURY}} {{CURRENTCENTURY}} {{LASTCENTURY}} {{NEXTCENTURY}}
MILLENNIUM {{MILLENNIUM}} {{Currentmillennium}}

Date and time Templates made for substitution:

Month:
{{Lmonth}} produces Mar
{{Nmonth}} produces May
{{LastMonth}} produces March 2024
{{NextMonth}} produces May 2024


Individual Templates

Categories of Templates