Template:MONTHNAME: Difference between revisions
m
no edit summary
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) |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{1|}}}|{{#switch:{{ | <includeonly>{{#if:{{{1|}}}|{{#switch:{{MONTHNUMBER|{{{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. | This template returns the name of the month whose number is in parameter. | ||
; Syntax<nowiki>:</nowiki> | ; Syntax<nowiki>:</nowiki> |