Open main menu

This templates allows to render the name of a month (specified through a number between 1 and 12) in the user's preferred language.

Usage

{{I18n month|1=|2=}}

Parameters

Parameter name Description Default value required or optional?

parameter #1 (1) number (1-12) of the month. Short (like "Jan") and full (like "January") names are also supported. empty required
parameter #2 (2) language code (only needs to be provided if the language shall be fixed and independent from the user's preferences) value of {{int:Lang}} optional
form allows to specify grammatical case for the month, for languages that use them. Possible cases:

Also Partitive (ptv), Inessive (ine), Elative (ela) and Illative (ill) cases are supported for Finnish language, in addition to Nominative and Genitive (gen).

nom optional

Additional information

The template is intended to be used in the following namespaces: the Template namespace

The template is intended to be used by the following user groups: all users

Placement:

indirectly called in templates, e.g. in {{Date}}

Examples

Code Output Notes
{{I18n month|1}} ⧼January⧽ Month name in the language of the user
{{I18n month|2|de}} {{MediaWiki:February/de }} German version
{{I18n month|3|fr}}
{{I18n month|3|fr|form=gen}}
{{MediaWiki:March/fr }}
{{MediaWiki:March-gen/fr }}
Regular and genitive case in language that do not differentiate between them results in identical output
{{I18n month|4|ru}}
{{I18n month|4|ru|form=gen}}
{{MediaWiki:April/ru }}
{{MediaWiki:April-gen/ru }}
Regular and genitive case in language that use uses different cases
{{I18n month|9}}
{{I18n month|Sep}}
{{I18n month|September}}
⧼September⧽
⧼September⧽
⧼September⧽
Alternative month specifications
{{I18n month|6|pl|form=loc}}
{{I18n month|6|cs|form=loc}}
{{MediaWiki:June-loc/pl }}
{{MediaWiki:June-loc/cs }}
locative case
{{I18n month|7|pl|form=ins}}
{{I18n month|7|cs|form=ins}}
{{MediaWiki:July-ins/pl }}
{{MediaWiki:July-ins/cs }}
instrumental case
{{I18n month|5}}
{{I18n month|5|fi|form=gen}}
{{I18n month|5|cs|form=ins}}
{{I18n month|5|pl|form=loc}}
⧼May_long⧽
{{MediaWiki:May-gen/fi }}
{{MediaWiki:May-ins/cs }}
{{MediaWiki:May-loc/pl }}
May uses different code than other months, beceause it has no separate short and long forms in English.

Czech months in nominative, genitive, instrumental and locative cases

  1. {{MediaWiki:January/cs }}, {{MediaWiki:January-gen/cs }}, {{MediaWiki:January-ins/cs }}, {{MediaWiki:January-loc/cs }}
  2. {{MediaWiki:February/cs }}, {{MediaWiki:February-gen/cs }}, {{MediaWiki:February-ins/cs }}, {{MediaWiki:February-loc/cs }}
  3. {{MediaWiki:March/cs }}, {{MediaWiki:March-gen/cs }}, {{MediaWiki:March-ins/cs }}, {{MediaWiki:March-loc/cs }}
  4. {{MediaWiki:April/cs }}, {{MediaWiki:April-gen/cs }}, {{MediaWiki:April-ins/cs }}, {{MediaWiki:April-loc/cs }}
  5. {{MediaWiki:May_long/cs }}, {{MediaWiki:May-gen/cs }}, {{MediaWiki:May-ins/cs }}, {{MediaWiki:May-loc/cs }}
  6. {{MediaWiki:June/cs }}, {{MediaWiki:June-gen/cs }}, {{MediaWiki:June-ins/cs }}, {{MediaWiki:June-loc/cs }}
  7. {{MediaWiki:July/cs }}, {{MediaWiki:July-gen/cs }}, {{MediaWiki:July-ins/cs }}, {{MediaWiki:July-loc/cs }}
  8. {{MediaWiki:August/cs }}, {{MediaWiki:August-gen/cs }}, {{MediaWiki:August-ins/cs }}, {{MediaWiki:August-loc/cs }}
  9. {{MediaWiki:September/cs }}, {{MediaWiki:September-gen/cs }}, {{MediaWiki:September-ins/cs }}, {{MediaWiki:September-loc/cs }}
  10. {{MediaWiki:October/cs }}, {{MediaWiki:October-gen/cs }}, {{MediaWiki:October-ins/cs }}, {{MediaWiki:October-loc/cs }}
  11. {{MediaWiki:November/cs }}, {{MediaWiki:November-gen/cs }}, {{MediaWiki:November-ins/cs }}, {{MediaWiki:November-loc/cs }}
  12. {{MediaWiki:December/cs }}, {{MediaWiki:December-gen/cs }}, {{MediaWiki:December-ins/cs }}, {{MediaWiki:December-loc/cs }}

Polish months in nominative, genitive, instrumental and locative cases

  1. {{MediaWiki:January/pl }}, {{MediaWiki:January-gen/pl }}, {{MediaWiki:January-ins/pl }}, {{MediaWiki:January-loc/pl }}
  2. {{MediaWiki:February/pl }}, {{MediaWiki:February-gen/pl }}, {{MediaWiki:February-ins/pl }}, {{MediaWiki:February-loc/pl }}
  3. {{MediaWiki:March/pl }}, {{MediaWiki:March-gen/pl }}, {{MediaWiki:March-ins/pl }}, {{MediaWiki:March-loc/pl }}
  4. {{MediaWiki:April/pl }}, {{MediaWiki:April-gen/pl }}, {{MediaWiki:April-ins/pl }}, {{MediaWiki:April-loc/pl }}
  5. {{MediaWiki:May_long/pl }}, {{MediaWiki:May-gen/pl }}, {{MediaWiki:May-ins/pl }}, {{MediaWiki:May-loc/pl }}
  6. {{MediaWiki:June/pl }}, {{MediaWiki:June-gen/pl }}, {{MediaWiki:June-ins/pl }}, {{MediaWiki:June-loc/pl }}
  7. {{MediaWiki:July/pl }}, {{MediaWiki:July-gen/pl }}, {{MediaWiki:July-ins/pl }}, {{MediaWiki:July-loc/pl }}
  8. {{MediaWiki:August/pl }}, {{MediaWiki:August-gen/pl }}, {{MediaWiki:August-ins/pl }}, {{MediaWiki:August-loc/pl }}
  9. {{MediaWiki:September/pl }}, {{MediaWiki:September-gen/pl }}, {{MediaWiki:September-ins/pl }}, {{MediaWiki:September-loc/pl }}
  10. {{MediaWiki:October/pl }}, {{MediaWiki:October-gen/pl }}, {{MediaWiki:October-ins/pl }}, {{MediaWiki:October-loc/pl }}
  11. {{MediaWiki:November/pl }}, {{MediaWiki:November-gen/pl }}, {{MediaWiki:November-ins/pl }}, {{MediaWiki:November-loc/pl }}
  12. {{MediaWiki:December/pl }}, {{MediaWiki:December-gen/pl }}, {{MediaWiki:December-ins/pl }}, {{MediaWiki:December-loc/pl }}