Difference between revisions of "Template:Date and time templates"

From blackwiki
Jump to navigation Jump to search
test>Ahecht
(use magic words)
imported>Akmaie Ajam
 
(2 intermediate revisions by 2 users not shown)
Line 72: Line 72:
 
|HOUR
 
|HOUR
 
|
 
|
|{{tl|Currenthour}}
+
|{{mwl|CURRENTHOUR}}
 
|{{tl|Hour-1}}
 
|{{tl|Hour-1}}
 
|{{tl|Hour+1}}
 
|{{tl|Hour+1}}
Line 79: Line 79:
 
|WEEK
 
|WEEK
 
|
 
|
|{{tl|CURRENTWEEKOFYEAR}}<br>{{tl|CURRENTWEEKOFMONTH}}
+
|{{mwl|CURRENTWEEK}}<br>{{tl|CURRENTWEEKOFMONTH}}
 
|
 
|
 
|
 
|
Line 86: Line 86:
 
|Day of Week
 
|Day of Week
 
|{{tl|Dow}}
 
|{{tl|Dow}}
|{{tl|CURRENTWEEKDAYNAME}}<br>{{tl|CURRENTWEEKDAYABBREV}}<br>{{tl|CURRENTWEEKDAY}}
+
|{{mwl|CURRENTDAYNAME}}<br>{{tl|CURRENTWEEKDAYABBREV}}<br>{{tl|CURRENTWEEKDAY}}
 
|{{tl|LASTWEEKDAYNAME}}<br>{{tl|LASTWEEKDAYABBREV}}
 
|{{tl|LASTWEEKDAYNAME}}<br>{{tl|LASTWEEKDAYABBREV}}
 
|{{tl|NEXTWEEKDAYNAME}}<br>{{tl|NEXTWEEKDAYABBREV}}
 
|{{tl|NEXTWEEKDAYNAME}}<br>{{tl|NEXTWEEKDAYABBREV}}
Line 92: Line 92:
 
|MONTH
 
|MONTH
 
|{{tl|MONTHNAME}}<br>{{tl|MONTHABBREV}}<br>{{tl|MONTHNUMBER}}<br>{{tl|MONTH}} (zero padded)
 
|{{tl|MONTHNAME}}<br>{{tl|MONTHABBREV}}<br>{{tl|MONTHNUMBER}}<br>{{tl|MONTH}} (zero padded)
|{{tl|Currentmonth}}<br>{{mwl|CURRENTMONTHABBREV}}<br>{{mwl|CURRENTMONTH1}}<br>{{tl|CURRENTMONTHDAYS}}
+
|{{mwl|CURRENTMONTHNAME}}<br>{{mwl|CURRENTMONTHABBREV}}<br>{{mwl|CURRENTMONTH1}}<br>{{tl|CURRENTMONTHDAYS}}
 
|{{tl|LASTMONTH}}<br>(Can make not zero-padded)<br>{{tl|LASTMONTHNAME}}<br>{{tl|LASTMONTHABBR}}
 
|{{tl|LASTMONTH}}<br>(Can make not zero-padded)<br>{{tl|LASTMONTHNAME}}<br>{{tl|LASTMONTHABBR}}
 
|{{tl|NEXTMONTH}}<br>(Can make not zero-padded)<br>{{tl|NEXTMONTHNAME}}<br>{{tl|NEXTMONTHABBR}}
 
|{{tl|NEXTMONTH}}<br>(Can make not zero-padded)<br>{{tl|NEXTMONTHNAME}}<br>{{tl|NEXTMONTHABBR}}
Line 98: Line 98:
 
|Day of Month
 
|Day of Month
 
|
 
|
|{{tl|Currentday}}
+
|{{mwl|CURRENTDAY}}<br>{{mwl|CURRENTDAY2}} (zero padded)
 
|
 
|
 
|
 
|
Line 104: Line 104:
 
|YEAR
 
|YEAR
 
|
 
|
|{{tl|CURRENTYEARCC}}<br>{{tl|CURRENTYEARYY}}<br>{{tl|CURRENTISOYEAR}}<br>{{Tl|CURRENTYEAR}}
+
|{{tl|CURRENTYEARCC}}<br>{{tl|CURRENTYEARYY}}<br>{{tl|CURRENTISOYEAR}}<br>{{mwl|CURRENTYEAR}}
 
|{{tl|LASTYEAR}}
 
|{{tl|LASTYEAR}}
 
|{{tl|NEXTYEAR}}
 
|{{tl|NEXTYEAR}}
Line 133: Line 133:
 
|}
 
|}
  
=== Date and time Templates made for substitution: ===
+
=== Date and time templates made for substitution: ===
 
'''Month:'''<br>{{tl|Lmonth}} produces {{Lmonth}}<br>{{tl|Nmonth}} produces {{Nmonth}}<br>{{tl|LastMonth}} produces {{LastMonth}}<br>{{tl|NextMonth}} produces {{NextMonth}}
 
'''Month:'''<br>{{tl|Lmonth}} produces {{Lmonth}}<br>{{tl|Nmonth}} produces {{Nmonth}}<br>{{tl|LastMonth}} produces {{LastMonth}}<br>{{tl|NextMonth}} produces {{NextMonth}}
  
 
----
 
----
==== Individual Templates ====
+
==== Individual templates ====
 
*{{tl|Calendar}}
 
*{{tl|Calendar}}
 
*{{tl|Calendar clock with Wikipedia stats}}
 
*{{tl|Calendar clock with Wikipedia stats}}
Line 144: Line 144:
 
*{{tl|Digital clock and date}}
 
*{{tl|Digital clock and date}}
  
==== Categories of Templates ====
+
==== Categories of templates ====
 
* [[:Category:Time, date and calendar templates]]
 
* [[:Category:Time, date and calendar templates]]
 
* [[:Category:Date-computing templates]]
 
* [[:Category:Date-computing templates]]

Latest revision as of 16:53, 2 October 2020

[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 Oct
{{Nmonth}} produces Dec
{{LastMonth}} produces October 2025
{{NextMonth}} produces December 2025


Individual templates

Categories of templates

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

Usage

This template is intended to provide a consistent "See also" for templates with "date" and "now" related titles.

See also