Difference between revisions of "Template:Day/Mar-Dec"

From blackwiki
Jump to navigation Jump to search
imported>Mufka
(remove repetitive "no days remaining" message for December 31)
imported>Jimp
(same job but eats less template limiting stuff)
 
Line 1: Line 1:
<includeonly>{{ordinal|{{{1}}}}} day of the year ({{ordinal|{{#expr:{{{1}}}+1}}}} in [[leap year]]s) in the [[Gregorian calendar]].  {{#ifeq:{{PAGENAME}}|December 31||There {{day/are n days|{{#expr:365-{{{1}}}}}}} remaining until the end of the year.}}</includeonly><noinclude>This subtemplate is called by {{tl|Day/nth day}} to give the appropriate output for months March to December.  It calls {{tl|Day/are n days}} to produce "are ''n'' days".</noinclude>
+
<includeonly>{{ordinal|{{{1}}}}} day of the year ({{ordinal|{{#expr:{{{1}}}+1}}}} in [[leap year]]s) in the [[Gregorian calendar]].  {{#ifeq:{{{1}}}|365||There {{day/are n days|{{#expr:365-{{{1}}}}}}} remaining until the end of the year.}}</includeonly><noinclude>This subtemplate is called by {{tl|Day/nth day}} to give the appropriate output for months March to December.  It calls {{tl|Day/are n days}} to produce "are ''n'' days".</noinclude>

Latest revision as of 09:20, 7 September 2009

This subtemplate is called by {{Day/nth day}} to give the appropriate output for months March to December. It calls {{Day/are n days}} to produce "are n days".