| /EmbedObject /Include /MailTo /MonthCalendar |
MonthCalendar
This macro is for those who want to use MoinMoin as a Personal Information Manager and need a calendar wiki integration.
Usage
<<MonthCalendar(BasePage,year,month,monthoffset,monthoffset2,height6,anniversary,template)>>
Parameter name |
Possible values |
Default value |
Description |
BasePage |
Page name |
current page |
Base page for calendar entry pages. |
year |
Integer number |
current year |
Year to display on calendar. |
month |
1..12 |
current month |
Base month using for displaying calendar. See also monthoffset, monthoffset2. |
monthoffset |
Integer number |
0 |
Offset added to month for displaying. |
monthoffset2 |
Integer number |
0 |
Offset added to month for navigation links (previous/next month/year). |
height6 |
0 or 1 |
0 |
When this parameter set to 1, calendar aligned at height of 6 lines. |
anniversary |
0 or 1 |
0 |
Year calendar (no year in page links). |
template |
Page name |
— |
Template page used for calendar event pages creation. |
Each parameter can be empty and then defaults to currentpage or currentdate or monthoffset=0
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. To get a summary in that pop-up, put the summary in a heading 1 case, like = Big Birthday Today! =
Examples
The simplest version looks like this:
Markup |
Result |
|
|||||||||||||||||||||||||||||||||||||||||||||||||
<<MonthCalendar>> |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
Markup |
Result |
|
|||||||||||||||||||||||||||||||||||||||||||||||||
<<MonthCalendar(OtherUser,,,-1)>> |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
Markup |
Result |
|
|||||||||||||||||||||||||||||||||||||||||||||||||
<<MonthCalendar(SampleUser,,12)>> |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
Markup |
Result |
|
|||||||||||||||||||||||||||||||||||||||||||||||||
<<MonthCalendar(,,12)>> |
| ||||||||||||||||||||||||||||||||||||||||||||||||||
