This page is protected against editing.

Template:I18n month

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search


Protected This template has been protected from editing to prevent vandalism.
Please discuss changes on the talk page or request unprotection.
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:I18n month/doc.

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= }}

Template parameters

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

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}} Februar German version
{{I18n month|3|fr}}
{{I18n month|3|fr|form=gen}}
mars
mars
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}}
апрель
апреля
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}}
{{I18n month|6|ru|form=loc}}
czerwcu
červnu
июне
locative case
{{I18n month|7|pl|form=ins}}
{{I18n month|7|cs|form=ins}}
{{I18n month|7|ru|form=ins}}
lipcem
červencem
июлем
instrumental case
{{I18n month|5}}
{{I18n month|5|fi|form=gen}}
{{I18n month|5|cs|form=ins}}
{{I18n month|5|pl|form=loc}}
May
toukokuun
květnem
maju
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. leden, ledna, lednem, lednu
  2. únor, února, únorem, únoru
  3. březen, března, březnem, březnu
  4. duben, dubna, dubnem, dubnu
  5. květen, května, květnem, květnu
  6. červen, června, červnem, červnu
  7. červenec, července, červencem, červenci
  8. srpen, srpna, srpnem, srpnu
  9. září, září, zářím, září
  10. říjen, října, říjnem, říjnu
  11. listopad, listopadu, listopadem, listopadu
  12. prosinec, prosince, prosincem, prosinci

Polish months in nominative, genitive, instrumental and locative cases

  1. styczeń, stycznia, styczniem, styczniu
  2. luty, lutego, lutym, lutym
  3. marzec, marca, marcem, marcu
  4. kwiecień, kwietnia, kwietniem, kwietniu
  5. maj, maja, majem, maju
  6. czerwiec, czerwca, czerwcem, czerwcu
  7. lipiec, lipca, lipcem, lipcu
  8. sierpień, sierpnia, sierpniem, sierpniu
  9. wrzesień, września, wrześniem, wrześniu
  10. październik, października, paźdźernikiem, paźdźerniku
  11. listopad, listopada, listopadem, listopadzie
  12. grudzień, grudnia, grudniem, grudniu

Russian months in nominative, genitive, instrumental and locative cases

  1. январь, января, январём, январе
  2. февраль, февраля, февралём, феврале
  3. март, марта, мартом, марте
  4. апрель, апреля, апрелем, апреле
  5. май, мая, маем, мае
  6. июнь, июня, июнем, июне
  7. июль, июля, июлем, июле
  8. август, августа, августом, августе
  9. сентябрь, сентября, сентябрём, сентябре
  10. октябрь, октября, октябрём, октябре
  11. ноябрь, ноября, ноябрём, ноябре
  12. декабрь, декабря, декабрём, декабре