| 
				   | 
				
| Line 1: | 
Line 1: | 
| − | ==Calendar Demo==
  |   | 
| − | Now we are going to include ''Current events'' which will give us the actual calendar right here. ''Current events'' understands the following parameters:
  |   | 
| − | * year - defaults to the current year
  |   | 
| − | * month - defaults to the current month
  |   | 
| − | * purpose - empty or a string which will be used as a category filter. Only events belonging to that category will be shown.
  |   | 
| − | * namespace - empty or a namespace string. Only event defined in articles in that namespace will be shown; new events wilöl be created in an article which belongs to that namespace
  |   | 
| − | * eventList = {no|current|all}, defaults to 'current'; produces a tabular report of the selected events
  |   | 
| − | * width = empty or a width specification for the table, e.g. '500px' or '100%'; default is to make the calendar as small as possible
  |   | 
| − | * noadd = empty or '1'; when set to '1' the calendar will not offer a link to create an event page
  |   | 
|   |  |   |  | 
| − | 
  |   | 
| − | 
  |   | 
| − | <small>
  |   | 
| − |  [[Current events]]
  |   | 
| − |  [[Template:Calendar month]]
  |   | 
| − |  [[Template:CalendarSingle]]
  |   | 
| − |  [[Template:Calendar link]]
  |   | 
| − |  [[Template:Calendar/MonthStartMon]]
  |   | 
| − |  [[Template:Calendar/MonthStartTue]]
  |   | 
| − |  [[Template:Calendar/MonthStartWed]]
  |   | 
| − |  [[Template:Calendar/MonthStartThu]]
  |   | 
| − |  [[Template:Calendar/MonthStartFri]]
  |   | 
| − |  [[Template:Calendar/MonthStartSat]]
  |   | 
| − |  [[Template:Calendar/MonthStartSun]]
  |   | 
| − |  [[Template:!]]
  |   | 
| − |  [[Template:(!]]
  |   | 
| − |  [[Template:!)]]
  |   | 
| − |  [[Event template]]
  |   | 
| − |  [[Event intro]]
  |   | 
| − |  [[Template:Event]]
  |   | 
| − | </small>
  |   | 
| − | 
  |   | 
| − | [[Test calendar]]
  |   | 
| − | ==Calendar test==
  |   | 
| − | Calendar Settings
  |   | 
| − | <pre>{{:Current events|namespace=Test|purpose=Michael's events¦dpl group's event |width=500px}}</pre>
  |   | 
| − | *[[:category:Michael's events]]
  |   | 
| − | *[[:category:dpl group's event]]
  |   | 
| − | {{:Current events|namespace=Test|purpose=Michael's events¦dpl group's event|width=500px}}
  |   | 
| − | 
  |   | 
| − | Calendar Settings (currently the link works only with ONE purpose)
  |   | 
| − | <pre>{{:Current events|namespace=Test|purpose=Michael's events|width=500px}}</pre>
  |   | 
| − | {{:Current events|namespace=Test|purpose=Michael's events|width=500px}}
  |   | 
| − | 
  |   | 
| − | *[[Current events Zh-tw]]
  |   | 
| − | {{:Current events zh-tw|namespace=Test|purpose=Michael's events¦dpl group's event|width=500px}}
  |   |