The following 99 words could not be found in the dictionary of 615 words (including 615 LocalSpellingWords) and are highlighted below:

and   anniversaries   Anniversary   Base   be   birthdays   Business   but   By   Cal   calendar   Calendar   calendars   Calendars   can   creates   current   Current   currentdate   currentpage   December   december   defaults   Display   each   empty   enter   entries   every   Example   for   format   height   height6   Help   in   Information   integration   leaving   like   looks   macro   Macros   make   Manager   maybe   me   month   Month   monthoffset   monthoffset2   months   much   My   Name   need   no   of   On   or   Other   out   padded   page   Page   parameter   Personal   possible   previous   Private   re   Sample   Samples   see   sense   set   showing   simplest   Sub   Test   that   The   the   then   This   this   those   to   two   Usage   use   User   version   want   who   year   Year   Yearly   you  

Clear message

MonthCalendar

This macro is for those who want to use MoinMoin as a Personal Information Manager and need a calendar wiki integration.

Example

Usage:
[[MonthCalendar(BasePage,year,month,monthoffset,monthoffset2,height6)]]

each parameter can be empty and then defaults to currentpage or currentdate or monthoffset=0


Samples:

Calendar of Page SampleUser, this year's december: 
[[MonthCalendar(SampleUser,,12)]]

Calendar of current Page, this year's december:
[[MonthCalendar(,,12)]]

Calendar of December, 2001:
[[MonthCalendar(,2001,12)]]

Calendar of the month two months after December, 2001
(maybe doesn't make much sense, but is possible)
[[MonthCalendar(,2001,12,+2)]]

Calendar of year 2002 (every month padded to height of 6):
||||||Year 2002||
||[[MonthCalendar(,2002,1,,,1)]]||[[MonthCalendar(,2002,2,,,1)]]||[[MonthCalendar(,2002,3,,,1)]]||
||[[MonthCalendar(,2002,4,,,1)]]||[[MonthCalendar(,2002,5,,,1)]]||[[MonthCalendar(,2002,6,,,1)]]||
||[[MonthCalendar(,2002,7,,,1)]]||[[MonthCalendar(,2002,8,,,1)]]||[[MonthCalendar(,2002,9,,,1)]]||
||[[MonthCalendar(,2002,10,,,1)]]||[[MonthCalendar(,2002,11,,,1)]]||[[MonthCalendar(,2002,12,,,1)]]||

Current calendar of me, also showing entries of A and B:
[[MonthCalendar(MyPage*TestUserA*TestUserB)]]

SubPage calendars:
[[MonthCalendar(MyName/CalPrivate)]]
[[MonthCalendar(MyName/CalBusiness)]]
[[MonthCalendar(MyName/CalBusiness*MyName/CalPrivate)]]

Anniversary Calendars: (no year data)
[[MonthCalendar(Yearly,,,+1,,6,1)]]

This creates calendars of the format Yearly/MM-DD
By leaving out the year, you can set birthdays, and anniversaries in this
calendar and not have to re-enter each year.

Display

The simplest version looks like this:

<< <  2024 / 11 >  >>
Mon Tue Wed Thu Fri Sat Sun
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30  

The previous month's calendar for page "OtherUser" looks like that:

OtherUser
<< <  2024 / 10 >  >>
Mon Tue Wed Thu Fri Sat Sun
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      

see also: HelpOnMacros

HelpOnMacros/MonthCalendar (last modified 2007-04-01 02:20:37)