Àdàkọ:MONTHNAME
Syntax
Examples
Sandbox
A sandbox has been set up so modifications to the template may be tested before being implemented in the template proper:
Template:Infobox Country/sandbox
If possible, please try to view any modifications using a variety of web browsers and on different types of computer (PC, Macintosh, etc). Thank you!
Microformat
The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. For more information about the use of microformats on Wikipedia, please see the microformat project.
hCard uses HTML classes including:
- "adr"
- "county-name"
- "fn"
- "label"
- "locality"
- "nickname"
- "note"
- "org"
- "vcard"
Please do not rename or remove these classes.
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 Oṣù Kínní
- {{MONTHNAME|2}} returns Oṣù Kejì
- {{MONTHNAME|3}} returns Oṣù Kẹta
- {{MONTHNAME|4}} returns Oṣù Kẹrin
- {{MONTHNAME|5}} returns Oṣù Kàrún
- {{MONTHNAME|6}} returns Oṣù Kẹfà
- {{MONTHNAME|7}} returns Oṣù Keje
- {{MONTHNAME|8}} returns Oṣù Kẹjọ
- {{MONTHNAME|9}} returns Oṣù Kẹ̀sán
- {{MONTHNAME|10}} returns Oṣù Kẹ̀wá
- {{MONTHNAME|11}} returns Oṣù Kọkànlá
- {{MONTHNAME|12}} returns Oṣù Kejìlá
- Examples for month numbers with extra leading zero:
- {{MONTHNAME|01}} returns Oṣù Kínní
- {{MONTHNAME|02}} returns Oṣù Kejì
- {{MONTHNAME|03}} returns Oṣù Kẹta
- {{MONTHNAME|04}} returns Oṣù Kẹrin
- {{MONTHNAME|05}} returns Oṣù Kàrún
- {{MONTHNAME|06}} returns Oṣù Kẹfà
- {{MONTHNAME|07}} returns Oṣù Keje
- {{MONTHNAME|08}} returns Oṣù Kẹjọ
- {{MONTHNAME|09}} returns Oṣù Kẹ̀sán
- Examples for month number cyclic underflows and overflows, from computed values:
- {{MONTHNAME|-12}} returns Oṣù Kejìlá
- {{MONTHNAME|-11}} returns Oṣù Kínní
- {{MONTHNAME|-10}} returns Oṣù Kejì
- {{MONTHNAME|-9}} returns Oṣù Kẹta
- {{MONTHNAME|-3}} returns Oṣù Kẹ̀sán
- {{MONTHNAME|-2}} returns Oṣù Kẹ̀wá
- {{MONTHNAME|-1}} returns Oṣù Kọkànlá
- {{MONTHNAME|0}} returns Oṣù Kejìlá
- {{MONTHNAME|13}} returns Oṣù Kínní
- {{MONTHNAME|14}} returns Oṣù Kejì
- {{MONTHNAME|15}} returns Oṣù Kẹta
- {{MONTHNAME|16}} returns Oṣù Kẹrin
- {{MONTHNAME|23}} returns Oṣù Kọkànlá
- {{MONTHNAME|24}} returns Oṣù Kejìlá
- {{MONTHNAME|25}} returns Oṣù Kínní
- {{MONTHNAME|1200}} returns Oṣù Kejìlá
- {{MONTHNAME|1201}} returns Oṣù Kínní
- {{MONTHNAME|1212}} returns Oṣù Kejìlá
- Examples for all standard English month names:
- {{MONTHNAME|JANUARY}} returns Oṣù Kínní
- {{MONTHNAME|FEBRUARY}} returns Oṣù Kejì
- {{MONTHNAME|MARCH}} returns Oṣù Kẹta
- {{MONTHNAME|APRIL}} returns Oṣù Kẹrin
- {{MONTHNAME|MAY}} returns Oṣù Kàrún
- {{MONTHNAME|JUNE}} returns Oṣù Kẹfà
- {{MONTHNAME|JULY}} returns Oṣù Keje
- {{MONTHNAME|AUGUST}} returns Oṣù Kẹjọ
- {{MONTHNAME|SEPTEMBER}} returns Oṣù Kẹ̀sán
- {{MONTHNAME|OCTOBER}} returns Oṣù Kẹ̀wá
- {{MONTHNAME|NOVEMBER}} returns Oṣù Kọkànlá
- {{MONTHNAME|DECEMBER}} returns Oṣù Kejìlá
- Examples for all abbreviated English month names:
- {{MONTHNAME|jan}} returns Oṣù Kínní
- {{MONTHNAME|feb}} returns Oṣù Kejì
- {{MONTHNAME|mar}} returns Oṣù Kẹta
- {{MONTHNAME|apr}} returns Oṣù Kẹrin
- {{MONTHNAME|may}} returns Oṣù Kàrún
- {{MONTHNAME|jun}} returns Oṣù Kẹfà
- {{MONTHNAME|jul}} returns Oṣù Keje
- {{MONTHNAME|aug}} returns Oṣù Kẹjọ
- {{MONTHNAME|sep}} returns Oṣù Kẹ̀sán
- {{MONTHNAME|oct}} returns Oṣù Kẹ̀wá
- {{MONTHNAME|nov}} returns Oṣù Kọkànlá
- {{MONTHNAME|dec}} returns Oṣù Kejìlá
- See also:
- Template:MONTHNUMBER
- Template:MONTHABBREV
The above documentation is transcluded from Àdàkọ:MONTHNAME/doc. (àtúnṣe | ìtàn) 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. |