Difference between revisions of "User:Roc michael/Calendar study"

From FollowTheScore
Jump to: navigation, search
(New page: ==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 - defaul...)
 
Line 8: Line 8:
 
* width = empty or a width specification for the table, e.g. '500px' or '100%'; default is to make the calendar as small as possible
 
* 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
 
* noadd = empty or '1'; when set to '1' the calendar will not offer a link to create an event page
 
 
  
 
<small>
 
<small>
  [[Current events]]
+
  [[Current events zh-tw]]
  [[Template:Calendar month]]
+
  [[Template:Calendar month zh-tw]]
  [[Template:CalendarSingle]]
+
  [[Template:CalendarSingle zh-tw]]
 
  [[Template:Calendar link]]
 
  [[Template:Calendar link]]
 
  [[Template:Calendar/MonthStartMon]]
 
  [[Template:Calendar/MonthStartMon]]
Line 31: Line 29:
 
</small>
 
</small>
  
 
+
*[[Test calendar]]
[[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}}
 

Revision as of 05:11, 9 December 2007

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

Current events zh-tw
Template:Calendar month zh-tw
Template:CalendarSingle zh-tw
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