Template:MONTHNAME
From MeritBadgeDotOrg
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 January
- {{MONTHNAME|2}} returns February
- {{MONTHNAME|3}} returns March
- {{MONTHNAME|4}} returns April
- {{MONTHNAME|5}} returns May
- {{MONTHNAME|6}} returns June
- {{MONTHNAME|7}} returns July
- {{MONTHNAME|8}} returns August
- {{MONTHNAME|9}} returns September
- {{MONTHNAME|10}} returns October
- {{MONTHNAME|11}} returns November
- {{MONTHNAME|12}} returns December
