Template:MONTHNAME/doc

From WikiGenius
Revision as of 14:47, 19 July 2023 by Parvej Husen Talukder (talk | contribs) (Created page with "<noinclude>{{Documentation subpage}}</noinclude> 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<nowiki>:</nowiki> : <tt><nowiki>{{</nowiki>MONTHNAME<nowiki>|</nowiki></tt>''month''<tt>}}</tt> * The ''month'' value is interpreted modulo 12 (extra leading zeroes and decimals are ignored). ; Compatibility synonym<nowiki>:</nowiki> : <tt><nowiki>{{...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a template documentation subpage for Template:MONTHNAME.
It contains usage information, categories, interlanguage links and other content that is not part of the original template page.

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:
{{monthname|month}}
{{month name|month}}
Examples for all standard month numbers:
{{MONTHNAME|1}} returns Incorrect required parameter 1=month!
{{MONTHNAME|2}} returns Incorrect required parameter 1=month!
{{MONTHNAME|3}} returns Incorrect required parameter 1=month!
{{MONTHNAME|4}} returns Incorrect required parameter 1=month!
{{MONTHNAME|5}} returns Incorrect required parameter 1=month!
{{MONTHNAME|6}} returns Incorrect required parameter 1=month!
{{MONTHNAME|7}} returns Incorrect required parameter 1=month!
{{MONTHNAME|8}} returns Incorrect required parameter 1=month!
{{MONTHNAME|9}} returns Incorrect required parameter 1=month!
{{MONTHNAME|10}} returns Incorrect required parameter 1=month!
{{MONTHNAME|11}} returns Incorrect required parameter 1=month!
{{MONTHNAME|12}} returns Incorrect required parameter 1=month!
Examples for month numbers with extra leading zero:
{{MONTHNAME|01}} returns Incorrect required parameter 1=month!
{{MONTHNAME|02}} returns Incorrect required parameter 1=month!
{{MONTHNAME|03}} returns Incorrect required parameter 1=month!
{{MONTHNAME|04}} returns Incorrect required parameter 1=month!
{{MONTHNAME|05}} returns Incorrect required parameter 1=month!
{{MONTHNAME|06}} returns Incorrect required parameter 1=month!
{{MONTHNAME|07}} returns Incorrect required parameter 1=month!
{{MONTHNAME|08}} returns Incorrect required parameter 1=month!
{{MONTHNAME|09}} returns Incorrect required parameter 1=month!
Examples for month number cyclic underflows and overflows, from computed values:
{{MONTHNAME|-12}} returns Incorrect required parameter 1=month!
{{MONTHNAME|-11}} returns Incorrect required parameter 1=month!
{{MONTHNAME|-10}} returns Incorrect required parameter 1=month!
{{MONTHNAME|-9}} returns Incorrect required parameter 1=month!
{{MONTHNAME|-3}} returns Incorrect required parameter 1=month!
{{MONTHNAME|-2}} returns Incorrect required parameter 1=month!
{{MONTHNAME|-1}} returns Incorrect required parameter 1=month!
{{MONTHNAME|0}} returns Incorrect required parameter 1=month!
{{MONTHNAME|13}} returns Incorrect required parameter 1=month!
{{MONTHNAME|14}} returns Incorrect required parameter 1=month!
{{MONTHNAME|15}} returns Incorrect required parameter 1=month!
{{MONTHNAME|16}} returns Incorrect required parameter 1=month!
{{MONTHNAME|23}} returns Incorrect required parameter 1=month!
{{MONTHNAME|24}} returns Incorrect required parameter 1=month!
{{MONTHNAME|25}} returns Incorrect required parameter 1=month!
{{MONTHNAME|1200}} returns Incorrect required parameter 1=month!
{{MONTHNAME|1201}} returns Incorrect required parameter 1=month!
{{MONTHNAME|1212}} returns Incorrect required parameter 1=month!
Examples for all standard English month names:
{{MONTHNAME|JANUARY}} returns Incorrect required parameter 1=month!
{{MONTHNAME|FEBRUARY}} returns Incorrect required parameter 1=month!
{{MONTHNAME|MARCH}} returns Incorrect required parameter 1=month!
{{MONTHNAME|APRIL}} returns Incorrect required parameter 1=month!
{{MONTHNAME|MAY}} returns Incorrect required parameter 1=month!
{{MONTHNAME|JUNE}} returns Incorrect required parameter 1=month!
{{MONTHNAME|JULY}} returns Incorrect required parameter 1=month!
{{MONTHNAME|AUGUST}} returns Incorrect required parameter 1=month!
{{MONTHNAME|SEPTEMBER}} returns Incorrect required parameter 1=month!
{{MONTHNAME|OCTOBER}} returns Incorrect required parameter 1=month!
{{MONTHNAME|NOVEMBER}} returns Incorrect required parameter 1=month!
{{MONTHNAME|DECEMBER}} returns Incorrect required parameter 1=month!
Examples for all abbreviated English month names:
{{MONTHNAME|jan}} returns Incorrect required parameter 1=month!
{{MONTHNAME|feb}} returns Incorrect required parameter 1=month!
{{MONTHNAME|mar}} returns Incorrect required parameter 1=month!
{{MONTHNAME|apr}} returns Incorrect required parameter 1=month!
{{MONTHNAME|may}} returns Incorrect required parameter 1=month!
{{MONTHNAME|jun}} returns Incorrect required parameter 1=month!
{{MONTHNAME|jul}} returns Incorrect required parameter 1=month!
{{MONTHNAME|aug}} returns Incorrect required parameter 1=month!
{{MONTHNAME|sep}} returns Incorrect required parameter 1=month!
{{MONTHNAME|oct}} returns Incorrect required parameter 1=month!
{{MONTHNAME|nov}} returns Incorrect required parameter 1=month!
{{MONTHNAME|dec}} returns Incorrect required parameter 1=month!

Dependencies[edit source]

See also[edit source]