Template:Date
- Аԥсшәа
- Acèh
- Afrikaans
- Alemannisch
- العربية
- الدارجة
- مصرى
- অসমীয়া
- Авар
- Azərbaycanca
- تۆرکجه
- Башҡортса
- Basa Bali
- Boarisch
- Bikol Central
- Беларуская
- Беларуская (тарашкевіца)
- Български
- বাংলা
- བོད་ཡིག
- Brezhoneg
- Bosanski
- Català
- Нохчийн
- Cebuano
- کوردی
- Corsu
- Čeština
- Чӑвашла
- Cymraeg
- Dansk
- Deutsch
- Dolnoserbski
- Kadazandusun
- Ελληνικά
- English
- Esperanto
- Español
- فارسی
- Suomi
- Føroyskt
- Français
- Arpetan
- Nordfriisk
- Galego
- ગુજરાતી
- Gungbe
- हिन्दी
- Hrvatski
- Hornjoserbsce
- Magyar
- Հայերեն
- Bahasa Indonesia
- Ilokano
- ГӀалгӀай
- Ido
- Íslenska
- Italiano
- 日本語
- Patois
- Jawa
- ქართული
- Қазақша
- ភាសាខ្មែរ
- ಕನ್ನಡ
- 한국어
- Къарачай-малкъар
- Kurdî
- Кыргызча
- Latina
- Limburgs
- Ladin
- Lietuvių
- Latviešu
- मैथिली
- Minangkabau
- Македонски
- മലയാളം
- Монгол
- ဘာသာမန်
- मराठी
- Bahasa Melayu
- Malti
- မြန်မာဘာသာ
- Эрзянь
- नेपाली
- Nederlands
- Norsk nynorsk
- Norsk
- Chi-Chewa
- Occitan
- ଓଡ଼ିଆ
- Ирон
- ਪੰਜਾਬੀ
- Pälzisch
- پښتو
- Português
- Ikirundi
- Română
- Русский
- Русиньскый
- संस्कृतम्
- Саха тыла
- Scots
- سنڌي
- Davvisámegiella
- Srpskohrvatski / српскохрватски
- တႆး
- සිංහල
- Simple English
- Slovenčina
- Slovenščina
- Soomaaliga
- Shqip
- Српски / srpski
- Sunda
- Svenska
- Kiswahili
- தமிழ்
- ತುಳು
- Тоҷикӣ
- ไทย
- ትግርኛ
- Tagalog
- Türkçe
- Татарча / tatarça
- Удмурт
- Українська
- اردو
- Oʻzbekcha / ўзбекча
- Tiếng Việt
- Volapük
- 中文
- 文言
- 閩南語 / Bân-lâm-gú
- 粵語
Gives a date in the language with a specified code (the default for that code is the result of Template:Uselang, which is en
).
Note that this translated date may have a lowercase initial (unless its first term is always capitalized, like month names in English), so that it can be used in the middle of a sentence. At start of a sentence or paragraph (but not at start of an item in an enumerated list that is part of a larger sentence), you may need to embed the template transclusion in a {{UCFIRST: }}
parser call.
Parameters
Parameter name | Description | Default value |
---|---|---|
1 | number of the year | empty |
2 | number of month in the year | empty |
3 | number of day in the month | empty |
lang 4 |
language code | language code of the user language |
form | allows to specify differing syntactic forms to apply to the date (e.g. in some Polish phrases the month must appear in genitive form instead of nominative, so you have to set form to gen) | empty |
(追記) (追記ここまで)
Examples
{{date|2009|1|9}}
→ January 9, 2009{{date|1970|2|3}}
→ February 3, 1970{{date|1970|2}}
→ February 1970{{date|1970}}
→ 1970{{date||1|9}}
→ January 9{{date||2|3}}
→ February 3{{date||2}}
→ February{{date}}
→{{date|1970|||zh}}
→ 1970年
Does not check existence, except for the month number:
{{date|2009|12|33}}
→ December 33, 2009{{date|2009|17|33}}
→ Unknown date 33, 2009
Required
Localization
The i18n-method used is branching to translations in the template itself.
See also
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Year | 1 | no description | Unknown | optional |
Month | 2 | As a number
| Number | optional |
Dumber of day in the month | 3 | no description | Unknown | optional |
4 | 4 | no description | Unknown | optional |
lang | lang | no description | Unknown | optional |
form | form | no description | Unknown | optional |
Editors can experiment in this template’s sandbox (create | mirror) and testcases (create) pages.
Please add categories to the /doc subpage. Subpages of this template.