Template:DPL Calendar/arguments zh-tw

From FollowTheScore
Revision as of 14:40, 9 December 2007 by Roc michael (talk | contribs) (New page: 您可以如下的方式使用<nowiki>{{:Current events zh-tw|namespace=Test|purpose=Michael's events¦dpl group's event|width=500px}}</nowiki> 此日曆有如下的參數(parameters): *...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

您可以如下的方式使用{{:Current events zh-tw|namespace=Test|purpose=Michael's events¦dpl group's event|width=500px}} 此日曆有如下的參數(parameters):

  • year - 預設值為今年。
  • month - 預設值為本月。
  • purpose - empty or a string which will be used as a category filter. Only events belonging to that category will be shown. You can even specify a group of purposes by using the broken pipe (¦) character as a separator.
  • namespace - empty or a namespace string. Only event defined in articles in that namespace will be shown; new events will be created in an article which belongs to that namespace
  • show - empty or the name of a chpater in the event articles; the contents of that chapter will be included below the title of the article. The chapter can also contain an image.
  • 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
  • nolink = empty or '1'; when set to '1' the calendar will not contain a link to the event page. Instead the day number will link to the event list. Using this option with "eventList=no" does not make sense. If nolinks is set to '1', noadd is implicitly set to '1'.