Template:DPL Calendar/arguments zh-tw

From FollowTheScore
Revision as of 16:07, 9 December 2007 by Roc michael (talk | contribs)
Jump to: navigation, search

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

  • year - 預設值為今年。
  • month - 預設值為本月。
  • purpose - 可不設定本參數,一經設定本參數後,則僅屬於指定分類(category)的紀事(events)才會被顯示出來,本項目可以設定多個項目,以管線符號(¦)來分隔多項。
  • namespace - 可不設定本參數,一經設定本參數後,則僅屬於指定名字空間(namespace)的紀事(events)才會被顯示出來,且新增紀事時該頁面名稱也會配套的使用該名字空間。
  • show - 可不設定本參數,或設定纪事頁面中的章節名稱(chpater name),而該章節的內容則會在行事曆中被顯示出來,若內容含有圖片(images)時,該圖片亦會被顯示出來。
  • 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'.