檢視 模板:Catlist 的原始碼
出自 新化國中wiki平台
←
模板:Catlist
前往:
導覽
,
搜尋
由於下列原因,您沒有權限進行 編輯此頁面 的動作:
您請求的操作只有這個群組的使用者能使用:
使用者
您可以檢視並複製此頁面的原始碼。
正體中文(Tradition Chinese),僅供參考(for reference only),歡迎您一起參與修訂(Welcome to edit it)。 {{#form: name= demo | action={{#replace:{{localurl:{{PAGENAME}}}} |%^([\/]\S*[index.php])([\/])([{{PAGENAME}}]\S*)% |\1 }}| {{#input: name= title | type= hidden | value = Special:Call/Catlist/zh 2}} <table cellpadding=2 cellspacing=0 margins=0 width=100% border rules=cols> <tr valign=top><td width=30% colspan="3"> '''資料選取(Selecting data):''' <table cellpadding=0 cellspacing=0 margins=0> <tr> <td align="right">名字空間(namespace)</td> <td> {{#input: name=namespace | type=select | value = {{{namespace|}}} |<!-- *? {{#dpl: namespace=* | format=,\n*%TITLE%,, }}--> *all *main *Talk *Template *Category *Image *User *DPL *Wgraph }} </td> <td align="right">但非(not)</td> <td> {{#input: name=notnamespace | type=select | value = {{{notnamespace|}}} | *- *main *Talk *Template *Category *Image *User *DPL *Wgraph }} </td> </tr> <!--------------------> <tr> <td align="right">分類(category)</td> <td> {{#input: name=category | value = {{{category|}}} | type=select | *? {{#dpl: namespace=Category | format=,\n*%TITLE%,,}}}} </td> <td align="right">但非(not)</td> <td> {{#input: name=notcategory | value = {{{notcategory|}}} | type= select | *? {{#dpl: namespace=Category | format = ,\n*%TITLE%,,}}}} </td> </tr> <!--------------------> <tr> <td align="right">分類2(and category)</td> <td> {{#input: name= category2 |value = {{{category2|}}} |type= select |*? {{#dpl: namespace=Category | format=,\n*%TITLE%,, }} }} </td> <td align="right"> and not </td> <td> {{#input: name= notcategory2 |value = {{{notcategory2|}}} |type= select |*? {{#dpl: namespace=Category | format = ,\n*%TITLE%,, }} }} </td> </tr> <!--------------------> <tr> <td align="right">內嵌樣板(Template)</td> <td> {{#input: name=uses | value = {{{uses|}}} | type=select | *? {{#dpl: namespace=Template | format=,\n*%TITLE%,,}}}}</td> <td align="right">但非(not)</td> <td> {{#input: name=notuses | value = {{{notuses|}}} | type=select | *? {{#dpl: namespace=Template | format=,\n*%TITLE%,,}}}}</td> </tr> <!--------------------> <tr bgcolor="#ffeedd"> <td align="right">樣板內部參數,研發中無作用(Arguments of Template, still in develop) </td> <td colspan="3"> {{#input: name=temp_arg |size=35| value = {{{temp_arg|}}}}} 例「國名,首都,電話區碼」 (ex: name,capital,dial)</td> </tr> <!--------------------> <tr> <td align="right">頁面名稱(title; 使用時須加百分號「%」)</td> <td> {{#input: name=titlematch | value = {{{titlematch|}}}}}</td> <td align="right">非此頁面名稱(%)</td> <td> {{#input: name=nottitlematch | value = {{{nottitlematch|}}}}}</td> </tr> <!--------------------> <tr bgcolor="#ffeedd"> <td align="right">內含章節名稱(include) </td> <td colspan="3"> {{#input: name=include | value = {{{include|}}}}} 例「#章節A,#章節B」 (ex: #Ch A,#Ch B)</td> </tr> <!--------------------> <tr bgcolor="#ffeedd"> <td align="right">表格樣式:(table class)</td> <td colspan="3"> {{#input: name=class | type=select | value = {{{class|}}} | *- *sortable }}</td> </tr> <!--------------------> <tr bgcolor="#ffeedd"> <td align="right">欄位標題(Title of column)</td> <td colspan="3"> {{#input: name=table | value = {{{table|}}}}} 例「章節A,章節B」 (ex: Ch A,Ch B)</td> </tr> <!--------------------> <tr> <td align="right">連結至某頁(links to) </td> <td> {{#input: name=linksto | value = {{{linksto|}}} }} </td> <td align="right">(無連結至某頁)not to </td> <td> {{#input: name=notlinksto | value = {{{notlinksto|}}} }} </td> </tr> <!--------------------> <tr> <td align="right"> 頁面創建者(created by) </td> <td> {{#input: name= createdby | value = {{{createdby|}}} |type= select | *? {{#dpl: namespace=User | |titleregexp=^[^/]+$ | format=,\n*%TITLE%,, }} }} </td> <td align="right"> 頁面修改者(modified by) </td> <td> {{#input: name= modifiedby | value = {{{modifiedby|}}} |type= select | *? {{#dpl: namespace=User | titleregexp=^[^/]+$ | format=,\n*%TITLE%,, }} }} </td> </tr> <!--------------------> <tr> <td align="right"> 截至某日前最後的版本 last rev. before </td> <td> {{#input: name=lastrevisionbefore | value = {{#if:{{{lastrevisionbefore|}}}|{{{lastrevisionbefore|}}}|YYYY-MM-DD}}}}</td> <td align="right"> 某日後最早的版本 first rev. since </td> <td> {{#input: name=firstrevisionsince | value = {{#if:{{{firstrevisionsince|}}}|{{{firstrevisionsince|}}}|YYYY-MM-DD}}}}</td> </tr> <!--------------------> <tr> <td align="right"> 某日前的所有版本''all revs.'' before</td> <td> {{#input: name=allrevisionsbefore | value = {{#if:{{{allrevisionsbefore|}}}|{{{allrevisionsbefore|}}}|YYYY-MM-DD}}}}</td> <td align="right"> 某日後所有的版本''all revs.'' since</td> <td> {{#input: name=allrevisionssince | value = {{#if:{{{allrevisionssince|}}}|{{{allrevisionssince|}}}|YYYY-MM-DD}}}}</td> </tr></table> </tr> <tr> <!---------------------頁面資訊 Information Display-------------------------------> <td valign=top> <!-----------------*******************************----> 名字空間(namespace){{#input: name= shownamespace |type= select | value = {{{shownamespace|}}} | *yes *no }}<br><!-------------> 分類(categories){{#input: name= addcategories |type= select | value = {{{addcategories|}}} | *no *yes }}<br><!-------------> 子頁面(subpages){{#input: name= includesubpages |type= select | value = {{{includesubpages|}}} | *no *yes }}<br><!-------------> 瀏覽人氣(visits){{#input: name= addpagecounter |type= select | value = {{{addpagecounter|}}} | *no *yes }}<br><!-------------> 頁面字數(size){{#input: name= addpagesize |type= select | value = {{{addpagesize|}}} | *no *yes }}<br><!-------------> 該版本的編輯者(user){{#input: name= adduser |type= select | value = {{{adduser|}}} | *no *yes }}<br><!-------------> 該版本的編輯日期(editdate){{#input: name= addeditdate |type= select | value = {{{addeditdate|}}} | *no *yes }}<br><!-------------> 造訪日(touch date){{#input: name= addpagetoucheddate |type= select | value = {{{addpagetoucheddate|}}} | *no *yes }} </td> <!-----------------------------排序方法(order method)----------------------------------> <td valign=top>'''排序方法(order method):'''<br> 排序依據(sort key) {{#input: name=ordermethod |type=select | value = {{{ordermethod|}}} | *- *category,firstedit *category,lastedit *category,pagetouched *category,sortkey *categoryadd *counter *firstedit *lastedit *pagetouched *size *title *titlewithoutnamespace *user,firstedit *user,lastedit }}<br><!-------------> 升(降)冪(order):{{#input: name=order | type=select | value = {{{order|}}} | *ascending *descending }}<br><!-------------> 以連結取代顯示圖像(image)<br>或分類(category)頁面 (escapelinks):{{#input: name= escapelinks |type= select | value = {{{escapelinks|}}} | *no *yes }}<br><!-------------> 輸出(export):{{#input: name= export |type= select | value = {{{export|}}} | *no *yes }}<br><!-------------> <!-----------------> <div style="margin:0;background-color:#ddeeff;margin-top:0px;padding:0.3em 0.3em 0.3em 0.3em; border:1px solid #999999;font-size:100%;font-weight:bold;">排序依據說明(order method description):</div> <div style="height:60px; overflow:auto; margin:0; margin-top:0px; padding:0.3em .3em 0.5em 0.3em; border:1px solid #999999; background-color:#ffffdd;"> *分類,初次修訂(category,firstedit) *分類,最後修訂(category,lastedit) *分類,瀏覽人氣(category,pagetouched) *分類,排序值(category,sortkey) *最近才加入的分類(categoryadd) *瀏覽人氣(counter) *初次修訂(firstedit) *最後修訂(lastedit) *頁面被瀏覽的時間(pagetouched) *頁面字數(size) *頁面名稱(title) *頁面名稱不含名字空間(titlewithoutnamespace) *作者,首次版本user,firstedit *作者,最終版本user,lastedit </div> <!---------------------> </td> <!-----------------------------版面安排 (Layout)----------------------------------> <td valign=top width=30% valign=top>'''版面安排 (Layout):''' 欄位數量(columns){{#input: name=columns | type=select | value = {{{columns|}}} | *3 *1 *2 *3 *4 *5 }}<br><br> 下次起始值設定(Next <br>time offset value setting) {{#input: name=offset |{{#ifeq:{{{addup_rec}}}|Yes |value = {{{offset_sum|}}} |value = {{{offset|}}} }} | size=2 }}<br><br> 輸出筆數(maxrecords) {{#input: name=count | value = {{{count|}}} | size=2 }}<br> 使用累加紀錄值 {{{offset_sum|}}}(Useing Adding up offset value): {{#input: name=addup_rec | type= select | value = {{{addup_rec|}}} | *No *Yes *No }}<br> {{#input: name=offset_sum |type= hidden |value ={{ #expr:{{{offset_sum|0}}}+{{{count|0}}} }} |size=2 }}<br> 隨機選取頁數(randomcount): {{#input: name=randomcount | type= select | value = {{{randomcount|}}} | *- *1 *3 *5 *10 }} </td></tr></table> <center>{{#input: type=submit | value = 執行 List members }} <small>[[:Template:Catlist/test|重填]] <!--, [[:Template:Catgraph|graph]]--></small></center> }} ==其他說明 (Other Description)== <div style="height:100px; overflow:auto; margin:0; margin-top:0px; padding:0.3em .3em 0.5em 0.3em; border:1px solid #999999; background-color:#ffffdd;"> {| class= wikitable width=100% |--- |+字元代換(當使用樣板語法時)"character escaping": ! width=50% |中文 !English |---- | » 代換為 > | » is translated to > |---- | « 代換為 < | « is translated to < |---- | ²{ 代換為 <nowiki>{{</nowiki> | ²{is translated to <nowiki>{{</nowiki> |---- | }² 代換為 <nowiki>}}</nowiki> | }² is translated to <nowiki>}}</nowiki> |---- | ¦ 代換為 <nowiki>|</nowiki> | ¦ is translated to <nowiki>|</nowiki> |---- | ¶ 表換行 | ¶ is translated to a newline |---- | \n 表換行 | \n is translated to a newline |} </div> <!-------------------------------------------------------------------------------------------------------------> <includeonly> {{#if:{{{name|}}}| ==== {{{name}}} ==== | }} *本次記錄之起始值(offset volue) {{#if:{{{offset| }}}|={{{offset|}}} |未設定(No setting) }}<br> *設定輸出筆數(maxrecords) {{#if:{{{count| }}}|={{{count|}}} |未設定(No setting) }}<br> *累計顯示:{{#ifeq:{{{addup_rec}}} |Yes |{{#ifeq:{{{offset_sum|0}}} |0 |未指定(No setting) |已顯示{{{offset_sum|}}}筆(Having shown count) }} |{{#ifeq:{{{offset|0}}} |0 |未指定(No setting) |已顯示{{{offset|}}}筆(Having shown count) }} }} ----- {{#dpl: resultsheader=<small>有%PAGES%筆紀錄相符(%PAGES% results)<br><hr></small>\n |noresultsheader=<small>無相符之紀錄(No results.)<br><hr></small>\n |oneresultheader=<small>有1筆相符的紀錄(1 result)<br><hr></small>\n |{{#ifeq:{{{namespace|}}}|all||{{#if:{{{namespace|}}}|{{#ifeq:{{{namespace|}}}|main|namespace=|namespace={{{namespace|}}}}}}}}} |{{#ifeq:{{{notnamespace|}}}|-||{{#if:{{{notnamespace|}}}|{{#ifeq:{{{notnamespace|}}}|main|notnamespace=|notnamespace={{{notnamespace|}}}}}}}}} |{{#ifeq:{{{category|}}}|?||{{#if:{{{category|}}}|category={{{category|}}}}}}} |{{#ifeq:{{{category2|}}}|?||{{#if:{{{category2|}}}|category={{{category2|}}}}}}} |{{#ifeq:{{{notcategory2|}}}|?||{{#if:{{{notcategory2|}}}|notcategory={{{notcategory2|}}}}}}} |{{#ifeq:{{{notcategory|}}}|?||{{#if:{{{notcategory|}}}|notcategory={{{notcategory|}}}}}}} |{{#ifeq:{{{uses|}}}|?||{{#if:{{{uses|}}}|uses=Template:{{{uses|}}}}}}} |{{#ifeq:{{{temp_arg|}}}|||includepage={{{{uses}}}}:{{#replace:{{{temp_arg|}}}|,|,{{{{uses}}}:}}}} |{{#ifeq:{{{notuses|}}}|?||{{#if:{{{notuses|}}}|notuses=Template:{{{notuses|}}}}}}} |{{#ifeq:{{{createdby|}}}|?||{{#if:{{{createdby|}}}|createdby={{{createdby|}}}}}}} |{{#ifeq:{{{modifiedby|}}}|?||{{#if:{{{modifiedby|}}}|modifiedby={{{modifiedby|}}}}}}} |titlematch={{{titlematch|}}} |nottitlematch={{{nottitlematch|}}} |linksto={{{linksto|}}} |notlinksto={{{notlinksto|}}} |include={{{include|}}} |{{#ifeq:{{{table|}}}|||table= {{#ifeq:{{{class|}}}|-||class={{{class|}}}}} ,,{{{table|}}}}} | |{{#if:{{{columns|}}}|columns={{{columns|}}}|columns=3}} |{{#ifeq:{{{export|}}}|yes|columns=1}} |order={{{order|}}} |{{#ifeq:{{{ordermethod|}}}|-||ordermethod={{{ordermethod|}}}}} |escapelinks={{{escapelinks|}}} |{{#ifeq:{{{randomcount|}}}|-||randomcount={{{randomcount|}}}}} |{{#ifeq:{{{count|}}}|||{{#if:{{{count|}}}|count={{{count|}}}}}}} |{{#ifeq:{{{addup_rec}}}|Yes|offset={{{offset_sum|}}}|offset={{{offset|}}}}} |shownamespace={{{shownamespace|}}} |addcategories={{{addcategories|}}} |addpagecounter={{{addpagecounter|}}} |addpagesize={{{addpagesize|}}} |addeditdate={{{addeditdate|}}} |addpagetoucheddate={{{addpagetoucheddate|}}} |adduser={{{adduser|}}} |{{#ifeq:{{{lastrevisionbefore|}}}|YYYY-MM-DD||lastrevisionbefore={{{lastrevisionbefore|}}}}} |{{#ifeq:{{{firstrevisionsince|}}}|YYYY-MM-DD||firstrevisionsince={{{firstrevisionsince|}}}}} |{{#ifeq:{{{allrevisionsbefore|}}}|YYYY-MM-DD||allrevisionsbefore={{{allrevisionsbefore|}}}}} |{{#ifeq:{{{allrevisionssince|}}}|YYYY-MM-DD||allrevisionssince={{{allrevisionssince|}}}}} |{{#ifeq:{{{export|}}}|yes|include={export.dpl} }} |{{#ifeq:{{{export|}}}|yes|format=[http://semeb.com/dpldemo/index.php/Special:Export?pages=,,%0D%0A, click to start export of '''all selected pages''']}} }} ---- <small><u>The query used the following parameters</u><br/> ---- <nowiki>{{#dpl:</nowiki><br> {{#ifeq:{{{namespace|}}}|all||{{!}}{{#if:{{{namespace|}}}|{{#ifeq:{{{namespace|}}}|main|namespace=<br>|namespace={{{namespace|}}}<br>}}}}}}<!-- -->{{#ifeq:{{{notnamespace|}}}|-||{{!}}{{#if:{{{notnamespace|}}}|{{#ifeq:{{{notnamespace|}}}|main|notnamespace=<br>|notnamespace={{{notnamespace|}}}<br>}}}}}}<!-- -->{{#ifeq:{{{category|}}}|?||{{!}}{{#if:{{{category|}}}|category={{{category|}}}<br>}}}}<!-- -->{{#ifeq:{{{category2|}}}|?||{{!}}{{#if:{{{category2|}}}|category={{{category2|}}}<br>}}}}<!-- -->{{#ifeq:{{{notcategory|}}}|?||{{!}}{{#if:{{{notcategory|}}}|notcategory={{{notcategory|}}}<br>}}}}<!-- -->{{#ifeq:{{{notcategory2|}}}|?||{{!}}{{#if:{{{notcategory2|}}}|notcategory={{{notcategory2|}}}<br>}}}}<!-- -->{{#ifeq:{{{uses|}}}|?||{{!}}{{#if:{{{uses|}}}|uses=Template:{{{uses|}}}<br>}}}}<!-- -->{{#ifeq:{{{temp_arg|}}}|||{{!}}includepage={{{{uses}}}}:{{#replace:{{{temp_arg|}}}|,|,{{{{uses}}}}:}}<br>}}<!-- -->{{#ifeq:{{{notuses|}}}|?||{{!}}{{#if:{{{notuses|}}}|notuses=Template:{{{notuses|}}}<br>}}}}<!-- -->{{#ifeq:{{{createdby|}}}|?||{{!}}{{#if:{{{createdby|}}}|createdby={{{createdby|}}}<br>}}}}<!-- -->{{#ifeq:{{{modifiedby|}}}|?||{{!}}{{#if:{{{modifiedby|}}}|modifiedby={{{modifiedby|}}}<br>}}}}<!-- -->{{#if:{{{titlematch|}}}|{{!}}titlematch={{{titlematch|}}}<br>}}<!-- -->{{#if:{{{include|}}}|{{!}}include={{{include|}}}<br>}}<!-- -->{{#ifeq:{{{table|}}}|||{{!}}table={{#ifeq:{{{class|}}}|-||class={{{class|}}}}} ,,{{{table|}}}<br>}}<!-- -->{{#if:{{{nottitlematch|}}}|{{!}}nottitlematch={{{nottitlematch|}}}<br>}}<!-- -->{{#if:{{{linksto|}}}|{{!}}linksto={{{linksto|}}}<br>}}<!-- -->{{#if:{{{notlinksto|}}}|{{!}}notlinksto={{{notlinksto|}}}<br>}}<!-- -->{{#if:{{{columns|}}}|{{!}}columns={{{columns|}}}<br>}}<!-- -->{{#ifeq:{{{export|}}}|yes|{{!}}columns=1<br>}}<!-- -->{{#ifeq:{{{order|}}}|ascending||{{!}}order={{{order|}}}<br>}}<!-- -->{{#ifeq:{{{ordermethod|}}}|-||{{!}}ordermethod={{{ordermethod|}}}<br>}}<!-- -->{{#ifeq:{{{escapelinks|}}}|true||{{!}}escapelinks={{{escapelinks|}}}<br>}}<!-- -->{{#ifeq:{{{randomcount|}}}|-||{{!}}randomcount={{{randomcount|}}}<br>}}<!-- -->{{#if:{{{count| }}}|{{!}}count={{{count|}}}<br>}}<!-- -->{{#ifeq:{{{addup_rec}}}<!-- --->|Yes<!-- --->|{{#ifeq:{{{offset_sum|0}}}|0||{{!}}offset={{{offset_sum|}}}}}<!-- --->|{{#ifeq:{{{offset|0}}}|0||{{!}}offset={{{offset|}}}}}<!-- -->}}<br><!-- -->{{#ifeq:{{{shownamespace|}}}|no||{{!}}shownamespace={{{shownamespace|}}}<br>}}<!-- -->{{#ifeq:{{{addcategories|}}}|no||{{!}}addcategories={{{addcategories|}}}<br>}}<!-- -->{{#ifeq:{{{addpagecounter|}}}|no||{{!}}addpagecounter={{{addpagecounter|}}}<br>}}<!-- -->{{#ifeq:{{{addpagesize|}}}|no||{{!}}addpagesize={{{addpagesize|}}}<br>}}<!-- -->{{#ifeq:{{{addeditdate|}}}|no||{{!}}addeditdate={{{addeditdate|}}}<br>}}<!-- -->{{#ifeq:{{{addpagetoucheddate}}}|no||{{!}}addpagetoucheddate={{{addpagetoucheddate|}}}<br>}}<!-- -->{{#ifeq:{{{adduser|}}}|no||{{!}}adduser={{{adduser|}}}<br>}}<!-- -->{{#ifeq:{{{lastrevisionbefore|}}}|YYYY-MM-DD||{{!}}lastrevisionbefore={{{lastrevisionbefore|}}}<br>}}<!-- -->{{#ifeq:{{{firstrevisionsince|}}}|YYYY-MM-DD||{{!}}firstrevisionsince={{{firstrevisionsince|}}}<br>}}<!-- -->{{#ifeq:{{{allrevisionsbefore|}}}|YYYY-MM-DD||{{!}}allrevisionsbefore={{{allrevisionsbefore|}}}<br>}}<!-- -->{{#ifeq:{{{allrevisionssince|}}}|YYYY-MM-DD||{{!}}allrevisionssince={{{allrevisionssince|}}}<br>}}<!-- --><nowiki>|resultsheader=<small>有%PAGES%筆紀錄相符(%PAGES% results)</small>\n</nowiki><br><!-- --><nowiki>|noresultsheader=<small>無相符之紀錄(No results.)</small></nowiki>\n<br><!-- --><nowiki>|oneresultheader=<small>有1筆相符的紀錄(1 result)</small></nowiki>\n<br><!-- --><nowiki>}}</nowiki> </small><br></includeonly>
返回至
模板:Catlist
。
導覽選單
檢視
模板
討論
檢視原始碼
歷史
個人工具
登入
搜尋
焦點
105年校長辦學績效評鑑
教育優先區評鑑
檔案列表
上傳檔案
轉換doc檔
說明
導覽
首頁
學校首頁
資訊組
資訊室日誌
社群入口
新聞動態
近期變更
隨機頁面
試驗區
工具
連結至此的頁面
相關變更
特殊頁面
頁面資訊