Templet:MONTHNAME
This template returns the name of the month whose number is in parameter. Alternatively, the English month name or abbreviation (with any letter case) can be given.
- Syntax:
- {{MONTHNAME|month}}
- The month value is interpreted modulo 12 (extra leading zeroes and decimals are ignored).
- Compatibility synonym:
- {{month name|month}}
- Examples for all standard month numbers:
- {{MONTHNAME|1}} returns Janueri
- {{MONTHNAME|2}} returns Februeri
- {{MONTHNAME|3}} returns Mas
- {{MONTHNAME|4}} returns Epril
- {{MONTHNAME|5}} returns Me
- {{MONTHNAME|6}} returns Jun
- {{MONTHNAME|7}} returns Julai
- {{MONTHNAME|8}} returns Ogas
- {{MONTHNAME|9}} returns Septemba
- {{MONTHNAME|10}} returns Oktoba
- {{MONTHNAME|11}} returns Novemba
- {{MONTHNAME|12}} returns Disemba
- Examples for month numbers with extra leading zero:
- {{MONTHNAME|01}} returns Janueri
- {{MONTHNAME|02}} returns Februeri
- {{MONTHNAME|03}} returns Mas
- {{MONTHNAME|04}} returns Epril
- {{MONTHNAME|05}} returns Me
- {{MONTHNAME|06}} returns Jun
- {{MONTHNAME|07}} returns Julai
- {{MONTHNAME|08}} returns Ogas
- {{MONTHNAME|09}} returns Septemba
- Examples for month number cyclic underflows and overflows, from computed values:
- {{MONTHNAME|-12}} returns Disemba
- {{MONTHNAME|-11}} returns Janueri
- {{MONTHNAME|-10}} returns Februeri
- {{MONTHNAME|-9}} returns Mas
- {{MONTHNAME|-3}} returns Septemba
- {{MONTHNAME|-2}} returns Oktoba
- {{MONTHNAME|-1}} returns Novemba
- {{MONTHNAME|0}} returns Disemba
- {{MONTHNAME|13}} returns Janueri
- {{MONTHNAME|14}} returns Februeri
- {{MONTHNAME|15}} returns Mas
- {{MONTHNAME|16}} returns Epril
- {{MONTHNAME|23}} returns Novemba
- {{MONTHNAME|24}} returns Disemba
- {{MONTHNAME|25}} returns Janueri
- {{MONTHNAME|1200}} returns Disemba
- {{MONTHNAME|1201}} returns Janueri
- {{MONTHNAME|1212}} returns Disemba
- Examples for all standard English month names:
- {{MONTHNAME|JANUARY}} returns Janueri
- {{MONTHNAME|FEBRUARY}} returns Februeri
- {{MONTHNAME|MARCH}} returns Mas
- {{MONTHNAME|APRIL}} returns Epril
- {{MONTHNAME|MAY}} returns Me
- {{MONTHNAME|JUNE}} returns Jun
- {{MONTHNAME|JULY}} returns Julai
- {{MONTHNAME|AUGUST}} returns Ogas
- {{MONTHNAME|SEPTEMBER}} returns Septemba
- {{MONTHNAME|OCTOBER}} returns Oktoba
- {{MONTHNAME|NOVEMBER}} returns Novemba
- {{MONTHNAME|DECEMBER}} returns Disemba
- Examples for all abbreviated English month names:
- {{MONTHNAME|jan}} returns Janueri
- {{MONTHNAME|feb}} returns Februeri
- {{MONTHNAME|mar}} returns Mas
- {{MONTHNAME|apr}} returns Epril
- {{MONTHNAME|may}} returns Me
- {{MONTHNAME|jun}} returns Jun
- {{MONTHNAME|jul}} returns Julai
- {{MONTHNAME|aug}} returns Ogas
- {{MONTHNAME|sep}} returns Septemba
- {{MONTHNAME|oct}} returns Oktoba
- {{MONTHNAME|nov}} returns Novemba
- {{MONTHNAME|dec}} returns Disemba
See also
senisim The above documentation is transcluded from Templet:MONTHNAME/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |