1 [[!template id=plugin name=calendar author="[[ManojSrivastava]]"]]
4 This plugin provides a [[ikiwiki/directive/calendar]] [[ikiwiki/directive]].
5 The directive displays a calendar, similar to the typical calendars shown on
8 The [[ikiwiki-calendar]] command is used to keep the calendar up-to-date.
12 The output is liberally sprinkled with classes, for fine grained CSS
15 * `month-calendar` - The month calendar as a whole.
16 * `month-calendar-head` - The head of the month calendar (ie,"March").
17 * `month-calendar-day-head` - A column head in the month calendar (ie, a
18 day-of-week abbreviation).
19 * `month-calendar-day-noday`, `month-calendar-day-link`,
20 `month-calendar-day-nolink`, `month-calendar-day-future`,
21 `month-calendar-day-this-day` - The day squares on the month calendar,
22 for days that are not in the month (before or after the month itself), that
23 don't have links, that do have links, that are in the future, or are that
24 are the current day, respectively.
25 * `Sunday`, `Monday`, `Tuesday`, ... - Each day square is also given a class
26 matching its (localised) day of week, this can be used to highlight
28 * `year-calendar` - The year calendar as a whole.
29 * `year-calendar-head` - The head of the year calendar (ie, "2007").
30 * `year-calendar-subhead` - For example, "Months".
31 * `year-calendar-month-link`, `year-calendar-month-nolink`,
32 `year-calendar-month-future`, `year-calendar-this-month` - The month
33 squares on the year calendar, for months with stories,
34 without, in the future, and currently selected, respectively.