1
## Please edit system and help pages ONLY in the master wiki!
2
## For more information, please see MoinMoin:MoinDev/Translation.
5
#acl -All:write Default
9
<<Navigation(siblings)>>
14
This macro is for those who want to use MoinMoin as a Personal Information Manager and need a calendar wiki integration.
19
<<MonthCalendar(BasePage,year,month,monthoffset,monthoffset2,height6,anniversary,template)>>
21
each parameter can be empty and then defaults to currentpage or currentdate or monthoffset=0
26
Calendar of Page SampleUser, this year's december:
27
<<MonthCalendar(SampleUser,,12)>>
29
Calendar of current Page, this year's december:
30
<<MonthCalendar(,,12)>>
32
Calendar of December, 2001:
33
<<MonthCalendar(,2001,12)>>
35
Calendar of the month two months after December, 2001
36
(maybe doesn't make much sense, but is possible)
37
<<MonthCalendar(,2001,12,+2)>>
39
Calendar of year 2002 (every month padded to height of 6):
41
||<<MonthCalendar(,2002,1,,,1)>>||<<MonthCalendar(,2002,2,,,1)>>||<<MonthCalendar(,2002,3,,,1)>>||
42
||<<MonthCalendar(,2002,4,,,1)>>||<<MonthCalendar(,2002,5,,,1)>>||<<MonthCalendar(,2002,6,,,1)>>||
43
||<<MonthCalendar(,2002,7,,,1)>>||<<MonthCalendar(,2002,8,,,1)>>||<<MonthCalendar(,2002,9,,,1)>>||
44
||<<MonthCalendar(,2002,10,,,1)>>||<<MonthCalendar(,2002,11,,,1)>>||<<MonthCalendar(,2002,12,,,1)>>||
46
Current calendar of me, also showing entries of A and B:
47
<<MonthCalendar(MyPage*TestUserA*TestUserB)>>
50
<<MonthCalendar(MyName/CalPrivate)>>
51
<<MonthCalendar(MyName/CalBusiness)>>
52
<<MonthCalendar(MyName/CalBusiness*MyName/CalPrivate)>>
54
Anniversary Calendars: (no year data)
55
<<MonthCalendar(Yearly,,,+1,,6,1)>>
57
This creates calendars of the format Yearly/MM-DD
58
By leaving out the year, you can set birthdays, and anniversaries in this
59
calendar and not have to re-enter each year.
61
This creates a calendar which uses MonthCalendarTemplate for directly editing
62
nonexisting day pages:
63
<<MonthCalendar(,,,,,,MonthCalendarTemplate)>>
68
The simplest version looks like this:
71
The previous month's calendar for page "OtherUser" looks like that:
72
<<MonthCalendar(OtherUser,,,-1)>>
74
see also: HelpOnMacros
78
When an event is entered on a date, that date will be highlighted on the calendar, which you can also mouse over and get a javascript pop-up.
79
To get a summary in that pop-up, put the summary in a heading 1 case, like {{{= Big Birthday Today! =}}}