Changes between Version 31 and Version 32 of WikiCalendarMacro


Ignore:
Timestamp:
Jan 1, 2010, 12:38:08 AM (5 years ago)
Author:
rjollos
Comment:

Updating wiki page to agree with current trunk version

Legend:

Unmodified
Added
Removed
Modified
  • WikiCalendarMacro

    v31 v32  
    33== Description ==
    44
    5 Renders a calendar of links to date-based wiki pages.  Its primary use is for maintaining a calendar of meeting minutes, but it can be used in any situation where the wiki page name is based on the date.  It is designed to work well with the [trac:MacroBazaar#Blog Blog] macro, so if a previous month is selected from the Blog, the calendar will display the selected month.
     5Inserts a small calendar where each day links to a wiki page whose name matches the `wiki-page-format` agument. The current day is highlighted, and days with Milestones are marked in bold. This version makes heavy use of CSS for formatting.
    66
    7 Non-existent pages link directly to the edit form for the requested page to make it easy to add new meeting minutes pages.
     7It can be used for maintaining a calendar of meeting minutes or any situation where the wiki page name is based on the date.  It is designed to work well with the [trac:MacroBazaar#Blog Blog] macro, so if a previous month is selected from the Blog, the calendar will display the selected month.
    88
    9 It takes one argument to specify the format of the page names.  It uses the time format syntax from the Python [http://python.org/doc/current/lib/module-time.html time module]'s {{{strftime}}} method.
     9Non-existent pages link directly to the edit form for the requested page to make it easy to add new meeting minutes pages.  It uses the time format syntax from the Python [http://python.org/doc/current/lib/module-time.html time module]'s {{{strftime}}} method.
    1010
    1111== Bugs/Feature Requests ==
     
    2828
    2929== Example ==
     30   
     31Usage:
     32{{{
     33[[WikiCalendar([year, [month, [show-buttons, [wiki-page-format]]]])]]
     34}}}
     35
     36Arguments:
     37 1. `year` (4-digit year) - defaults to `*` (current year)
     38 1. `month` (2-digit month) - defaults to `*` (current month)
     39 1. `show-buttons` (boolean) - defaults to `true`
     40 1. `wiki-page-format` (string) - defaults to `%Y-%m-%d`
    3041
    3142{{{
    32 [[WikiCalendar(Meeting-%Y-%m-%d)]]
     43[[WikiCalendar(2006,07)]]
     44[[WikiCalendar(2006,07,false)]]
     45[[WikiCalendar(*,*,true,Meeting-%Y-%m-%d)]]
     46[[WikiCalendar(2006,07,false,Meeting-%Y-%m-%d)]]
    3347}}}
    3448