Teamplaid:MONTHNAME
This template is used on a very large number of pages. To avoid large-scale disruption and unnecessary server load, any changes to this template should first be tested in its /sandbox or /testcases subpages, or in your own user space. The tested changes can then be added to this page in one single edit. Please consider discussing any changes on the talk page before implementing them. |
This template returns the Gaelic name of the month whose number is in parameter. Alternatively, the English or Gaelic month name or abbreviation (with any letter case) can be given.
Syntax
deasaich- {{MONTHNAME|month}}
- The month value is interpreted modulo 12 (extra leading zeroes and decimals are ignored).
Compatibility synonym
deasaich- {{month name|month}}
Examples for all standard month numbers
deasaich- {{MONTHNAME|1}} returns Faoilleach
- {{MONTHNAME|2}} returns Gearran
- {{MONTHNAME|3}} returns Màrt
- {{MONTHNAME|4}} returns Giblean
- {{MONTHNAME|5}} returns Céitean
- {{MONTHNAME|6}} returns Òg-mhìos
- {{MONTHNAME|7}} returns Iuchar
- {{MONTHNAME|8}} returns Lùnastal
- {{MONTHNAME|9}} returns Sultain
- {{MONTHNAME|10}} returns Dàmhair
- {{MONTHNAME|11}} returns Samhain
- {{MONTHNAME|12}} returns Dùbhlachd
Examples for month numbers with extra leading zero
deasaich- {{MONTHNAME|01}} returns Faoilleach
- {{MONTHNAME|02}} returns Gearran
- {{MONTHNAME|03}} returns Màrt
- {{MONTHNAME|04}} returns Giblean
- {{MONTHNAME|05}} returns Céitean
- {{MONTHNAME|06}} returns Òg-mhìos
- {{MONTHNAME|07}} returns Iuchar
- {{MONTHNAME|08}} returns Lùnastal
- {{MONTHNAME|09}} returns Sultain
Examples for month number cyclic underflows and overflows, from computed values
deasaich- {{MONTHNAME|-12}} returns Dùbhlachd
- {{MONTHNAME|-11}} returns Faoilleach
- {{MONTHNAME|-10}} returns Gearran
- {{MONTHNAME|-9}} returns Màrt
- {{MONTHNAME|-3}} returns Sultain
- {{MONTHNAME|-2}} returns Dàmhair
- {{MONTHNAME|-1}} returns Samhain
- {{MONTHNAME|0}} returns Dùbhlachd
- {{MONTHNAME|13}} returns Faoilleach
- {{MONTHNAME|14}} returns Gearran
- {{MONTHNAME|15}} returns Màrt
- {{MONTHNAME|16}} returns Giblean
- {{MONTHNAME|23}} returns Samhain
- {{MONTHNAME|24}} returns Dùbhlachd
- {{MONTHNAME|25}} returns Faoilleach
- {{MONTHNAME|1200}} returns Dùbhlachd
- {{MONTHNAME|1201}} returns Faoilleach
- {{MONTHNAME|1212}} returns Dùbhlachd
Examples for all definite Gaelic month names
deasaich- {{MONTHNAME|am Faoilleach}} returns Faoilleach
- {{MONTHNAME|am Faoilteach}} returns Faoilleach
- {{MONTHNAME|an Gearran}} returns Gearran
- {{MONTHNAME|am Màrt}} returns Màrt
- {{MONTHNAME|an Giblean}} returns Giblean
- {{MONTHNAME|an Cèitean}} returns Céitean
- {{MONTHNAME|an t-Òg-mhios}} returns Òg-mhìos
- {{MONTHNAME|an t-Ògmhios}} returns Òg-mhìos
- {{MONTHNAME|an t-Iuchar}} returns Iuchar
- {{MONTHNAME|an Lùnastal}} returns Lùnastal
- {{MONTHNAME|an t-Sultain}} returns Sultain
- {{MONTHNAME|an Dàmhair}} returns Dàmhair
- {{MONTHNAME|an t-Samhain}} returns Samhain
- {{MONTHNAME|an Dùbhlachd}} returns Dùbhlachd
Examples for all definite Gaelic month names (mixed cases)
deasaich- {{MONTHNAME|AM FAOILLEACH}} returns Faoilleach
- {{MONTHNAME|am faoilteach}} returns Faoilleach
- {{MONTHNAME|An Gearran}} returns Gearran
- {{MONTHNAME|Am Màrt}} returns Màrt
- {{MONTHNAME|An Giblean}} returns Giblean
- {{MONTHNAME|An Cèitean}} returns Céitean
- {{MONTHNAME|An t-Òg-mhios}} returns Òg-mhìos
- {{MONTHNAME|An t-Ògmhios}} returns Òg-mhìos
- {{MONTHNAME|An t-Iuchar}} returns Iuchar
- {{MONTHNAME|An Lùnastal}} returns Lùnastal
- {{MONTHNAME|An t-Sultain}} returns Sultain
- {{MONTHNAME|An Dàmhair}} returns Dàmhair
- {{MONTHNAME|An t-Samhain}} returns Samhain
- {{MONTHNAME|an dùbhlachd}} returns Dùbhlachd
Examples for all indefinite Gaelic month names
deasaich- {{MONTHNAME|Faoilleach}} returns Faoilleach
- {{MONTHNAME|Faoilteach}} returns Faoilleach
- {{MONTHNAME|Gearran}} returns Gearran
- {{MONTHNAME|Màrt}} returns Màrt
- {{MONTHNAME|Giblean}} returns Giblean
- {{MONTHNAME|Cèitean}} returns Céitean
- {{MONTHNAME|Òg-mhios}} returns Òg-mhìos
- {{MONTHNAME|Ògmhios}} returns Òg-mhìos
- {{MONTHNAME|Iuchar}} returns Iuchar
- {{MONTHNAME|Lùnastal}} returns Lùnastal
- {{MONTHNAME|Sultain}} returns Sultain
- {{MONTHNAME|Sultaine}} returns Sultain
- {{MONTHNAME|Dàmhair}} returns Dàmhair
- {{MONTHNAME|Samhain}} returns Samhain
- {{MONTHNAME|Dùbhlachd}} returns Dùbhlachd
Examples for all abbreviated Gaelic month names
deasaich- {{MONTHNAME|Faoi}} returns Faoilleach
- {{MONTHNAME|Gearr}} returns Gearran
- {{MONTHNAME|Gear}} returns Gearran
- {{MONTHNAME|Màr}} returns Màrt
- {{MONTHNAME|Gibl}} returns Giblean
- {{MONTHNAME|Cèit}} returns Céitean
- {{MONTHNAME|Ògmh}} returns Òg-mhìos
- {{MONTHNAME|Iuch}} returns Iuchar
- {{MONTHNAME|Lùna}} returns Lùnastal
- {{MONTHNAME|Lùn}} returns Lùnastal
- {{MONTHNAME|Sult}} returns Sultain
- {{MONTHNAME|Dàmh}} returns Dàmhair
- {{MONTHNAME|Samh}} returns Samhain
- {{MONTHNAME|Dùbh}} returns Dùbhlachd
Examples for all standard English month names
deasaich- {{MONTHNAME|JANUARY}} returns Faoilleach
- {{MONTHNAME|FEBRUARY}} returns Gearran
- {{MONTHNAME|MARCH}} returns Màrt
- {{MONTHNAME|APRIL}} returns Giblean
- {{MONTHNAME|MAY}} returns Céitean
- {{MONTHNAME|JUNE}} returns Òg-mhìos
- {{MONTHNAME|JULY}} returns Iuchar
- {{MONTHNAME|AUGUST}} returns Lùnastal
- {{MONTHNAME|SEPTEMBER}} returns Sultain
- {{MONTHNAME|OCTOBER}} returns Dàmhair
- {{MONTHNAME|NOVEMBER}} returns Samhain
- {{MONTHNAME|DECEMBER}} returns Dùbhlachd
Examples for all abbreviated English month names
deasaich- {{MONTHNAME|jan}} returns Faoilleach
- {{MONTHNAME|feb}} returns Gearran
- {{MONTHNAME|mar}} returns Màrt
- {{MONTHNAME|apr}} returns Giblean
- {{MONTHNAME|may}} returns Céitean
- {{MONTHNAME|jun}} returns Òg-mhìos
- {{MONTHNAME|jul}} returns Iuchar
- {{MONTHNAME|aug}} returns Lùnastal
- {{MONTHNAME|sep}} returns Sultain
- {{MONTHNAME|oct}} returns Dàmhair
- {{MONTHNAME|nov}} returns Samhain
- {{MONTHNAME|dec}} returns Dùbhlachd
See also
deasaichThe above documentation is transcluded from Teamplaid:MONTHNAME/documentation. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /documentation subpage. Subpages of this template. |