Template:Date and time templates: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>BrandonXLF
No edit summary
Ookami (talk | contribs)
m 241 revisions imported
 
(32 intermediate revisions by 20 users not shown)
Line 1: Line 1:
<br>
{{align|left|[{{edit|Template:Date and time templates}}] ''all subsections that follow:''}}<br />
{{align|left|[{{edit|Template:Date and time templates}}]}}
 
<br>
{{info|1=<big>{{#switch:{{FULLPAGENAME}}
__NOTOC__
|Template:Date and time templates=These templates do '''not''' put a working clock on your page.
===== Multiple units of time =====
|#default=This template does '''not''' put a working clock on your page.}}</big> The clock will '''not''' update the time on your screen every minute. Instead, it records the date and time that the page was most recently edited or [[WP:PURGE|purge]]d.<br />
<small>If you want a clock that constantly updates, then go to [[Special:Preferences#mw-prefsection-gadgets]] and enable the Appearance item, "Add a clock to the personal toolbar that displays the current time in UTC and provides a link to purge the current page".</small>}}
 
=== Multiple units of time ===
{| class="wikitable"
{| class="wikitable"
|+
|+
Line 12: Line 15:
!Next
!Next
|-
|-
|Date and Time
|Date and time
|{{tl|time}}<br>{{tl|Localtime}}
|{{tl|time}}
|{{tl|Currentdate}} (MDY)<br>{{tl|Plain now}} (DMY)<br>{{tl|Now}} (Plan now in as sentence)
|{{tl|Currentdate}} (MDY)<br>{{tl|Plain now}} (DMY)<br>{{tl|Now}} (DMY in a complete sentence)<br>{{tl|Simple now}}
|
|
|
|
|-
|-
|Date Only
|Date only
|{{tl|Datetimezone}}<br>{{tl|Datedow}}<br>(Has the day of the week)
|{{tl|Dateonly}}<br>{{tl|Datedow}}<br>(Has the day of the week)
|{{tl|Date}} (Chose format)<br>{{tl|DATE}} (prefixed by date=)<br>{{tl|TODAY}} (DMY)
|{{tl|Date}} (Chose format)<br>{{tl|DATE}} (prefixed by date=)<br>{{tl|TODAY}} (DMY)
|{{tl|Yesterday}}<br>{{tl|Day-1}}
|{{tl|Yesterday}}<br>{{tl|Day-1}}
|{{tl|Tomorrow}}<br>{{tl|Day+1}}
|{{tl|Tomorrow}}<br>{{tl|Day+1}}
|-
|-
|Time only
|Time only
|{{tl|TIMEONLY}}  
|{{tl|Timeonly}}
|{{tl|CURRENTTIME}} (12 h format)<br>{{tl|CURRENTTIME24}} (24 h format)
|{{tl|CURRENTTIME}} (12 h format)<br>{{tl|CURRENTTIME24}} (24 h format)
|
|
Line 32: Line 35:
|Banners
|Banners
|
|
|{{tl|Right now}}<br>(Blue with time and number of Wikipedia articles)<br>{{tl|Right now (User message)}}<br>(Orange with time and number of Wikipedia articles
|{{tl|Right now}}<br>(Blue with time and number of Wikipedia articles)
|
|
|-
|Timestamp
|
|{{tl|Timestamp}}<br>(Format YYYYMMDDhhmmss)<br>
|
|
|
|
|}
|}
----
----


===== Single units of time =====
=== Single units of time ===
{| class="wikitable"
{| class="wikitable"
|+
|+
Line 62: Line 72:
|HOUR
|HOUR
|
|
|{{tl|Currenthour}}
|{{mwl|CURRENTHOUR}}
|{{tl|Hour-1}}
|{{tl|Hour-1}}
|{{tl|Hour+1}}
|{{tl|Hour+1}}
Line 69: Line 79:
|WEEK
|WEEK
|
|
|{{tl|CURRENTWEEKOFYEAR}}<br>{{tl|CURRENTWEEKOFMONTH}}
|{{mwl|CURRENTWEEK}}<br>{{tl|CURRENTWEEKOFMONTH}}
|
|
|
|
Line 75: Line 85:


|Day of Week
|Day of Week
|{{tl|WEEKDAYNAME}}<br>{{tl|WEEKDAYABBREV}}<br>{{tl|WEEKDAY}}
|{{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 82: 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>{{tl|CURRENTMONTHABBREV}}<br>{{tl|CURRENTMONTHNUMBER}}<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 88: Line 98:
|Day of Month
|Day of Month
|
|
|{{tl|Currentday}}
|{{mwl|CURRENTDAY}}<br>{{mwl|CURRENTDAY2}} (zero padded)
|
|
|
|
Line 94: 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 103: Line 113:
|
|
|
|
|-
|DECADE
|{{tl|DECADE}}
|{{tl|CURRENTDECADE}}
|{{tl|LASTDECADE}}
|{{tl|NEXTDECADE}}
|-
|-
|CENTURY
|CENTURY
Line 118: Line 134:


=== 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:  
{{tl|Lmonth}} {{Lmonth}}<br>{{tl|Nmonth}} {{Nmonth}}<br>{{tl|LastMonth}} {{LastMonth}}<br>{{tl|NextMonth}} {{NextMonth}}
 


----
----
{{col-begin}}
==== Individual Templates ====
{{col-break}}
*{{tl|Calendar}}
*{{tl|Calendar}}
*{{tl|Calendar clock with Wikipedia stats}}
*{{tl|Calendar clock with Wikipedia stats}}
Line 131: Line 143:
*{{tl|Digital clock}}
*{{tl|Digital clock}}
*{{tl|Digital clock and date}}
*{{tl|Digital clock and date}}
{{col-break}}
 
==== Categories of Templates ====
* [[:Category:Time, date and calendar templates]]
* [[:Category:Time, date and calendar templates]]
* [[:Category:Date-computing templates]]
* [[:Category:Date-computing templates]]
* [[:Category:Date-computing templates based on current time]]
* [[:Category:Date-computing templates based on current time]]
* [[:Category:ISO date templates]]
* [[:Category:ISO date templates]]
* [[:Category:Calendar templates]]
* [[:Category:Calendar templates]]<noinclude>
* [[:Category:Clock templates]]
{{documentation}}
{{col-end}}
 
<noinclude>
{{documentation
 
|content=
==Usage==
This template is intended to provide a consistent "See also" for templates with "date" and "now" related titles.
 
==See also==
*[[Wikipedia:Age calculation templates]]
*{{tl|Start date}}
 
[[Category:Documentation see also templates]]
}}
</noinclude>
</noinclude>

Latest revision as of 04:47, 3 September 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 2024
{{NextMonth}} produces December 2024


Individual Templates

Categories of Templates