1 Date: Sat, 24 Jan 2009 19:18:24 +0100
2 Mime-Version: 1.0 (Produced by PhpWiki 1.3.14-20080124)
4 Content-Type: application/x-phpwiki;
5 pagename=Help%2FCalendarPlugin;
9 Content-Transfer-Encoding: binary
11 The *Calendar* [plugin|Help:WikiPlugin] can be used to generate a monthly calendar in a
12 wiki page. It's handy for [personal wikis|PhpWiki:PersonalWiki].
14 Individual dates in the calendar link to specially named wiki pages.
15 The names for the "day pages" are by default formed by appending the
16 date to the pagename on which the calendar appears.
29 === Selection of Month
31 <strong>year</strong>:
33 Specify the year for the calendar. (Default: current year.)
35 <strong>month</strong>:
37 Specify the month for the calendar. (Default: current month.)
39 <strong>month_offset</strong>:
41 Added to ''month''. Can be used to include several months worth of
42 calendars on a single wiki page.
46 <strong>date_format</strong>:
48 [Strftime|php-function:strftime] style format string used to
49 generate page names for the "day pages." The default value is
52 <strong>prefix</strong>:
54 Prepended to the date (formatted per ''date_format'') to generate
55 the "day page" names. The default value is =~[pagename]/=.
59 <strong>month_format</strong>:
61 [Strftime| php-function:strftime] style format string used to
62 generate the title of the calendar. (Default: =%B %Y=.)
64 <strong>wday_format</strong>:
66 [Strftime| php-function:strftime] style format string used to
67 generate the day-of-week names at the top of the calendar.
69 <strong>start_wday</strong>:
71 What day of the week does the calendar start on. This should be
72 specified as an integer in the range zero (Sunday) through six
73 (Saturday), inclusive.
78 <?plugin Calendar month_offset=+1 ?>
82 <?plugin Calendar month_offset=+1 ?>
85 <?plugin Calendar start_wday=0 ?>
89 <?plugin Calendar start_wday=0 ?>
93 Help:CalendarListPlugin.
95 Often used together like this:
99 <?plugin CalendarList ?>
104 This feature was inspired by [Calendar|http://manila.userland.com/],
105 and first implemented by [Gary Benson|PhpWiki:GaryBenson]. It was later implemented as a
106 [plugin|Help:WikiPlugin] by [Jeff Dairiki|PhpWiki:JeffDairiki].
109 [PhpWikiDocumentation] [CategoryWikiPlugin]