پرش به محتوا

الگو:تقویم

از ویکی‌پدیا، دانشنامهٔ آزاد
(تغییرمسیر از الگو:Calendar)
توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]

برای پیدا کردن زیرصفحات الگو به اینجا رجوع ببینید.

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.
فوریه
هفته د س چ پ ج ش ی
۰۵ ۰۱
۰۶ ۰۲۰۳۰۴۰۵۰۶۰۷۰۸
۰۷ ۰۹۱۰۱۱۱۲۱۳۱۴۱۵
۰۸ ۱۶۱۷۱۸۱۹۲۰۲۱۲۲
۰۹ ۲۳۲۴۲۵۲۶۲۷۲۸
۲۰۲۶
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.
این، توضیحاتِ الگوداده است که توسط TemplateWizard، ویرایشگر دیداری و دیگر ابزارها استفاده می‌شود. گزارش خطای ماهیانه برای این الگو را ببینید.

الگوداده تقویم

Display a year or month calendar

پارامترهای الگو[ویرایش داده‌های الگو]

پارامترتوضیحاتنوعوضعیت
Yearyear

the ordinal year number of the calendar

پیش‌فرض
current
شمارهپیشنهادشده
Monthmonth

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

پیش‌فرض
empty
مثال
current, next, last, 1, January
رشتهپیشنهادشده
Show yearshow_year

whether to display the year number, and where

پیش‌فرض
on
مثال
with month, off
بولیاختیاری
Title texttitle

text in the top bar

محتوااختیاری
End noteEndNote

text in the bottom bar

محتوااختیاری
Week formatformat

The string to be trimmed and counted

پیش‌فرض
Sun1st
مثال
iso, Mon1st
رشتهاختیاری
Months per rowcol

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

پیش‌فرض
4
مثال
2, 3, 12
شمارهاختیاری
Months per columnrow

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

پیش‌فرض
empty
مثال
3, 4
شمارهاختیاری
Float sidefloat

Horizontally align the calendar

پیش‌فرض
none
مثال
right, left
رشتهاختیاری
Serial navigationprevnext

Add links to the previous and next months

مثال
on
بولیاختیاری
Background colorcolour

Default for Title and Week background

مثال
#2E8B57
رشتهاختیاری
Title backgroundtitle_colour

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

مثال
#2E8B57
رشتهاختیاری
Week backgroundweek_colour

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

مثال
#2E8B57
رشتهاختیاری
ISO week numbers backgroundwknum_colour

change the colour of the bar listing the ISO week numbers

مثال
#2E8B57
رشتهاختیاری
Fixed starting week workaroundwk5253

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

بولیاختیاری
Month name prefixtxt_pref_m

Text to add before month names

خطاختیاری
Month name suffixtxt_suff_m

Text to add after month names

خطاختیاری
Linklk

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

پیش‌فرض
off
مثال
on = dmy, dm, my, dy, d, m, y
رشتهاختیاری
Link prefixlk_pref

Text to add before all links

خطاختیاری
Link suffixlk_suff

Text to add after all links

خطاختیاری
Day link prefixlk_pref_d

Text to add before links to days

خطاختیاری
Day link suffixlk_suff_d

Text to add after links to days

خطاختیاری
Month link prefixlk_pref_m

Text to add before links to months

خطاختیاری
Month link suffixlk_suff_m

Text to add after links to months

خطاختیاری
Next link prefixlk_pref_mnext

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

خطاختیاری
Next link suffixlk_suff_mnext

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

خطاختیاری
Previous link prefixlk_pref_mprev

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

خطاختیاری
Previous link suffixlk_suff_mprev

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

خطاختیاری

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.

2026
January
ی د س چ پ ج ش
۰1۰2۰3
۰4۰5۰6۰7۰8۰910
11121314151617
18192021222324
25262728293031
 
February
ی د س چ پ ج ش
۰1۰2۰3۰4۰5۰6۰7
۰8۰91011121314
15161718192021
22232425262728
 
 
March
ی د س چ پ ج ش
۰1۰2۰3۰4۰5۰6۰7
۰8۰91011121314
15161718192021
22232425262728
293031  
 
April
ی د س چ پ ج ش
۰1۰2۰3۰4
۰5۰6۰7۰8۰91011
12131415161718
19202122232425
2627282930  
 
