Content added Content deleted
imported>mutante mNo edit summary |
imported>mutante m (Reverted edits by 89.34.46.50 (Talk); changed back to last version by mutante) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
The calendar has been created by [http://meta.wikimedia.org/wiki/User:Cdamian/calendar calendar extension] for [[mediawiki]] by [[http://krass.com krass.com],([http://krass.com/software/ download]) |
|||
You can also create the same or other calendars on other wiki pages. |
|||
example: |
|||
<pre> |
|||
<calendar> |
|||
name=YourUserName |
|||
view=year |
|||
format=%name_%year_%month_%day |
|||
</calendar> |
|||
</pre> |
|||
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 === |
|||
[http://krass.com/software/wikicalendar.README Calendar format README] |
|||
<pre> |
<pre> |
||
<calendar> |
<calendar> |
Latest revision as of 13:30, 10 June 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_%day </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[edit]
<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_%day' 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 & formattitle accept these substitutions:
%name %day,%month,%year any php date() substitution prefixed with '%', like '%m','%d','%Y'