Difference between revisions of "Template:Currentdate"

From blackwiki
Jump to navigation Jump to search
imported>Pppery
(Undid revision 738015723 by Verdy p What errors? I'm not trying to force a position - until a discussion closes saying that tfd tags should be moved, they should be before according to the listing instructions)
imported>Verdy p
(abuse by Pppery (talk) look in your own history, your errors are repeated since the beginning (you never needed to change it to make them, there was no error at all before))
Line 1: Line 1:
<noinclude>{{Template for discussion/dated|page=Currentdate|link=Wikipedia:Templates for discussion/Log/2016 September 4#Template:Currentdate|type=tiny}}
+
{{{{{|safesubst:}}}CURRENTTIME}}, {{{{{|safesubst:}}}CURRENTDAYNAME}}, {{{{{|safesubst:}}}CURRENTMONTHNAME}} {{{{{|safesubst:}}}CURRENTDAY}}, {{{{{|safesubst:}}}CURRENTYEAR}} ([[UTC]])<noinclude>
</noinclude>{{{{{|safesubst:}}}CURRENTTIME}}, {{{{{|safesubst:}}}CURRENTDAYNAME}}, {{{{{|safesubst:}}}CURRENTMONTHNAME}} {{{{{|safesubst:}}}CURRENTDAY}}, {{{{{|safesubst:}}}CURRENTYEAR}} ([[UTC]])<noinclude>
+
{{Template for discussion/dated|page=Currentdate|link=Wikipedia:Templates for discussion/Log/2016 September 4#Template:Currentdate|type=tiny}}
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 07:45, 9 September 2016

19:27, Wednesday, January 14, 2026 (UTC) Template:Template for discussion/dated

Template documentation[view] [edit] [history] [purge]

Usage

{{Currentdate}}produces:
19:27, Wednesday, January 14, 2026 (UTC)

while {{Date}}produces:
14 January 2026

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}} (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 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 {{CURRENTWEEK}}
{{CURRENTWEEKOFMONTH}}
Day of Week {{Dow}} {{CURRENTDAYNAME}}
{{CURRENTWEEKDAYABBREV}}
{{CURRENTWEEKDAY}}
{{LASTWEEKDAYNAME}}
{{LASTWEEKDAYABBREV}}
{{NEXTWEEKDAYNAME}}
{{NEXTWEEKDAYABBREV}}
MONTH {{MONTHNAME}}
{{MONTHABBREV}}
{{MONTHNUMBER}}
{{MONTH}} (zero padded)
{{CURRENTMONTHNAME}}
{{CURRENTMONTHABBREV}}
{{CURRENTMONTH1}}
{{CURRENTMONTHDAYS}}
{{LASTMONTH}}
(Can make not zero-padded)
{{LASTMONTHNAME}}
{{LASTMONTHABBR}}
{{NEXTMONTH}}
(Can make not zero-padded)
{{NEXTMONTHNAME}}
{{NEXTMONTHABBR}}
Day of Month {{CURRENTDAY}}
{{CURRENTDAY2}} (zero padded)
YEAR {{CURRENTYEARCC}}
{{CURRENTYEARYY}}
{{CURRENTISOYEAR}}
{{CURRENTYEAR}}
{{LASTYEAR}} {{NEXTYEAR}}
Day of Year {{CURRENTDAYOFYEAR}}
DECADE {{DECADE}} {{CURRENTDECADE}} {{LASTDECADE}} {{NEXTDECADE}}
CENTURY {{CENTURY}} {{CURRENTCENTURY}} {{LASTCENTURY}} {{NEXTCENTURY}}
MILLENNIUM {{MILLENNIUM}} {{Currentmillennium}}

Date and time templates made for substitution:

Month:
{{Lmonth}} produces Dec
{{Nmonth}} produces Feb
{{LastMonth}} produces December 2025
{{NextMonth}} produces February 2026


Individual templates

Categories of templates