Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Wiki Markup
h4. Macro Code
{code}
{calendar:id=MYCALENDAR|title=MYCALENDAR}
{code}

h4. 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 | (x) | Month | Allows the default view of the calendar to be specified. May be 'event', 'day', 'week' or 'month' (the default)|
||firstDay | (x)| Monday | Allows the specification of the first day of the week. May be any day of the week. Defaults to Monday. |

h4. Result
{calendar:id=calendar|title=My Calendar|firstDay=Sunday}

h1. Calendar-Events
h4. Macro Code
{code}
{calendar-events:page=PAGENAME|calendarId=CALENDARID}
{code}

h4. 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. |

h4. Result
{calendar-events:page=Calendar Plugin|calendarId=calendar}