aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorspalax <spalax@web>2012-06-07 19:47:45 -0400
committeradmin <admin@branchable.com>2012-06-07 19:47:45 -0400
commite2cff3e27ee6b179822bbea6a2f93307ade18433 (patch)
treef417e6fd9fdcf3cbe5dc095432e69c3d9919eb87 /doc
parent5a1e11f4d6a886d75e1fd53f495dc7495d81a66c (diff)
downloadikiwiki-e2cff3e27ee6b179822bbea6a2f93307ade18433.tar
ikiwiki-e2cff3e27ee6b179822bbea6a2f93307ade18433.tar.gz
Contrib plugin monthcalendar
Diffstat (limited to 'doc')
-rw-r--r--doc/plugins/contrib/monthcalendar.mdwn23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/plugins/contrib/monthcalendar.mdwn b/doc/plugins/contrib/monthcalendar.mdwn
new file mode 100644
index 000000000..d48e4d6b7
--- /dev/null
+++ b/doc/plugins/contrib/monthcalendar.mdwn
@@ -0,0 +1,23 @@
+# Monthcalendar
+
+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.
+
+## Usage
+
+### Directive
+
+ \[[!monthcalendar type="month" year="2012" month="06" pages="events/*"]]
+
+### Automation
+
+By using the following line in template `calendarmonth.tmpl`, you can have `ikiwiki-calendar` using this plugin to display monthly archives.
+
+ \[[!monthcalendar type="month" year="<TMPL_VAR YEAR>" month="<TMPL_VAR MONTH>" pages="<TMPL_VAR PAGESPEC>"]]
+
+## Code
+
+Code and documentation can be found here : [[https://atelier.gresille.org/projects/gresille-ikiwiki/wiki/Monthcalendar]].
+
+## Example
+
+This plugin is used in [our website](http://www.gresille.org/evenements/calendrier/2012/03)