Difference between revisions of "Template:DPL Calendar/arguments zh-tw"

From FollowTheScore
Jump to: navigation, search
(New page: 您可以如下的方式使用<nowiki>{{:Current events zh-tw|namespace=Test|purpose=Michael's events¦dpl group's event|width=500px}}</nowiki> 此日曆有如下的參數(parameters): *...)
 
Line 1: Line 1:
您可以如下的方式使用<nowiki>{{:Current events zh-tw|namespace=Test|purpose=Michael's events¦dpl group's event|width=500px}}</nowiki> 此日曆有如下的參數(parameters):
+
您可以如下的方式使用<nowiki>{{:Current events zh-tw|namespace=Test|purpose=Michael's events¦dpl group's event|width=500px}}</nowiki> 此行事曆有如下的參數(parameters):
 
* year - 預設值為今年。
 
* year - 預設值為今年。
 
* month - 預設值為本月。
 
* 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.
+
* purpose - 可不設定本參數,一經設定本參數後,則僅屬於指定分類(category)的紀事(events)才會被顯示出來,本項目可以設定多個項目,以管線符號(¦)來分隔多項。
* 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
+
* namespace - 可不設定本參數,一經設定本參數後,則僅屬於指定名字空間(namespace)的紀事(events)才會被顯示出來,且新增紀事時該頁面名稱也會配套的使用該名字空間。
* 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.
+
* show - 可不設定本參數,或設定纪事頁面中的章節名稱(chpater name),而該章節的內容則會在行事曆中被顯示出來,若內容含有圖片(images)時,該圖片亦會被顯示出來。
 
* eventList = {no|current|all}, defaults to 'current'; produces a tabular report of the selected events
 
* 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
 
* 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
 
* 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'.
 
* 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'.

Revision as of 16:07, 9 December 2007

您可以如下的方式使用{{: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'.