మూస:Calendar
| This template is used on approximately 2,500 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
| This template uses TemplateStyles: |
This template displays either a yearly or monthly calendar (from 1970–2037). If you need a feature that isn't on this template, consider {{ISOCALENDAR}}, or maybe Module:Calendar widget.
Parameters
[మార్చు]- month
- To display a single month the parameter
monthmust be defined. This parameter can be a month name or number, the current month usemonth=current(nextandlastare also accepted).
- year
- The parameter
yearsets the year of the calendar the default being the current year.
- format
- To start the week on Monday use either
format=Mon1stor, to include ISO week numbers,format=iso. The keywords are case-sensitive.
{{Calendar/isoMonthStartలోపం: సమయం సరిగ్గా లేదు |float=right |clear=none |titlestyle= |weekstyle= |wknumstyle= |wk5253= |month=లోపం: సమయం సరిగ్గా లేదు |cur_month=[[లోపం: సమయం సరిగ్గా లేదు]] |prev_month= |next_month= |6row= |01=[[లోపం: సమయం సరిగ్గా లేదు 1|1]] |02=[[లోపం: సమయం సరిగ్గా లేదు 2|2]] |03=[[లోపం: సమయం సరిగ్గా లేదు 3|3]] |04=[[లోపం: సమయం సరిగ్గా లేదు 4|4]] |05=[[లోపం: సమయం సరిగ్గా లేదు 5|5]] |06=[[లోపం: సమయం సరిగ్గా లేదు 6|6]] |07=[[లోపం: సమయం సరిగ్గా లేదు 7|7]] |08=[[లోపం: సమయం సరిగ్గా లేదు 8|8]] |09=[[లోపం: సమయం సరిగ్గా లేదు 9|9]] |10=[[లోపం: సమయం సరిగ్గా లేదు 10|10]] |11=[[లోపం: సమయం సరిగ్గా లేదు 11|11]] |12=[[లోపం: సమయం సరిగ్గా లేదు 12|12]] |13=[[లోపం: సమయం సరిగ్గా లేదు 13|13]] |14=[[లోపం: సమయం సరిగ్గా లేదు 14|14]] |15=[[లోపం: సమయం సరిగ్గా లేదు 15|15]] |16=[[లోపం: సమయం సరిగ్గా లేదు 16|16]] |17=[[లోపం: సమయం సరిగ్గా లేదు 17|17]] |18=[[లోపం: సమయం సరిగ్గా లేదు 18|18]] |19=[[లోపం: సమయం సరిగ్గా లేదు 19|19]] |20=[[లోపం: సమయం సరిగ్గా లేదు 20|20]] |21=[[లోపం: సమయం సరిగ్గా లేదు 21|21]] |22=[[లోపం: సమయం సరిగ్గా లేదు 22|22]] |23=[[లోపం: సమయం సరిగ్గా లేదు 23|23]] |24=[[లోపం: సమయం సరిగ్గా లేదు 24|24]] |25=[[లోపం: సమయం సరిగ్గా లేదు 25|25]] |26=[[లోపం: సమయం సరిగ్గా లేదు 26|26]] |27=[[లోపం: సమయం సరిగ్గా లేదు 27|27]] |28=[[లోపం: సమయం సరిగ్గా లేదు 28|28]] |29=సమాసంలో (Expression) లోపం: < పరికర్తను (operator) ఊహించలేదు |30=సమాసంలో (Expression) లోపం: < పరికర్తను (operator) ఊహించలేదు |31=సమాసంలో (Expression) లోపం: < పరికర్తను (operator) ఊహించలేదు |wk01=1|wk02=2|wk03=3|wk04=4|wk05=5|wk06=6|wk07=7|wk08=8|wk09=9 |wk10=10|wk11=11|wk12=12|wk13=13|wk14=14|wk15=15|wk16=16|wk17=17|wk18=18|wk19=19 |wk20=20|wk21=21|wk22=22|wk23=23|wk24=24|wk25=25|wk26=26|wk27=27|wk28=28|wk29=29 |wk30=30|wk31=31|wk32=32|wk33=33|wk34=34|wk35=35|wk36=36|wk37=37|wk38=38|wk39=39 |wk40=40|wk41=41|wk42=42|wk43=43|wk44=44|wk45=45|wk46=46|wk47=47|wk48=48|wk49=49 |wk50=50|wk51=51|wk52=52|wk53=53 |year=2026 |show_year=on |lk=on |EndNote= }}
- show_year
- To display the year use
show_year=on. To show the year after the month useshow_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=leftorfloat=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.
- fc
- This is for the text colour.
- 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=onto start the year with week 52/53, when usingformat=isowith 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.
TemplateData for Calendar
Display a year or month calendar
| పరామితి | వివరణ | రకం | స్థితి | |
|---|---|---|---|---|
| Year | year | the ordinal year number of the calendar
| సంఖ్య | సూచించినవి |
| Month | month | whether to display a single month instead of a whole year, and which one
| స్ట్రింగు | సూచించినవి |
| Show year | show_year | whether to display the year number, and where
| బూలియన్ | ఐచ్చికం |
| Title text | title | text in the top bar | కంటెంటు | ఐచ్చికం |
| End note | EndNote | text in the bottom bar | కంటెంటు | ఐచ్చికం |
| Week format | format | The string to be trimmed and counted
| స్ట్రింగు | ఐచ్చికం |
| Months per row | col | Display this many months per row (1, 3, 4 or 6 rows)
| సంఖ్య | ఐచ్చికం |
| Months per column | row | Display this many months per column (3 or 4 cols). If set, overrides ‘col’ parameter.
| సంఖ్య | ఐచ్చికం |
| Float side | float | Horizontally align the calendar
| స్ట్రింగు | ఐచ్చికం |
| Serial navigation | prevnext | Add links to the previous and next months
| బూలియన్ | ఐచ్చికం |
| Background color | colour | Default for Title and Week background
| స్ట్రింగు | ఐచ్చికం |
| Title background | title_colour | change the background colour of the title bar with name of the month, and the bottom bar
| స్ట్రింగు | ఐచ్చికం |
| Week background | week_colour | change the colour of the bar listing the days of the week
| స్ట్రింగు | ఐచ్చికం |
| ISO week numbers background | wknum_colour | change the colour of the bar listing the ISO week numbers
| స్ట్రింగు | ఐచ్చికం |
| Fixed starting week workaround | wk5253 | start the year with week 52/53, when the first day is a Saturday. | బూలియన్ | ఐచ్చికం |
| Month name prefix | txt_pref_m | Text to add before month names | లైను | ఐచ్చికం |
| Month name suffix | txt_suff_m | Text to add after month names | లైను | ఐచ్చికం |
| Link | lk | whether to automatically link days (d), months (m) and years (y)
| స్ట్రింగు | ఐచ్చికం |
| Link prefix | lk_pref | Text to add before all links | లైను | ఐచ్చికం |
| Link suffix | lk_suff | Text to add after all links | లైను | ఐచ్చికం |
| Day link prefix | lk_pref_d | Text to add before links to days | లైను | ఐచ్చికం |
| Day link suffix | lk_suff_d | Text to add after links to days | లైను | ఐచ్చికం |
| Month link prefix | lk_pref_m | Text to add before links to months | లైను | ఐచ్చికం |
| Month link suffix | lk_suff_m | Text to add after links to months | లైను | ఐచ్చికం |
| Next link prefix | lk_pref_mnext | Text to add before the link to the next month (or year) | లైను | ఐచ్చికం |
| Next link suffix | lk_suff_mnext | Text to add after the link to the next month (or year) | లైను | ఐచ్చికం |
| Previous link prefix | lk_pref_mprev | Text to add before the link to the previous month (or year) | లైను | ఐచ్చికం |
| Previous link suffix | lk_suff_mprev | Text to add after the link to the next month (or year) | లైను | ఐచ్చికం |
| Text colour | fc | Adds the colour of the text
| స్ట్రింగు | ఐచ్చికం |
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 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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) {{TODAY}} (DMY) |
{{Yesterday}} {{Day-1}} |
{{Tomorrow}} {{Day+1}} |
| Month and year only | {{Monthyear}} {{DATE}} (prefixed by date=) |
{{Monthyear-1}} | {{Monthyear+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 | {{DAYOFWEEK}} | {{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 లోపం: సమయం సరిగ్గా లేదు
{{Last month}} produces లోపం: సమయం సరిగ్గా లేదు
{{Next month}} produces లోపం: సమయం సరిగ్గా లేదు
Parser functions
[మార్చు]- mw:Special:MyLanguage/time permits a custom time specifier string, similar to the C date and time functions
Individual templates
[మార్చు]- {{Calendar}}
- {{Calendar clock with Wikipedia stats}}
- {{Clock}}
- {{Digital clock}}
- {{Digital clock and date}}
- {{Infobox calendar date today}}
- {{Raph Williams65/digiclock}}