Template:Day: Difference between revisions

m
restore original code
m (testing original source from wikipedia)
Tags: Reverted 2017 source edit
m (restore original code)
Tags: Manual revert 2017 source edit
Line 1:
<includeonly>{{short description|Day of the year}}'''{{{1|{{FULLPAGENAME}}}}}''' is the {{#switch:{{#time:z|{{{1|{{PAGENAME}}}}}}}
|0=first
|1=second
Line 12:
}} day of the year{{#ifexpr:{{#time:n|{{{1|{{PAGENAME}}}}}}}<3
|
|&#32;({{ordinal|{{#expr:{{#time:z|{{{1|{{PAGENAME}}}}}, 2000}}+1}}}} in [[leap year]]syears)
}} in the [[Gregorian calendar]].{{#switch:{{#expr:364-{{#time:z|{{{1|{{PAGENAME}}}}}, 2001}}}}
|0=.
|1=&#59;&#32;oneOne day remains until the end of the year.
|2=&#59;&#32;twoTwo days remain until the end of the year.
|3=&#59;&#32;threeThree days remain until the end of the year.
|4=&#59;&#32;fourFour days remain until the end of the year.
|5=&#59;&#32;fiveFive days remain until the end of the year.
|6=&#59;&#32;sixSix days remain until the end of the year.
|7=&#59;&#32;sevenSeven days remain until the end of the year.
|8=&#59;&#32;eightEight days remain until the end of the year.
|9=&#59;&#32;nineNine 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:365-{{#time:z|{{{1|{{PAGENAME}}}}}, 2000}}}} in [[leap year]]syears)
|
}}.
}}</includeonly><noinclude>{{Documentationdoc|{{day/doc}}}}</noinclude>