Difference between revisions of "Calendar zh-tw/Demo"
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)...) |
Roc michael (talk | contribs) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 14: | Line 14: | ||
<nowiki>{{:Current events zh-tw|namespace=Test|purpose=Michael's events¦dpl group's event|width=500px}}</nowiki> | <nowiki>{{:Current events zh-tw|namespace=Test|purpose=Michael's events¦dpl group's event|width=500px}}</nowiki> | ||
{{:Current events zh-tw|namespace=Test|purpose=Michael's events¦dpl group's event|width=500px}} | {{:Current events zh-tw|namespace=Test|purpose=Michael's events¦dpl group's event|width=500px}} | ||
− | |||
− | |||
− |
Latest revision as of 13:06, 11 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}, 預設值為'current';可產生一可表格式的報表來呈現您所指定的記事(events)。
- width = 可不設定本參數,或指定一寬度值像是'500px' 或 '100%'; 預設值為將使您的行事曆以最小面積的方式來呈現。
- noadd = 可不設定本參數或可設為 '1'; 當您設定此一參數為'1'時,則此一行事曆將不會顯示可用於新增記事的超連結(link)。
- nolink = 可不設定本參數或可設為 '1'; 當您設定此一參數為'1'時,則此一行事曆上的記事將不會顯示可連到該頁面的超連結(link)而是由該日的日期提供您連至頁面所需的超連結,使用此一參數配合"eventList=no" 則是不合理的使用方式。如果此參數設為'1'則noadd參數也就設為'1'了。
{{:Current events zh-tw|namespace=Test|purpose=Michael's events¦dpl group's event|width=500px}}
{{#vardefine:year
|2024}}{{#vardefine:month |11}} {{#vardefine:width|500px}}{{#vardefine:noadd|}}{{#vardefine:nolink|}}{{#vardefine:purpose|Michael's events¦dpl group's event}}{{#vardefine:show|}}{{#vardefine:namespace|Test}}
|
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Unknown parameter 'addnamespace' was ignored. Help: available parameters: addauthor, addcategories, addcontribution, addeditdate, addexternallink, addfirstcategorydate, addlasteditor, addpagecounter, addpagesize, addpagetoucheddate, adduser, allowcachedresults, allrevisionsbefore, allrevisionssince, articlecategory, cacheperiod, categoriesminmax, category, categorymatch, categoryregexp, columns, count, createdby, debug, distinct, dominantsection, eliminate, escapelinks, execandexit, firstrevisionsince, fixcategory, format, headingcount, headingmode, hiddencategories, hitemattr, hlistattr, ignorecase, imagecontainer, imageused, include, includematch, includematchparsed, includemaxlength, includenotmatch, includenotmatchparsed, includepage, includesubpages, includetrim, inlinetext, itemattr, lastmodifiedby, lastrevisionbefore, linksfrom, linksto, linkstoexternal, listattr, listseparators, maxrevisions, minoredits, minrevisions, mode, modifiedby, multisecseparators, namespace, noresultsfooter, noresultsheader, notcategory, notcategorymatch, notcategoryregexp, notcreatedby, notlastmodifiedby, notlinksfrom, notlinksto, notmodifiedby, notnamespace, nottitlematch, nottitleregexp, notuses, offset, oneresultfooter, oneresultheader, openreferences, order, ordercollation, ordermethod, qualitypages, randomcount, redirects, replaceintitle, reset, resultsfooter, resultsheader, rowcolformat, rows, rowsize, scroll, secseparators, showcurid, shownamespace, skipthispage, stablepages, suppresserrors, table, tablerow, tablesortcol, title, titlegt, titlelt, titlematch, titlemaxlength, titleregexp, usedby, userdateformat, uses
.