ਫਰਮਾ:MONTHNAME
ਦਿੱਖ
This template is used on 5,60,000+ pages, or roughly 313% of all pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
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 ਜਨਵਰੀ{{MONTHNAME|2}}
returns ਫਰਵਰੀ{{MONTHNAME|3}}
returns ਮਾਰਚ{{MONTHNAME|4}}
returns ਅਪ੍ਰੈਲ{{MONTHNAME|5}}
returns ਮਈ{{MONTHNAME|6}}
returns ਜੂਨ{{MONTHNAME|7}}
returns ਜੁਲਾਈ{{MONTHNAME|8}}
returns ਅਗਸਤ{{MONTHNAME|9}}
returns ਸਤੰਬਰ{{MONTHNAME|10}}
returns ਅਕਤੂਬਰ{{MONTHNAME|11}}
returns ਨਵੰਬਰ{{MONTHNAME|12}}
returns ਦਸੰਬਰ
Examples for month numbers with extra leading zero
[ਸੋਧੋ]{{MONTHNAME|01}}
returns ਜਨਵਰੀ{{MONTHNAME|02}}
returns ਫਰਵਰੀ{{MONTHNAME|03}}
returns ਮਾਰਚ{{MONTHNAME|04}}
returns ਅਪ੍ਰੈਲ{{MONTHNAME|05}}
returns ਮਈ{{MONTHNAME|06}}
returns ਜੂਨ{{MONTHNAME|07}}
returns ਜੁਲਾਈ{{MONTHNAME|08}}
returns ਅਗਸਤ{{MONTHNAME|09}}
returns ਸਤੰਬਰ
Examples for month number cyclic underflows and overflows, from computed values
[ਸੋਧੋ]{{MONTHNAME|-12}}
returns ਦਸੰਬਰ{{MONTHNAME|-11}}
returns ਜਨਵਰੀ{{MONTHNAME|-10}}
returns ਫਰਵਰੀ{{MONTHNAME|-9}}
returns ਮਾਰਚ{{MONTHNAME|-3}}
returns ਸਤੰਬਰ{{MONTHNAME|-2}}
returns ਅਕਤੂਬਰ{{MONTHNAME|-1}}
returns ਨਵੰਬਰ{{MONTHNAME|0}}
returns ਦਸੰਬਰ{{MONTHNAME|13}}
returns ਜਨਵਰੀ{{MONTHNAME|14}}
returns ਫਰਵਰੀ{{MONTHNAME|15}}
returns ਮਾਰਚ{{MONTHNAME|16}}
returns ਅਪ੍ਰੈਲ{{MONTHNAME|23}}
returns ਨਵੰਬਰ{{MONTHNAME|24}}
returns ਦਸੰਬਰ{{MONTHNAME|25}}
returns ਜਨਵਰੀ{{MONTHNAME|1200}}
returns ਦਸੰਬਰ{{MONTHNAME|1201}}
returns ਜਨਵਰੀ{{MONTHNAME|1212}}
returns ਦਸੰਬਰ
Examples for all standard English month names
[ਸੋਧੋ]{{MONTHNAME|JANUARY}}
returns ਜਨਵਰੀ{{MONTHNAME|FEBRUARY}}
returns ਫਰਵਰੀ{{MONTHNAME|MARCH}}
returns ਮਾਰਚ{{MONTHNAME|APRIL}}
returns ਅਪ੍ਰੈਲ{{MONTHNAME|MAY}}
returns ਮਈ{{MONTHNAME|JUNE}}
returns ਜੂਨ{{MONTHNAME|JULY}}
returns ਜੁਲਾਈ{{MONTHNAME|AUGUST}}
returns ਅਗਸਤ{{MONTHNAME|SEPTEMBER}}
returns ਸਤੰਬਰ{{MONTHNAME|OCTOBER}}
returns ਅਕਤੂਬਰ{{MONTHNAME|NOVEMBER}}
returns ਨਵੰਬਰ{{MONTHNAME|DECEMBER}}
returns ਦਸੰਬਰ
Examples for all abbreviated English month names
[ਸੋਧੋ]{{MONTHNAME|jan}}
returns ਜਨਵਰੀ{{MONTHNAME|feb}}
returns ਫਰਵਰੀ{{MONTHNAME|mar}}
returns ਮਾਰਚ{{MONTHNAME|apr}}
returns ਅਪ੍ਰੈਲ{{MONTHNAME|may}}
returns ਮਈ{{MONTHNAME|jun}}
returns ਜੂਨ{{MONTHNAME|jul}}
returns ਜੁਲਾਈ{{MONTHNAME|aug}}
returns ਅਗਸਤ{{MONTHNAME|sep}}
returns ਸਤੰਬਰ{{MONTHNAME|oct}}
returns ਅਕਤੂਬਰ{{MONTHNAME|nov}}
returns ਨਵੰਬਰ{{MONTHNAME|dec}}
returns ਦਸੰਬਰ
See also
[ਸੋਧੋ]Multiple units of time
[ਸੋਧੋ]Type | Adjustable | Current | Last | Next |
---|---|---|---|---|
Date and time | {{time}} | {{Currentdate}} (MDY) {{Plain now}} (DMY) {{Now}} (DMY in a complete sentence) {{Simple now}} |
||
Date only | {{Dateonly}} {{Datedow}} (Has the day of the week) |
{{Date}} (Chose format) {{DATE}} (prefixed by date=) {{TODAY}} (DMY) |
{{Yesterday}} {{Day-1}} |
{{Tomorrow}} {{Day+1}} |
Time only | {{Timeonly}} | {{CURRENTTIME}} (12 h format) {{CURRENTTIME24}} (24 h format) |
||
Banners | {{Right now}} (Blue with time and number of Wikipedia articles) |
|||
Timestamp | {{Timestamp}} (Format YYYYMMDDhhmmss) |
Single units of time
[ਸੋਧੋ]Unit of time | Adjustable | Current | Last | Next |
---|---|---|---|---|
SECOND | {{CURRENTSECOND}} | |||
MINUTE | {{CURRENTMINUTE}} | |||
HOUR | {{CURRENTHOUR}} | |||
WEEK | {{CURRENTWEEK}} {{CURRENTWEEKOFMONTH}} |
|||
Day of Week | {{Dow}} | {{CURRENTDAYNAME}} {{CURRENTWEEKDAYABBREV}} {{CURRENTWEEKDAY}} |
||
MONTH | {{MONTHNAME}} {{MONTHABBREV}} {{MONTHNUMBER}} {{MONTH}} (zero padded) |
{{CURRENTMONTHNAME}} {{CURRENTMONTHABBREV}} {{CURRENTMONTH1}} {{CURRENTMONTHDAYS}} |
{{LASTMONTHNAME}} | {{NEXTMONTHNAME}} |
Day of Month | {{CURRENTDAY}} {{CURRENTDAY2}} (zero padded) |
|||
YEAR | {{CURRENTYEARCC}} {{CURRENTYEARYY}} {{CURRENTISOYEAR}} {{CURRENTYEAR}} |
{{LASTYEAR}} | {{NEXTYEAR}} | |
Day of Year | {{CURRENTDAYOFYEAR}} | |||
DECADE | {{DECADE}} | {{CURRENTDECADE}} | ||
CENTURY | {{CENTURY}} | {{CURRENTCENTURY}} | ||
MILLENNIUM | {{MILLENNIUM}} |
Date and time templates made for substitution:
[ਸੋਧੋ]Month:
{{Lmonth}} produces ਸਤ
{{Nmonth}} produces ਨਵ
{{LastMonth}} produces ਸਤੰਬਰ 2024
{{NextMonth}} produces ਨਵੰਬਰ 2024
Individual templates
[ਸੋਧੋ]- {{Calendar}}
- {{Calendar clock with Wikipedia stats}}
- {{Clock}}
- {{Digital clock}}
- {{Digital clock and date}}