Template:Date and time templates: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
Bang , np. |
m 241 revisions imported |
||
(19 intermediate revisions by 16 users not shown) | |||
Line 1: | Line 1: | ||
{{align|left|[{{edit|Template:Date and time templates}}] ''all subsections that follow:''}}<br /> | |||
{{info|1=<big>{{#switch:{{FULLPAGENAME}} | |||
|Template:Date and time templates=These templates do '''not''' put a working clock on your page. | |||
|#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" | |||
|+ | |||
!Type | |||
!Adjustable | |||
!Current | |||
!Last | |||
!Next | |||
|- | |||
|Date and time | |||
|{{tl|time}} | |||
|{{tl|Currentdate}} (MDY)<br>{{tl|Plain now}} (DMY)<br>{{tl|Now}} (DMY in a complete sentence)<br>{{tl|Simple now}} | |||
| | |||
| | |||
|- | |||
|Date only | |||
|{{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|Yesterday}}<br>{{tl|Day-1}} | |||
|{{tl|Tomorrow}}<br>{{tl|Day+1}} | |||
|- | |||
|Time only | |||
|{{tl|Timeonly}} | |||
|{{tl|CURRENTTIME}} (12 h format)<br>{{tl|CURRENTTIME24}} (24 h format) | |||
| | |||
| | |||
|- | |||
|Banners | |||
| | |||
|{{tl|Right now}}<br>(Blue with time and number of Wikipedia articles) | |||
| | |||
| | |||
|- | |||
|Timestamp | |||
| | |||
|{{tl|Timestamp}}<br>(Format YYYYMMDDhhmmss)<br> | |||
| | |||
| | |||
|} | |||
---- | |||
=== Single units of time === | |||
{| class="wikitable" | |||
|+ | |||
!Unit of time | |||
!Adjustable | |||
!Current | |||
!Last | |||
!Next | |||
|- | |||
|SECOND | |||
| | |||
|{{tl|CURRENTSECOND}} | |||
| | |||
| | |||
|- | |||
|MINUTE | |||
| | |||
|{{tl|CURRENTMINUTE}} | |||
| | |||
| | |||
|- | |||
|HOUR | |||
| | |||
|{{mwl|CURRENTHOUR}} | |||
|{{tl|Hour-1}} | |||
|{{tl|Hour+1}} | |||
|- | |||
|WEEK | |||
| | |||
|{{mwl|CURRENTWEEK}}<br>{{tl|CURRENTWEEKOFMONTH}} | |||
| | |||
| | |||
|- | |||
|Day of Week | |||
|{{tl|Dow}} | |||
|{{mwl|CURRENTDAYNAME}}<br>{{tl|CURRENTWEEKDAYABBREV}}<br>{{tl|CURRENTWEEKDAY}} | |||
|{{tl|LASTWEEKDAYNAME}}<br>{{tl|LASTWEEKDAYABBREV}} | |||
|{{tl|NEXTWEEKDAYNAME}}<br>{{tl|NEXTWEEKDAYABBREV}} | |||
|- | |||
|MONTH | |||
|{{tl|MONTHNAME}}<br>{{tl|MONTHABBREV}}<br>{{tl|MONTHNUMBER}}<br>{{tl|MONTH}} (zero padded) | |||
|{{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|NEXTMONTH}}<br>(Can make not zero-padded)<br>{{tl|NEXTMONTHNAME}}<br>{{tl|NEXTMONTHABBR}} | |||
|- | |||
|Day of Month | |||
| | |||
|{{mwl|CURRENTDAY}}<br>{{mwl|CURRENTDAY2}} (zero padded) | |||
| | |||
| | |||
|- | |||
|YEAR | |||
| | |||
|{{tl|CURRENTYEARCC}}<br>{{tl|CURRENTYEARYY}}<br>{{tl|CURRENTISOYEAR}}<br>{{mwl|CURRENTYEAR}} | |||
|{{tl|LASTYEAR}} | |||
|{{tl|NEXTYEAR}} | |||
|- | |||
|Day of Year | |||
| | |||
|{{tl|CURRENTDAYOFYEAR}} | |||
| | |||
| | |||
|- | |||
|DECADE | |||
|{{tl|DECADE}} | |||
|{{tl|CURRENTDECADE}} | |||
|{{tl|LASTDECADE}} | |||
|{{tl|NEXTDECADE}} | |||
|- | |||
|CENTURY | |||
|{{tl|CENTURY}} | |||
|{{tl|CURRENTCENTURY}} | |||
|{{tl|LASTCENTURY}} | |||
|{{tl|NEXTCENTURY}} | |||
|- | |||
|MILLENNIUM | |||
|{{tl|MILLENNIUM}} | |||
|{{tl|Currentmillennium}} | |||
| | |||
| | |||
|} | |||
=== 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}} | |||
---- | |||
==== Individual Templates ==== | |||
*{{tl|Calendar}} | |||
*{{tl|Calendar clock with Wikipedia stats}} | |||
*{{tl|Clock}} | |||
*{{tl|Digital clock}} | |||
*{{tl|Digital clock and date}} | |||
==== Categories of Templates ==== | |||
* [[:Category:Time, date and calendar templates]] | |||
* [[:Category:Date-computing templates]] | |||
* [[:Category:Date-computing templates based on current time]] | |||
* [[:Category:ISO date templates]] | |||
* [[:Category:Calendar templates]]<noinclude> | |||
{{documentation}} | |||
</noinclude> |
Latest revision as of 04:47, 3 September 2020
[
] all subsections that follow:
These templates do not put a working clock on your page. 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 purged. 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". |
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
Date and time Templates made for substitution:
Month:
{{Lmonth}} produces Oct
{{Nmonth}} produces Dec
{{LastMonth}} produces October 2024
{{NextMonth}} produces December 2024
Individual Templates
- {{Calendar}}
- {{Calendar clock with Wikipedia stats}}
- {{Clock}}
- {{Digital clock}}
- {{Digital clock and date}}