]> sipb.mit.edu Git - ikiwiki.git/blob - doc/plugins/contrib/monthcalendar.mdwn
pointer
[ikiwiki.git] / doc / plugins / contrib / monthcalendar.mdwn
1 # Monthcalendar
2
3 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.
4
5 ## Usage
6
7 ### Directive
8
9     \[[!monthcalendar type="month" year="2012" month="06" pages="events/*"]]
10
11 ### Automation
12
13 By using the following line in template `calendarmonth.tmpl`, you can have `ikiwiki-calendar` using this plugin to display monthly archives.
14
15     \[[!monthcalendar type="month" year="<TMPL_VAR YEAR>" month="<TMPL_VAR MONTH>" pages="<TMPL_VAR PAGESPEC>"]]
16
17 ## Code
18
19 Code and documentation can be found here : [[https://atelier.gresille.org/projects/gresille-ikiwiki/wiki/Monthcalendar]].
20
21 ## Example
22
23 This plugin is used in [our website](http://www.gresille.org/evenements/calendrier/2012/03)