Stampa:MONTHNAME

Nga Wikipedia, enciklopedia e lirë
Jump to navigation Jump to search
[shiko] [redakto] [historiku] [rifresko ] Documentation icon Dokumentacioni i stampës

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

See also

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 Tetor
{{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
See also:
stampa:monthname
Template:MONTHNUMBER /
Template:MONTHABBREV / shih
Template:CURRENTMONTHNAME