Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
CalendarPlugin
Edit
PageHistory
Diff
Info
LikePages
The CalendarPlugin can be used to generate a monthly calendar in a wiki page. It's handy for [HomePages|Category:HomePage]. Individual dates in the calendar link to specially named wiki pages. The names for the "day pages" are by default formed by appending the date to the pagename on which the calendar appears. ''This feature was inspired by [Manila|http://manila.userland.com/], and first implemented by Gary Benson. It was later implemented as a WikiPlugin by Jeff Dairiki.'' !! Usage <verbatim> <?plugin Calendar?> </verbatim> wil get you: <?plugin Calendar?> -------- !!! Plugin Arguments !! Selection of Month <tt>year</tt>: Specify the year for the calendar. (Default: current year.) <tt>month</tt>: Specify the month for the calendar. (Default: current month.) <tt>month_offset</tt>: Added to ''month''. Can be used to include several months worth of calendars on a single wiki page. <?plugin Calendar month_offset=+1?> !! "Day Page" Names <tt>date_format</tt>: [Strftime | php-function:strftime] style format string used to generate page names for the "day pages." The default value is <tt>%Y-%m-%d</tt>. <tt>prefix</tt>: Prepended to the date (formatted per <tt>date_format</tt>) to generate the "day page" names. The default value is <tt>~[pagename]:</tt>. !! Appearance <tt>month_format</tt>: [Strftime | php-function:strftime] style format string used to generate the title of the calendar. Default: <tt>%B, %Y</tt> <tt>wday_format</tt>: [Strftime | php-function:strftime] style format string used to generate the day-of-week names at the top of the calendar. <tt>start_wday</tt>: What day of the week does the calendar start on. This should be specified as an integer in the range zero (Sunday) through six (Saturday), inclusive. <?plugin Calendar start_wday=1 ?> ---- PhpWikiDocumentation
One page links to
CalendarPlugin
:
WikiPlugin