Szablon:MONTHNAME Wyświetl historię


Documentation icon Template documentation[view] [edit] [history] [purge]

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 Styczeń
{{MONTHNAME|2}} returns Luty
{{MONTHNAME|3}} returns Marzec
{{MONTHNAME|4}} returns Kwiecień
{{MONTHNAME|5}} returns Maj
{{MONTHNAME|6}} returns Czerwiec
{{MONTHNAME|7}} returns Lipiec
{{MONTHNAME|8}} returns Sierpień
{{MONTHNAME|9}} returns Wrzesień
{{MONTHNAME|10}} returns Październik
{{MONTHNAME|11}} returns Listopad
{{MONTHNAME|12}} returns Grudzień
Examples for month numbers with extra leading zero:
{{MONTHNAME|01}} returns Styczeń
{{MONTHNAME|02}} returns Luty
{{MONTHNAME|03}} returns Marzec
{{MONTHNAME|04}} returns Kwiecień
{{MONTHNAME|05}} returns Maj
{{MONTHNAME|06}} returns Czerwiec
{{MONTHNAME|07}} returns Lipiec
{{MONTHNAME|08}} returns Sierpień
{{MONTHNAME|09}} returns Wrzesień
Examples for month number cyclic underflows and overflows, from computed values:
{{MONTHNAME|-12}} returns Grudzień
{{MONTHNAME|-11}} returns Styczeń
{{MONTHNAME|-10}} returns Luty
{{MONTHNAME|-9}} returns Marzec
{{MONTHNAME|-3}} returns Wrzesień
{{MONTHNAME|-2}} returns Październik
{{MONTHNAME|-1}} returns Listopad
{{MONTHNAME|0}} returns Grudzień
{{MONTHNAME|13}} returns Styczeń
{{MONTHNAME|14}} returns Luty
{{MONTHNAME|15}} returns Marzec
{{MONTHNAME|16}} returns Kwiecień
{{MONTHNAME|23}} returns Listopad
{{MONTHNAME|24}} returns Grudzień
{{MONTHNAME|25}} returns Styczeń
{{MONTHNAME|1200}} returns Grudzień
{{MONTHNAME|1201}} returns Styczeń
{{MONTHNAME|1212}} returns Grudzień
Examples for all standard English month names:
{{MONTHNAME|JANUARY}} returns Styczeń
{{MONTHNAME|FEBRUARY}} returns Luty
{{MONTHNAME|MARCH}} returns Marzec
{{MONTHNAME|APRIL}} returns Kwiecień
{{MONTHNAME|MAY}} returns Maj
{{MONTHNAME|JUNE}} returns Czerwiec
{{MONTHNAME|JULY}} returns Lipiec
{{MONTHNAME|AUGUST}} returns Sierpień
{{MONTHNAME|SEPTEMBER}} returns Wrzesień
{{MONTHNAME|OCTOBER}} returns Październik
{{MONTHNAME|NOVEMBER}} returns Listopad
{{MONTHNAME|DECEMBER}} returns Grudzień
Examples for all abbreviated English month names:
{{MONTHNAME|jan}} returns Styczeń
{{MONTHNAME|feb}} returns Luty
{{MONTHNAME|mar}} returns Marzec
{{MONTHNAME|apr}} returns Kwiecień
{{MONTHNAME|may}} returns Maj
{{MONTHNAME|jun}} returns Czerwiec
{{MONTHNAME|jul}} returns Lipiec
{{MONTHNAME|aug}} returns Sierpień
{{MONTHNAME|sep}} returns Wrzesień
{{MONTHNAME|oct}} returns Październik
{{MONTHNAME|nov}} returns Listopad
{{MONTHNAME|dec}} returns Grudzień

See also

The above documentation is transcluded from Szablon:MONTHNAME/doc.
Please add categories to the /doc subpage.
Subpages of this template.