This template displays either a yearly or monthly calendar (from 1970–2037).

Parameters ਸੋਧੋ

month
To display a single month the parameter month must be defined. This parameter can be a month name or number, the current month use month=current (next and last are also accepted).
year
The parameter year sets the year of the calendar the default being the current year.
format
To start the week on Monday use either format=Mon1st or, to include ISO week numbers, format=iso. The keywords are case-sensitive.
ਮਾਰਚ
Wk ਸੋਮ ਮੰਗਲ ਬੁੱਧ ਵੀਰ ਸ਼ੁੱਕਰ ਸ਼ਨੀ ਐਤ
09 01 02 03
10 04 05 06 07 08 09 10
11 11 12 13 14 15 16 17
12 18 19 20 21 22 23 24
13 25 26 27 28 29 30 31
2024
show_year
To display the year use show_year=on. To show the year after the month use show_year=with month.
txt_pref_m
This adds a prefix to the month name.
txt_suff_m
This adds a suffix to the month name.
float
To float the calendar left or right use float=left or float=right.
lk
To link days, months and years use lk=on.
To link days and months use lk=dm.
To link months and years use lk=my.
To link days and years use lk=dy.
To link days only use lk=d.
To link months only use lk=m.
To link years only use lk=y.
lk_pref
This adds a prefix to all links.
lk_pref_d
This adds a prefix to day links.
lk_pref_m
This adds a prefix to month links.
lk_pref_mnext
This adds a prefix to the next month's link.
lk_pref_mprev
This adds a prefix to the previous month's link.
lk_suff
This adds a suffix to all links.
lk_suff_d
This adds a suffix to day links.
lk_suff_m
This adds a suffix to month links.
lk_suff_mnext
This adds a suffix to the next month's link.
lk_suff_mprev
This adds a suffix to the previous month's link.
prevnext
To add links to the previous and next months use prevnext=on.
title_colour
Use this to change the background colour of the title bar with name of the month, and the bottom bar (e.g. title_colour=#2e8b57).
week_colour
Use this to change the colour of the bar listing the days of the week (e.g. week_colour=#2e8b57).
colour
This is shorthand for both of the above.
wknum_colour
Use this to change the background colour of the ISO week numbers, when using format=iso (e.g. wknum_colour=#2e8b57).
wk5253
Use wk5253=on to start the year with week 52/53, when using format=iso with a year calendar. The only use case for this, is when the year is unknown and it starts with a Saturday. See Common year starting on Saturday as an example.
EndNote
This adds text to the bottom bar.
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Calendar

Display a year or month calendar

ਫਰਮੇ ਦੇ ਮਾਪਦੰਡ

ਮਾਪਦੰਡਵੇਰਵਾਕਿਸਮਦਰਜਾ
Yearyear

the ordinal year number of the calendar

ਮੂਲ ਰੂਪ
current
Numbersuggested
Monthmonth

whether to display a single month instead of a whole year, and which one

ਮੂਲ ਰੂਪ
empty
Example
current, next, last, 1, January
Stringsuggested
Show yearshow_year

whether to display the year number, and where

ਮੂਲ ਰੂਪ
on
Example
with month, off
Booleanoptional
Title texttitle

text in the top bar

Contentoptional
End noteEndNote

text in the bottom bar

Contentoptional
Week formatformat

The string to be trimmed and counted

ਮੂਲ ਰੂਪ
Sun1st
Example
iso, Mon1st
Stringoptional
Months per rowcol

Display this many months per row (1, 3, 4 or 6 rows)

ਮੂਲ ਰੂਪ
4
Example
2, 3, 12
Numberoptional
Months per columnrow

Display this many months per column (3 or 4 cols). If set, overrides ‘col’ parameter.

ਮੂਲ ਰੂਪ
empty
Example
3, 4
Numberoptional
Float sidefloat

Horizontally align the calendar

ਮੂਲ ਰੂਪ
none
Example
right, left
Stringoptional
Serial navigationprevnext

Add links to the previous and next months

Example
on
Booleanoptional
Background colorcolour

Default for Title and Week background

Example
#2E8B57
Stringoptional
Title backgroundtitle_colour

change the background colour of the title bar with name of the month, and the bottom bar

Example
#2E8B57
Stringoptional
Week backgroundweek_colour

change the colour of the bar listing the days of the week

Example
#2E8B57
Stringoptional
ISO week numbers backgroundwknum_colour

change the colour of the bar listing the ISO week numbers

Example
#2E8B57
Stringoptional
Fixed starting week workaroundwk5253

start the year with week 52/53, when the first day is a Saturday.

Booleanoptional
Month name prefixtxt_pref_m

Text to add before month names

Lineoptional
Month name suffixtxt_suff_m

Text to add after month names

Lineoptional
Linklk

whether to automatically link days (d), months (m) and years (y)

ਮੂਲ ਰੂਪ
off
Example
on = dmy, dm, my, dy, d, m, y
Stringoptional
Link prefixlk_pref

Text to add before all links

Lineoptional
Link suffixlk_suff

Text to add after all links

Lineoptional
Day link prefixlk_pref_d

Text to add before links to days

Lineoptional
Day link suffixlk_suff_d

Text to add after links to days

Lineoptional
Month link prefixlk_pref_m

Text to add before links to months

Lineoptional
Month link suffixlk_suff_m

Text to add after links to months

Lineoptional
Next link prefixlk_pref_mnext

Text to add before the link to the next month (or year)

Lineoptional
Next link suffixlk_suff_mnext

Text to add after the link to the next month (or year)

Lineoptional
Previous link prefixlk_pref_mprev

Text to add before the link to the previous month (or year)

Lineoptional
Previous link suffixlk_suff_mprev

Text to add after the link to the next month (or year)

Lineoptional

Examples ਸੋਧੋ

{{calendar|lk=on|show_year=on|float=right|month=current}} produces the calendar above. The calendars below are produced by {{calendar}} and {{calendar|prevnext=true|format=iso|zero=0|row=3}}, respectively.

2024
ਜਨਵਰੀ
ਐਤ ਸੋਮ ਮੰਗਲ ਬੁੱਧ ਵੀਰ ਸ਼ੁੱਕਰ ਸ਼ਨੀ
01 02 03 04 05 06
07 08 09 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31  
 
ਫ਼ਰਵਰੀ
ਐਤ ਸੋਮ ਮੰਗਲ ਬੁੱਧ ਵੀਰ ਸ਼ੁੱਕਰ ਸ਼ਨੀ
01 02 03
04 05 06 07 08 09 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29
 
ਮਾਰਚ
ਐਤ ਸੋਮ ਮੰਗਲ ਬੁੱਧ ਵੀਰ ਸ਼ੁੱਕਰ ਸ਼ਨੀ
01 02
03 04 05 06 07 08 09
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31  
ਅਪਰੈਲ
ਐਤ ਸੋਮ ਮੰਗਲ ਬੁੱਧ ਵੀਰ ਸ਼ੁੱਕਰ ਸ਼ਨੀ
01 02 03 04 05 06
07 08 09 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30  
 
ਮਈ
ਐਤ ਸੋਮ ਮੰਗਲ ਬੁੱਧ ਵੀਰ ਸ਼ੁੱਕਰ ਸ਼ਨੀ
01 02 03 04
05 06 07 08 09 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  
 
ਜੂਨ
ਐਤ ਸੋਮ ਮੰਗਲ ਬੁੱਧ ਵੀਰ ਸ਼ੁੱਕਰ ਸ਼ਨੀ
01
02 03 04 05 06 07 08
09 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30  
ਜੁਲਾਈ
ਐਤ ਸੋਮ ਮੰਗਲ ਬੁੱਧ ਵੀਰ ਸ਼ੁੱਕਰ ਸ਼ਨੀ
01 02 03 04 05 06
07 08 09 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31  
 
ਅਗਸਤ
ਐਤ ਸੋਮ ਮੰਗਲ ਬੁੱਧ ਵੀਰ ਸ਼ੁੱਕਰ ਸ਼ਨੀ
01 02 03
04 05 06 07 08 09 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
 
ਸਤੰਬਰ
ਐਤ ਸੋਮ ਮੰਗਲ ਬੁੱਧ ਵੀਰ ਸ਼ੁੱਕਰ ਸ਼ਨੀ
01 02 03 04 05 06 07
08 09 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30  
 
ਅਕਤੂਬਰ
ਐਤ ਸੋਮ ਮੰਗਲ ਬੁੱਧ ਵੀਰ ਸ਼ੁੱਕਰ ਸ਼ਨੀ
01 02 03 04 05
06 07 08 09 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31  
 
ਨਵੰਬਰ
ਐਤ ਸੋਮ ਮੰਗਲ ਬੁੱਧ ਵੀਰ ਸ਼ੁੱਕਰ ਸ਼ਨੀ
01 02
03 04 05 06 07 08 09
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
 
ਦਸੰਬਰ
ਐਤ ਸੋਮ ਮੰਗਲ ਬੁੱਧ ਵੀਰ ਸ਼ੁੱਕਰ ਸ਼ਨੀ
01 02 03 04 05 06 07
08 09 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31  
 
2024
ਜਨਵਰੀ
Wk ਸੋਮ ਮੰਗਲ ਬੁੱਧ ਵੀਰ ਸ਼ੁੱਕਰ ਸ਼ਨੀ ਐਤ
01 01 02 03 04 05 06 07
02 08 09 10 11 12 13 14
03 15 16 17 18 19 20 21
04 22 23 24 25 26 27 28
05 29 30 31  
   
ਫ਼ਰਵਰੀ
Wk ਸੋਮ ਮੰਗਲ ਬੁੱਧ ਵੀਰ ਸ਼ੁੱਕਰ ਸ਼ਨੀ ਐਤ
05 01 02 03 04
06 05 06 07 08 09 10 11
07 12 13 14 15 16 17 18
08 19 20 21 22 23 24 25
09 26 27 28 29  
   
ਮਾਰਚ
Wk ਸੋਮ ਮੰਗਲ ਬੁੱਧ ਵੀਰ ਸ਼ੁੱਕਰ ਸ਼ਨੀ ਐਤ
09 01 02 03
10 04 05 06 07 08 09 10
11 11 12 13 14 15 16 17
12 18 19 20 21 22 23 24
13 25 26 27 28 29 30 31
   
ਅਪਰੈਲ
Wk ਸੋਮ ਮੰਗਲ ਬੁੱਧ ਵੀਰ ਸ਼ੁੱਕਰ ਸ਼ਨੀ ਐਤ
14 01 02 03 04 05 06 07
15 08 09 10 11 12 13 14
16 15 16 17 18 19 20 21
17 22 23 24 25 26 27 28
18 29 30  
   
ਮਈ
Wk ਸੋਮ ਮੰਗਲ ਬੁੱਧ ਵੀਰ ਸ਼ੁੱਕਰ ਸ਼ਨੀ ਐਤ
18 01 02 03 04 05
19 06 07 08 09 10 11 12
20 13 14 15 16 17 18 19
21 20 21 22 23 24 25 26
22 27 28 29 30 31  
   
ਜੂਨ
Wk ਸੋਮ ਮੰਗਲ ਬੁੱਧ ਵੀਰ ਸ਼ੁੱਕਰ ਸ਼ਨੀ ਐਤ
22 01 02
23 03 04 05 06 07 08 09
24 10 11 12 13 14 15 16
25 17 18 19 20 21 22 23
26 24 25 26 27 28 29 30
   
ਜੁਲਾਈ
Wk ਸੋਮ ਮੰਗਲ ਬੁੱਧ ਵੀਰ ਸ਼ੁੱਕਰ ਸ਼ਨੀ ਐਤ
27 01 02 03 04 05 06 07
28 08 09 10 11 12 13 14
29 15 16 17 18 19 20 21
30 22 23 24 25 26 27 28
31 29 30 31  
   
ਅਗਸਤ
Wk ਸੋਮ ਮੰਗਲ ਬੁੱਧ ਵੀਰ ਸ਼ੁੱਕਰ ਸ਼ਨੀ ਐਤ
31 01 02 03 04
32 05 06 07 08 09 10 11
33 12 13 14 15 16 17 18
34 19 20 21 22 23 24 25
35 26 27 28 29 30 31  
   
ਸਤੰਬਰ
Wk ਸੋਮ ਮੰਗਲ ਬੁੱਧ ਵੀਰ ਸ਼ੁੱਕਰ ਸ਼ਨੀ ਐਤ
35 01
36 02 03 04 05 06 07 08
37 09 10 11 12 13 14 15
38 16 17 18 19 20 21 22
39 23 24 25 26 27 28 29
40 30  
ਅਕਤੂਬਰ
Wk ਸੋਮ ਮੰਗਲ ਬੁੱਧ ਵੀਰ ਸ਼ੁੱਕਰ ਸ਼ਨੀ ਐਤ
40 01 02 03 04 05 06
41 07 08 09 10 11 12 13
42 14 15 16 17 18 19 20
43 21 22 23 24 25 26 27
44 28 29 30 31  
   
ਨਵੰਬਰ
Wk ਸੋਮ ਮੰਗਲ ਬੁੱਧ ਵੀਰ ਸ਼ੁੱਕਰ ਸ਼ਨੀ ਐਤ
44 01 02 03
45 04 05 06 07 08 09 10
46 11 12 13 14 15 16 17
47 18 19 20 21 22 23 24
48 25 26 27 28 29 30
   
ਦਸੰਬਰ
Wk ਸੋਮ ਮੰਗਲ ਬੁੱਧ ਵੀਰ ਸ਼ੁੱਕਰ ਸ਼ਨੀ ਐਤ
48 01
49 02 03 04 05 06 07 08
50 09 10 11 12 13 14 15
51 16 17 18 19 20 21 22
52 23 24 25 26 27 28 29
01 30 31  

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 ਸੋਧੋ

Categories of templates ਸੋਧੋ