Module:Calendar widget/doc
Appearance
![]() | This is a documentation subpage for Module:Calendar widget. It may contain usage information, categories and other content that is not part of the original module page. |
{{Module rating }}
Usage
{{#invoke:Calendar widget|calendar}}
Parameters
|year=
– specifies the year to be used when creating a monthly or yearly calendar; when omitted uses current year|month=
– specifies the month to be used when creating a monthly calendar in the year specified by|year=
; accepts a variety values:- numbers
1
to12
– defaults to current month when month number is out of range - month names (
January
,March
, etc) – defaults to current month when month name is not recognized - keywords:
current
– display this current monthlast
– display the month that occurs before the present monthnext
– display the month that occurs after the present month
- numbers
|float=
– position the rendered calendar; default position is at the left page margin:center
– middle of the pageright
– at the right page margin
|iso=
– accepts the single valueyes
; calendar renders in ISO week format (Monday through Sunday)|iso-wk=
– accepts the single valueyes
; calendar renders in ISO week format (Monday through Sunday) with ISO week number in the left column; setting|iso-wk=yes
automatically sets|iso=yes
|lk=
– various date component linking options:d
– link to calendar day of calendar monthm
– link to month articley
– link to year articledm
– link to days and monthdy
– link to days and yearmy
– link to month and yearyes
– link all date components
|show-today=
– accepts the single valueyes
; highlights the current date in the current-month calendar