Content added Content deleted
imported>mutante mNo edit summary |
No edit summary |
||
Line 9:
name=YourUserName
view=year
format=%name_%year_%
</calendar>
</pre>
Line 34:
is a name for the calendar and changes the names of the day pages.
"format"
defaults to '%name_%year_%
of the day pages.
"formattitle"
Line 46:
above. examples are:
date="
date="next monday"
date="
"weekstart"
week starts on 1=monday ... 7=sunday. default is 1
format
|
Revision as of 04:04, 11 April 2007
The calendar has been created by calendar extension for mediawiki by [krass.com,(download)
You can also create the same or other calendars on other wiki pages.
example:
<calendar> name=YourUserName view=year format=%name_%year_%month_�y </calendar>
You can also drop the format line because it defaults to the above, the format influences the name of the wiki pages created for each day, if you use a different name, it will become a prefix in wiki page names, therefore not interfering with other calendars. Test this in preview mode.
Calendar tag options
<calendar> name=krass view=year </calendar>
The parameters work like this:
"view"
can be "week","month","threemonths" and "year" (default).
"name"
is a name for the calendar and changes the names of the day pages.
"format"
defaults to '%name_%year_%month_�y' and describes the names of the day pages.
"formattitle"
formats the titles in today/days/week view
"day","month","year"
you can specify the date of the calendar, it defaults to today. currently this doesn't work with "view=week"
"date"
this takes a php strtotime ( http:://www.php.net/strtotime ) option and overrides the "day","month","year" option above. examples are: date=" 1 week" date="next monday" date=" 7 days"
"weekstart"
week starts on 1=monday ... 7=sunday. default is 1
format