Difference between revisions of "Template:Clock/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>IN
(Create sandbox version of Template:Clock)
 
imported>Andrybak
m (sync with live template)
 
Line 3: Line 3:
 
<div style="width:100%">{{#time:l|0 hours}}</div>
 
<div style="width:100%">{{#time:l|0 hours}}</div>
 
<div style="font-size: x-large; width: 100%;"><span class="plainlinks" id="purgelink">[{{fullurl:{{FULLPAGENAME}}|action=purge}} <span style="color:black">{{#time:j|0 hours}}</span>]</span></div> <div style="width: 100%;">{{#time:F|0 hours}}</div>
 
<div style="font-size: x-large; width: 100%;"><span class="plainlinks" id="purgelink">[{{fullurl:{{FULLPAGENAME}}|action=purge}} <span style="color:black">{{#time:j|0 hours}}</span>]</span></div> <div style="width: 100%;">{{#time:F|0 hours}}</div>
<div style="background: #aaa; color: #000;">'''{{#time:g:i a|0 hours}}''' [[Coordinated Universal Time|UTC]]</div></div>
+
<div style="background: #aaa; color: #000;">'''{{#time:g:i a|0 hours}}''' [[Coordinated Universal Time|UTC]]</div></div><noinclude>
<noinclude>
+
{{Documentation}}
<br><br><br><br><br><br>
 
{{documentation|content=
 
==See also==
 
{{Calendar, clock, date and time computing templates}}
 
 
 
[[Category:Time, date and calendar templates]]
 
[[Category:Clock templates]]
 
}}
 
 
</noinclude>
 
</noinclude>

Latest revision as of 22:21, 24 March 2020

UTC date and time:
Thursday
November
1:50 am UTC
Template documentation[view] [edit] [history] [purge]

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


Individual templates

Categories of templates