Mal:MONTHNAME
Missing required parameter 1=måned!
Documentation
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).
- Examples for all standard English month names:
{{MONTHNAME|JANUARY}}returns januar{{MONTHNAME|FEBRUARY}}returns februar{{MONTHNAME|MARCH}}returns mars{{MONTHNAME|APRIL}}returns april{{MONTHNAME|MAY}}returns mai{{MONTHNAME|JUNE}}returns juni{{MONTHNAME|JULY}}returns juli{{MONTHNAME|AUGUST}}returns august{{MONTHNAME|SEPTEMBER}}returns september{{MONTHNAME|OCTOBER}}returns oktober{{MONTHNAME|NOVEMBER}}returns november{{MONTHNAME|DECEMBER}}returns desember
- Examples for all abbreviated English month names:
{{MONTHNAME|jan}}returns januar{{MONTHNAME|feb}}returns februar{{MONTHNAME|mar}}returns mars{{MONTHNAME|apr}}returns april{{MONTHNAME|may}}returns mai{{MONTHNAME|jun}}returns juni{{MONTHNAME|jul}}returns juli{{MONTHNAME|aug}}returns august{{MONTHNAME|sep}}returns september{{MONTHNAME|oct}}returns oktober{{MONTHNAME|nov}}returns november{{MONTHNAME|dec}}returns desember
- Examples for all standard month numbers:
{{MONTHNAME|1}}returns januar{{MONTHNAME|2}}returns februar{{MONTHNAME|3}}returns mars{{MONTHNAME|4}}returns april{{MONTHNAME|5}}returns mai{{MONTHNAME|6}}returns juni{{MONTHNAME|7}}returns juli{{MONTHNAME|8}}returns august{{MONTHNAME|9}}returns september{{MONTHNAME|10}}returns oktober{{MONTHNAME|11}}returns november{{MONTHNAME|12}}returns desember
- Examples for month numbers with extra leading zero:
{{MONTHNAME|01}}returns januar{{MONTHNAME|02}}returns februar{{MONTHNAME|03}}returns mars{{MONTHNAME|04}}returns april{{MONTHNAME|05}}returns mai{{MONTHNAME|06}}returns juni{{MONTHNAME|07}}returns juli{{MONTHNAME|08}}returns august{{MONTHNAME|09}}returns september
- Examples for month number cyclic underflows and overflows, from computed values:
{{MONTHNAME|-12}}returns desember{{MONTHNAME|-11}}returns januar{{MONTHNAME|-10}}returns februar{{MONTHNAME|-9}}returns mars{{MONTHNAME|-3}}returns oktober{{MONTHNAME|-2}}returns oktober{{MONTHNAME|-1}}returns november{{MONTHNAME|0}}returns desember{{MONTHNAME|13}}returns januar{{MONTHNAME|14}}returns februar{{MONTHNAME|15}}returns mars{{MONTHNAME|16}}returns april{{MONTHNAME|23}}returns november{{MONTHNAME|24}}returns desember{{MONTHNAME|25}}returns januar{{MONTHNAME|1200}}returns desember{{MONTHNAME|1201}}returns januar{{MONTHNAME|1212}}returns desember
{{subst:monthname|6|subst=subst:}} gives the wikitext June.
Se også
- Mal fra wikimedia:Template:Monthname
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.