]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/plugins/calendar.mdwn
Allow hooks to add sorting functions to pagespec_match_list
[git.ikiwiki.info.git] / doc / plugins / calendar.mdwn
1 [[!template id=plugin name=calendar author="[[ManojSrivastava]]"]]
2 [[!tag type/widget]]
4 This plugin provides a [[ikiwiki/directive/calendar]] [[ikiwiki/directive]].
5 The directive displays a calendar, similar to the typical calendars shown on
6 some blogs. 
8 The [[ikiwiki-calendar]] command is used to keep the calendar up-to-date.
10 ## CSS
12 The output is liberally sprinkled with classes, for fine grained CSS
13 customization.
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
27   weekends.
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.