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

From FollowTheScore
Jump to: navigation, search
(Redirecting to Calendar)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
您可以如下的方式使用<nowiki>{{:Current events zh-tw|namespace=Test|purpose=Michael's events¦dpl group's event|width=500px}}</nowiki> 此行事曆有如下的參數(parameters):
+
#REDIRECT [[Calendar]]
* year - 預設值為今年。
 
* month - 預設值為本月。
 
* purpose - 可不設定本參數,一經設定本參數後,則僅屬於指定分類(category)的紀事(events)才會被顯示出來,本項目可以設定多個項目,以管線符號(¦)來分隔多項。
 
* namespace - 可不設定本參數,一經設定本參數後,則僅屬於指定名字空間(namespace)的紀事(events)才會被顯示出來,且新增紀事時該頁面名稱也會配套的使用該名字空間。
 
* show - 可不設定本參數,或設定纪事頁面中的章節名稱(chpater name),而該章節的內容則會在行事曆中被顯示出來,若內容含有圖片(images)時,該圖片亦會被顯示出來。
 
* eventList = {no|current|all}, 預設值為'current';可產生一可表格式的報表來呈現您所指定的紀事(events)。
 
* width = 可不設定本參數,或指定一寬度值像是'500px' 或 '100%'; 預設值為將使您的行事曆以最小面積的方式來呈現。
 
* noadd = 可不設定本參數或可設為 '1'; 當您設定為一參數時 '1'則此一行事曆將不會顯示可用於新增紀事的超連結(link)。
 
* 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'.
 

Latest revision as of 12:37, 10 December 2007

Redirect to: