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> |
<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 |
||
| |
| |
||
| ({{ordinal|{{#expr:{{#time:z|{{{1|{{PAGENAME}}}}}, 2000}}+1}}}} in |
| ({{ordinal|{{#expr:{{#time:z|{{{1|{{PAGENAME}}}}}, 2000}}+1}}}} in leap years) |
||
}} in the |
}} in the Gregorian calendar.{{#switch:{{#expr:364-{{#time:z|{{{1|{{PAGENAME}}}}}, 2001}}}} |
||
|0= |
|0= |
||
|1= |
|1= One day remains until the end of the year. |
||
|2= |
|2= Two days remain until the end of the year. |
||
|3= |
|3= Three days remain until the end of the year. |
||
|4= |
|4= Four days remain until the end of the year. |
||
|5= |
|5= Five days remain until the end of the year. |
||
|6= |
|6= Six days remain until the end of the year. |
||
|7= |
|7= Seven days remain until the end of the year. |
||
|8= |
|8= Eight days remain until the end of the year. |
||
|9= |
|9= Nine days remain until the end of the year. |
||
| |
|  {{#expr:364-{{#time:z|{{{1|{{PAGENAME}}}}}, 2001}}}} days remain until the end of the year{{#ifexpr:{{#time:n|{{{1|{{PAGENAME}}}}}}}<3 |
||
| ({{#expr:365-{{#time:z|{{{1|{{PAGENAME}}}}}, 2000}}}} in |
| ({{#expr:365-{{#time:z|{{{1|{{PAGENAME}}}}}, 2000}}}} in leap years) |
||
| |
| |
||
}}. |
}}. |
||
}}</includeonly><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.