May
ی د س چ پ ج ش
۰1۰2
۰3۰4۰5۰6۰7۰8۰9
10111213141516
17181920212223
24252627282930
31  
June
ی د س چ پ ج ش
۰1۰2۰3۰4۰5۰6
۰7۰8۰910111213
14151617181920
21222324252627
282930  
 
July
ی د س چ پ ج ش
۰1۰2۰3۰4
۰5۰6۰7۰8۰91011
12131415161718
19202122232425
262728293031  
 
August
ی د س چ پ ج ش
۰1
۰2۰3۰4۰5۰6۰7۰8
۰9101112131415
16171819202122
23242526272829
3031  
September
ی د س چ پ ج ش
۰1۰2۰3۰4۰5
۰6۰7۰8۰9101112
13141516171819
20212223242526
27282930  
 
October
ی د س چ پ ج ش
۰1۰2۰3
۰4۰5۰6۰7۰8۰910
11121314151617
18192021222324
25262728293031
 
November
ی د س چ پ ج ش
۰1۰2۰3۰4۰5۰6۰7
۰8۰91011121314
15161718192021
22232425262728
2930  
 
December
ی د س چ پ ج ش
۰1۰2۰3۰4۰5
۰6۰7۰8۰9101112
13141516171819
20212223242526
2728293031  
 
2026
January
هفته د س چ پ ج ش ی
۰۱ 01020304
۰۲ 05060708091011
۰۳ 12131415161718
۰۴ 19202122232425
۰۵ 262728293031  
   
February
هفته د س چ پ ج ش ی
۰۵ 01
۰۶ 02030405060708
۰۷ 09101112131415
۰۸ 16171819202122
۰۹ 232425262728
   
March
هفته د س چ پ ج ش ی
۰۹ 01
۱۰ 02030405060708
۱۱ 09101112131415
۱۲ 16171819202122
۱۳ 23242526272829
۱۴ 3031  
April
هفته د س چ پ ج ش ی
۱۴ 0102030405
۱۵ 06070809101112
۱۶ 13141516171819
۱۷ 20212223242526
۱۸ 27282930  
   
May
هفته د س چ پ ج ش ی
۱۸ 010203
۱۹ 04050607080910
۲۰ 11121314151617
۲۱ 18192021222324
۲۲ 25262728293031
   
June
هفته د س چ پ ج ش ی
۲۳ 01020304050607
۲۴ 08091011121314
۲۵ 15161718192021
۲۶ 22232425262728
۲۷ 2930  
   
July
هفته د س چ پ ج ش ی
۲۷ 0102030405
۲۸ 06070809101112
۲۹ 13141516171819
۳۰ 20212223242526
۳۱ 2728293031  
   
August
هفته د س چ پ ج ش ی
۳۱ 0102
۳۲ 03040506070809
۳۳ 10111213141516
۳۴ 17181920212223
۳۵ 24252627282930
۳۶ 31  
September
هفته د س چ پ ج ش ی
۳۶ 010203040506
۳۷ 07080910111213
۳۸ 14151617181920
۳۹ 21222324252627
۴۰ 282930  
   
October
هفته د س چ پ ج ش ی
۴۰ 01020304
۴۱ 05060708091011
۴۲ 12131415161718
۴۳ 19202122232425
۴۴ 262728293031  
   
November
هفته د س چ پ ج ش ی
۴۴ 01
۴۵ 02030405060708
۴۶ 09101112131415
۴۷ 16171819202122
۴۸ 23242526272829
۴۹ 30  
December
هفته د س چ پ ج ش ی
۴۹ 010203040506
۵۰ 07080910111213
۵۱ 14151617181920
۵۲ 21222324252627
۵۳ 28293031  
   

See also

[ویرایش]

  • {{CURRENTDATE}} Time, day of week, and date in MDY format and time zone
  • {{Date}} Date in chosen format
  • {{DATE}} Month and year, prefixed by "date=" (for use with templates through substitution)
  • {{Now}} Same as {{CURRENTDATE}} but in a sentence
  • {{Plain now}} Date in DMY format, and time
  • {{Right now}} Blue banner with time and current number of Wikipedia articles
  • {{Right now (User message)}} Orange banner with time and current number of Wikipedia articles
  • {{TODAY}} Date in DMY