Difference between revisions of "Template:Day"

From blackwiki
Jump to navigation Jump to search
imported>Sezgin İbiş
m (content removed without any discussion)
imported>EEng
(Well, it wasn't discussed when it was inserted either. Anyway, WP:OR not to mention that it's idiotic nonsense trivia)
Line 5: Line 5:
 
   |3=fourth
 
   |3=fourth
 
   |4=fifth
 
   |4=fifth
   |5=sixth
+
   |5=sixth  
 
   |6=seventh
 
   |6=seventh
 
   |7=eighth
 
   |7=eighth
Line 28: Line 28:
 
     |
 
     |
 
   }}.
 
   }}.
}} {{#switch:{{#expr: ({{#time:z|{{{1|{{PAGENAME}}}}}, 2000}} {{#ifexpr:{{#time:n|{{{1|{{PAGENAME}}}}}}}<3|+1|-1}} ) mod 7 }}
 
  |0= This date is slightly more likely to fall on a Monday, Thursday or Saturday (58 in 400 years each) than on Tuesday or Wednesday (57), and slightly less likely to occur on a Friday or Sunday (56).
 
  |1= This date is slightly more likely to fall on a Tuesday, Friday or Sunday (58 in 400 years each) than on Wednesday or Thursday (57), and slightly less likely to occur on a Monday or Saturday (56).
 
  |2= This date is slightly more likely to fall on a Monday, Wednesday or Saturday (58 in 400 years each) than on Thursday or Friday (57), and slightly less likely to occur on a Tuesday or Sunday (56).
 
  |3= This date is slightly more likely to fall on a Tuesday, Thursday or Sunday (58 in 400 years each) than on Friday or Saturday (57), and slightly less likely to occur on a Monday or Wednesday (56).
 
  |4= This date is slightly more likely to fall on a Monday, Wednesday or Friday (58 in 400 years each) than on Saturday or Sunday (57), and slightly less likely to occur on a Tuesday or Thursday (56).
 
  |5= This date is slightly more likely to fall on a Tuesday, Thursday or Saturday (58 in 400 years each) than on Sunday or Monday (57), and slightly less likely to occur on a Wednesday or Friday (56).
 
  |6= This date is slightly more likely to fall on a Wednesday, Friday or Sunday (58 in 400 years each) than on Monday or Tuesday (57), and slightly less likely to occur on a Thursday or Saturday (56).
 
 
}}</includeonly><noinclude>{{Documentation}}</noinclude>
 
}}</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 15:13, 21 April 2018

Template documentation[view] [edit] [history] [purge]
Template:Subpage other

Usage

This template is the article lead for the pages January 1 through December 31, but is not used on February 29. The template is not supposed to be a countdown clock for the current year, but rather should be a consistent lead that produces the same output regardless of the current year.

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 Mar
{{Nmonth}} produces May
{{LastMonth}} produces March 2026
{{NextMonth}} produces May 2026


Individual templates

Categories of templates