Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Macro

...

Code

{
Code Block
}
{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

Parameters

Name

Required

Default

Description

id

(tick)

N/A

The unique identifier that identifies this calendar. Must be unique per page. May only contain numbers and letters of the alphabet.

title

(tick)

N/A

The human-friendly title for the default sub-calendar. Not necessarily unique.

defaultView

(error)

Month

Allows the default view of the calendar to be specified. May be 'event', 'day', 'week' or 'month' (the default)

firstDay

(error)

Monday

Allows the specification of the first day of the week. May be any day of the week. Defaults to Monday.

Result

Team Calendars
firstDaySunday
id08eeae04-0e5f-46c1-b160-9ea0f7612419,5872de82-756f-4980-a33f-0d0c7dde3f66,ec4b3f73-12ae-492f-a905-57e06a93f408,6a294c4e-e319-40cb-b21f-4c13a6a0004b,calendar
titleMy Calendar

Calendar-Events

Macro Code

Code Block
=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 

Parameters

Name

Required

Default

Description

page

(tick)

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

(tick)

N/A

...

The

...

ID

...

of

...

the

...

calendar

...

to

...

display

...

events

...

for.

Result

Wiki Markup
 |

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