Difference between revisions of "Template:Day/are n days"

From blackwiki
Jump to navigation Jump to search
imported>Jimp
imported>Jimp
Line 1: Line 1:
<includeonly>{{#ifexpr:{{{1}}}<10|{{numtext|{{{1}}}|ord=on}}|{{ordinal|{{{1}}}}}}} day of the year in the [[Gregorian calendar]]. There are {{#expr:364-{{{1}}}}} days remaining until the end of the year ({{#expr:365-{{{1}}}}} in [[leap year]]s).</includeonly>
+
<includeonly>{{#ifeq:{{{1}}}<10|{{#switch:{{{1}}}|0=are no days|1=is one day|are {{numtext|{{{1}}}}}}}|are {{{1}}} days}}</includeonly>

Revision as of 07:13, 3 July 2009