Template:Date and time templates: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>BrandonXLF
meta>ShakespeareFan00
Simplify by Remvoing col-begin/col-end as underlying template is broken, and uses an ugly technique
Line 3: Line 3:
<br>
<br>
__NOTOC__
__NOTOC__
===== Multiple units of time =====
== Multiple units of time ==
{| class="wikitable"
{| class="wikitable"
|+
|+
Line 25: Line 25:
|-
|-
|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 38: Line 38:
----
----


===== Single units of time =====
=== Single units of time ===
{| class="wikitable"
{| class="wikitable"
|+
|+
Line 122: Line 122:


----
----
{{col-begin}}
==== Individual Templates ====
{{col-break}}
*{{tl|Calendar}}
*{{tl|Calendar}}
*{{tl|Calendar clock with Wikipedia stats}}
*{{tl|Calendar clock with Wikipedia stats}}
Line 129: Line 128:
*{{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]]
Line 136: Line 136:
* [[:Category:Calendar templates]]
* [[:Category:Calendar templates]]
* [[:Category:Clock templates]]
* [[:Category:Clock templates]]
{{col-end}}
 


<noinclude>
<noinclude>
Line 142: Line 142:


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


==See also==
== See also ==
*[[Wikipedia:Age calculation templates]]
*[[Wikipedia:Age calculation templates]]
*{{tl|Start date}}
*{{tl|Start date}}

Revision as of 10:15, 4 August 2018



Multiple units of time

Type Adjustable Current Last Next
Date and Time {{time}}
{{Localtime}}
{{Currentdate}} (MDY)
{{Plain now}} (DMY)
{{Now}} (Plan now in as sentence)
Date Only {{Datetimezone}}
{{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)
{{Right now (User message)}}
(Orange with time and number of Wikipedia articles

Single units of time

Unit of time Adjustable Current Last Next
SECOND {{CURRENTSECOND}}
MINUTE {{CURRENTMINUTE}}
HOUR {{Currenthour}} {{Hour-1}} {{Hour+1}}
WEEK {{CURRENTWEEKOFYEAR}}
{{CURRENTWEEKOFMONTH}}
Day of Week {{WEEKDAYNAME}}
{{WEEKDAYABBREV}}
{{WEEKDAY}}
{{CURRENTWEEKDAYNAME}}
{{CURRENTWEEKDAYABBREV}}
{{CURRENTWEEKDAY}}
{{LASTWEEKDAYNAME}}
{{LASTWEEKDAYABBREV}}
{{NEXTWEEKDAYNAME}}
{{NEXTWEEKDAYABBREV}}
MONTH {{MONTHNAME}}
{{MONTHABBREV}}
{{MONTHNUMBER}}
{{MONTH}} (zero padded)
{{Currentmonth}}
{{CURRENTMONTHABBREV}}
{{CURRENTMONTHNUMBER}}
{{CURRENTMONTHDAYS}}
{{LASTMONTH}}
(Can make not zero-padded)
{{LASTMONTHNAME}}
{{LASTMONTHABBR}}
{{NEXTMONTH}}
(Can make not zero-padded)
{{NEXTMONTHNAME}}
{{NEXTMONTHABBR}}
Day of Month {{Currentday}}
YEAR {{CURRENTYEARCC}}
{{CURRENTYEARYY}}
{{CURRENTISOYEAR}}
{{CURRENTYEAR}}
{{LASTYEAR}} {{NEXTYEAR}}
Day of Year {{CURRENTDAYOFYEAR}}
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