Jump to content

Stampa:MONTHNAME/doc

Nga Wikipedia, enciklopedia e lirë

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 janar
{{MONTHNAME|2}} returns shkurt
{{MONTHNAME|3}} returns mars
{{MONTHNAME|4}} returns prill
{{MONTHNAME|5}} returns maj
{{MONTHNAME|6}} returns qershor
{{MONTHNAME|7}} returns korrik
{{MONTHNAME|8}} returns gusht
{{MONTHNAME|9}} returns shtator
{{MONTHNAME|10}} returns tetor
{{MONTHNAME|11}} returns nëntor
{{MONTHNAME|12}} returns dhjetor
Examples for month numbers with extra leading zero:
{{MONTHNAME|01}} returns janar
{{MONTHNAME|02}} returns shkurt
{{MONTHNAME|03}} returns mars
{{MONTHNAME|04}} returns prill
{{MONTHNAME|05}} returns maj
{{MONTHNAME|06}} returns qershor
{{MONTHNAME|07}} returns korrik
{{MONTHNAME|08}} returns gusht
{{MONTHNAME|09}} returns shtator
Examples for month number cyclic underflows and overflows, from computed values:
{{MONTHNAME|-12}} returns dhjetor
{{MONTHNAME|-11}} returns janar
{{MONTHNAME|-10}} returns shkurt
{{MONTHNAME|-9}} returns mars
{{MONTHNAME|-3}} returns shtator
{{MONTHNAME|-2}} returns tetor
{{MONTHNAME|-1}} returns nëntor
{{MONTHNAME|0}} returns dhjetor
{{MONTHNAME|13}} returns janar
{{MONTHNAME|14}} returns shkurt
{{MONTHNAME|15}} returns mars
{{MONTHNAME|16}} returns prill
{{MONTHNAME|23}} returns nëntor
{{MONTHNAME|24}} returns dhjetor
{{MONTHNAME|25}} returns janar
{{MONTHNAME|1200}} returns dhjetor
{{MONTHNAME|1201}} returns janar
{{MONTHNAME|1212}} returns dhjetor
Examples for all standard English month names:
{{MONTHNAME|JANUARY}} returns janar
{{MONTHNAME|FEBRUARY}} returns shkurt
{{MONTHNAME|MARCH}} returns mars
{{MONTHNAME|APRIL}} returns prill
{{MONTHNAME|MAY}} returns maj
{{MONTHNAME|JUNE}} returns qershor
{{MONTHNAME|JULY}} returns korrik
{{MONTHNAME|AUGUST}} returns gusht
{{MONTHNAME|SEPTEMBER}} returns shtator
{{MONTHNAME|OCTOBER}} returns tetor
{{MONTHNAME|NOVEMBER}} returns nëntor
{{MONTHNAME|DECEMBER}} returns dhjetor
Examples for all abbreviated English month names:
{{MONTHNAME|jan}} returns janar
{{MONTHNAME|feb}} returns shkurt
{{MONTHNAME|mar}} returns mars
{{MONTHNAME|apr}} returns prill
{{MONTHNAME|may}} returns maj
{{MONTHNAME|jun}} returns qershor
{{MONTHNAME|jul}} returns korrik
{{MONTHNAME|aug}} returns gusht
{{MONTHNAME|sep}} returns shtator
{{MONTHNAME|oct}} returns tetor
{{MONTHNAME|nov}} returns nëntor
{{MONTHNAME|dec}} returns dhjetor