Difference between revisions of "Template:Currentdate"

From blackwiki
Jump to navigation Jump to search
imported>Verdy p
((talk) your own edits shows how the code editing is cluttered, you repeatedly made edit errors !!! Keep things simpler, there's no error at all the banner remains at top before the longer doc. "subst" is a completely unrelated problem)
imported>Pppery
(Undid revision 737738710 by Verdy p (talk) As I've already said multiple times, the tfd listing instructions say the tag belongs at the very top and shouldn't be noincluded)
Line 1: Line 1:
{{{{{|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}}{{{{{|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 19:25, 4 September 2016

Template:Template for discussion/dated09:49, Saturday, January 17, 2026 (UTC)

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

Usage

{{Currentdate}}produces:
Template:Template for discussion/dated09:49, Saturday, January 17, 2026 (UTC)

while {{Date}}produces:
17 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