Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Day: Difference between revisions

Template page
Content added Content deleted
m (testing original source from wikipedia)
Tags: Reverted 2017 source edit
m (restore original code)
Tags: Manual revert 2017 source edit
Line 1: Line 1:
<includeonly>{{short description|Day of the year}}'''{{{1|{{FULLPAGENAME}}}}}''' is the {{#switch:{{#time:z|{{{1|{{PAGENAME}}}}}}}
<includeonly>'''{{{1|{{FULLPAGENAME}}}}}''' is the {{#switch:{{#time:z|{{{1|{{PAGENAME}}}}}}}
|0=first
|0=first
|1=second
|1=second
Line 12: Line 12:
}} day of the year{{#ifexpr:{{#time:n|{{{1|{{PAGENAME}}}}}}}<3
}} day of the year{{#ifexpr:{{#time:n|{{{1|{{PAGENAME}}}}}}}<3
|
|
|&#32;({{ordinal|{{#expr:{{#time:z|{{{1|{{PAGENAME}}}}}, 2000}}+1}}}} in [[leap year]]s)
|&#32;({{ordinal|{{#expr:{{#time:z|{{{1|{{PAGENAME}}}}}, 2000}}+1}}}} in leap years)
}} in the [[Gregorian calendar]]{{#switch:{{#expr:364-{{#time:z|{{{1|{{PAGENAME}}}}}, 2001}}}}
}} in the Gregorian calendar.{{#switch:{{#expr:364-{{#time:z|{{{1|{{PAGENAME}}}}}, 2001}}}}
|0=.
|0=
|1=&#59;&#32;one day remains until the end of the year.
|1=&#32;One day remains until the end of the year.
|2=&#59;&#32;two days remain until the end of the year.
|2=&#32;Two days remain until the end of the year.
|3=&#59;&#32;three days remain until the end of the year.
|3=&#32;Three days remain until the end of the year.
|4=&#59;&#32;four days remain until the end of the year.
|4=&#32;Four days remain until the end of the year.
|5=&#59;&#32;five days remain until the end of the year.
|5=&#32;Five days remain until the end of the year.
|6=&#59;&#32;six days remain until the end of the year.
|6=&#32;Six days remain until the end of the year.
|7=&#59;&#32;seven days remain until the end of the year.
|7=&#32;Seven days remain until the end of the year.
|8=&#59;&#32;eight days remain until the end of the year.
|8=&#32;Eight days remain until the end of the year.
|9=&#59;&#32;nine days remain until the end of the year.
|9=&#32;Nine days remain until the end of the year.
|&#59;&#32; {{#expr:364-{{#time:z|{{{1|{{PAGENAME}}}}}, 2001}}}} days remain until the end of the year{{#ifexpr:{{#time:n|{{{1|{{PAGENAME}}}}}}}<3
|&#32; {{#expr:364-{{#time:z|{{{1|{{PAGENAME}}}}}, 2001}}}} days remain until the end of the year{{#ifexpr:{{#time:n|{{{1|{{PAGENAME}}}}}}}<3
|&#32;({{#expr:365-{{#time:z|{{{1|{{PAGENAME}}}}}, 2000}}}} in [[leap year]]s)
|&#32;({{#expr:365-{{#time:z|{{{1|{{PAGENAME}}}}}, 2000}}}} in leap years)
|
|
}}.
}}.
}}</includeonly><noinclude>{{Documentation}}</noinclude>
}}</includeonly><noinclude>{{doc|{{day/doc}}}}</noinclude>

Revision as of 16:00, 25 June 2023

Template documentation

{{Day}} is the article lead for the pages 1 January through 31 December, but is not used on 29 February. 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.

The above documentation is transcluded from Template:Day/doc.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.