Changes

Template:MONTHNAME

11 bytes removed, 01:01, 23 April 2006
m
end of caveats when rounding negative numbers (the round operator rounds up positive halves, but rounds down negative halves), and modulo does not work correctly on négative numbers
<includeonly>{{#if:{{{1|}}}|{{#switch:{{#ifexpr:{{{1|}}}<0|{{#ifexpr:({{{1|}}} round 0)!={{{1|}}}|{{#expr: (((9.5-{{{1|}}})round 0)mod 12)+1}}|{{#expr: (((8.5-{{{1|}}})round 0)mod 12)+1}}}}|{{#expr: (((10.5+{{{1|}}})round 0)mod 12)+1}}}}|1=january|2=february|3=march|4=april|5=may|6=june|7=july|8=august|9=september|10=october|11=november|12=december|Incorrect required parameter 1=''month''!}}|Missing required parameter 1=''month''!}}</includeonly><noinclude>{{Template documentation}}
This template returns the name of the month whose number is in parameter.
; Syntax<nowiki>:</nowiki>
Anonymous user