Template:Date and time templates: Difference between revisions

 
imported>Hildeoc
test
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{align|left|[{{edit|Template:Date and time templates}}] ''all subsections that follow:''}}<br />
<noinclude>{{align|left|[{{edit|Template:Date and time templates}}] ''all subsections that follow:''}}<br />
 
{{info|1=<big>{{#switch:{{FULLPAGENAME}}
{{info|1=<big>{{#switch:{{FULLPAGENAME}}
|Template:Date and time templates=These templates do '''not''' put a working clock on your page.
|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 />
|#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>}}
<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>}}</noinclude>
 
=== Multiple units of time ===
=== Multiple units of time ===
{| class="wikitable"
{| class="wikitable"
Line 87: Line 85:
|{{tl|Dow}}
|{{tl|Dow}}
|{{mwl|CURRENTDAYNAME}}<br>{{tl|CURRENTWEEKDAYABBREV}}<br>{{tl|CURRENTWEEKDAY}}
|{{mwl|CURRENTDAYNAME}}<br>{{tl|CURRENTWEEKDAYABBREV}}<br>{{tl|CURRENTWEEKDAY}}
|{{tl|LASTWEEKDAYNAME}}<br>{{tl|LASTWEEKDAYABBREV}}
|
|{{tl|NEXTWEEKDAYNAME}}<br>{{tl|NEXTWEEKDAYABBREV}}
|
|-
|-
|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)
|{{mwl|CURRENTMONTHNAME}}<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|LASTMONTHNAME}}
|{{tl|NEXTMONTH}}<br>(Can make not zero-padded)<br>{{tl|NEXTMONTHNAME}}<br>{{tl|NEXTMONTHABBR}}
|{{tl|NEXTMONTHNAME}}
|-
|-
|Day of Month
|Day of Month
Line 117: Line 115:
|{{tl|DECADE}}
|{{tl|DECADE}}
|{{tl|CURRENTDECADE}}
|{{tl|CURRENTDECADE}}
|{{tl|LASTDECADE}}
|
|{{tl|NEXTDECADE}}
|
|-
|-
|CENTURY
|CENTURY
|{{tl|CENTURY}}
|{{tl|CENTURY}}
|{{tl|CURRENTCENTURY}}
|{{tl|CURRENTCENTURY}}
|{{tl|LASTCENTURY}}
|
|{{tl|NEXTCENTURY}}
|
|-
|-
|MILLENNIUM
|MILLENNIUM
|{{tl|MILLENNIUM}}
|{{tl|MILLENNIUM}}
|{{tl|CURRENTMILLENNIUM}}
|
|
|
|
|