Macro Code
Code Block |
---|
{calendar:id=MYCALENDAR|title=MYCALENDAR} |
Parameters
Name | Required | Default | Description |
---|---|---|---|
id |
| N/A | The unique identifier that identifies this calendar. Must be unique per page. May only contain numbers and letters of the alphabet. |
title |
| N/A | The human-friendly title for the default sub-calendar. Not necessarily unique. |
defaultView |
| Month | Allows the default view of the calendar to be specified. May be 'event', 'day', 'week' or 'month' (the default) |
firstDay |
| Monday | Allows the specification of the first day of the week. May be any day of the week. Defaults to Monday. |
Result
Wiki Markup |
---|
{calendar:id=calendar|title=My Calendar|firstDay=Sunday} |
Calendar-Events
Macro Code
Code Block |
---|
{calendar-events:page=PAGENAME|calendarId=CALENDARID} |
Parameters
Name | Required | Default | Description |
---|---|---|---|
page |
| N/A | The name of the page containing the calendar. May be just the page name ('My Page') for local pages, or prefixed with the space key ('SPACE:My Page') for those elsewhere. |
calendarId |
| N/A | The ID of the calendar to display events for. |
Result
Wiki Markup |
---|
{calendar-events:page=Calendar Plugin|calendarId=calendar} |