1 [[!meta author="spalax"]]
2 [[!template id=plugin name=monthcalendar author="[[Louis|spalax]]"]]
6 This plugin displays a calendar, containing in each of its day the list of links of pages published on this day. It can be used, for example, to display archives of blog posts, or to announce events.
8 The difference between this plugin and the [[plugins/calendar]] plugin is that the calendar displayed by this plugin is a big one, containing the full title of every page indexed in it.
14 \[[!monthcalendar type="month" year="2012" month="06" pages="events/*"]]
18 By using the following line in template `calendarmonth.tmpl`, you can have `ikiwiki-calendar` using this plugin to display monthly archives.
20 \[[!monthcalendar type="month" year="<TMPL_VAR YEAR>" month="<TMPL_VAR MONTH>" pages="<TMPL_VAR PAGESPEC>"]]
24 Here is an example of CSS properly rendering the calendar produced by this
26 [[!toggle id=css text="CSS"]]
27 [[!toggleable id=css text="""
42 border: 1px solid #ccc;
45 #content .monthcalendar td
60 vertical-align: middle;
67 list-style-position: inside;
80 .monthcalendar .selflink
85 .monthcalendar-day-head {
86 text-transform:capitalize;
90 text-transform:capitalize;
93 .monthcalendar-daynumber
109 .monthcalendar-pagelist {
111 flex-direction: column;
114 .monthcalendar-item {
119 .monthcalendar-item:target {
127 Code and documentation can be found here : [[https://atelier.gresille.org/projects/gresille-ikiwiki/wiki/Monthcalendar]].