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