Template:ISOCALENDAR/doc

You might also want to check out Module:Calendar widget or Template:Calendar.

Parameters
All parameters are optional.


 * and  may be fully spelt out, abbreviated or numeric.
 * The numbering for  and   is in accordance with ISO 8601 (ISO week date: Monday → 1, Tuesday → 2, ... Sunday → 7)

Title
The calendar title is determined by  (the first unnamed parameter), the default is the month and year of the calendar displayed.

Month
The month of the calendar displayed is determined by.
 * If  is specified, then the year can be specified with , the default is the current year.
 * If  is not specified but   is a valid time the month and/or year is set to match the title, the default is the current month and/or year.

Highlighting
By default the current day is highlighted. To highlight (an)other day(s) use  and. gives the week and  the day of the week to be highlighted.
 * Together they determine a specific day to be highlighted.
 * alone will highlight the whole week.
 * alone will highlight the given week day for the whole month.

Displaying the current month
To display the current month use.

Displaying a given month of the current year
A given month of this year can be specified with. Alternatively,  can be used. Perhaps you want a different title e.g..

Displaying a given month of a given year
A given month and year can be specified with  like this. Alternatively  and   can be used. Perhaps you want a different title e.g. "Quintilis".

Highlight a week, a day of the week, or a day, or a date, or hide display of the week column
You can highlight "Saturday of week 3 in January 2021", "all of week 6 in February 2021", or "all Thursdays of March 2021" like this:

Highlighting a specific date based on a timestamp is somewhat more difficult, because you can't just pass the date into this template, you have to calculate the week number and day of week. Luckily, we have ParserFunctions that can parse all sorts of time data (in which there are even ready-made functions to get zero-padded ISO 8601 numbers:  for week and   for day-of-week). This can be done like so:

Single-line format looks like:

Adjusting the width
gives

Sub-templates
The main Template:ISOCALENDAR calls
 * /month
 * /week
 * /week/first
 * /week/last
 * /day