Difference between revisions of "User:Roc michael"
Roc michael (talk | contribs) (New page: {{#form: name= demo |action=/dpldemo/index.php| {{#input: name= title |type= hidden | value = Special:Call/Catlist }} <table cellpadding=0 cellspacing=0 margins=0> <tr bgcolor="#...) |
Roc michael (talk | contribs) |
||
Line 1: | Line 1: | ||
− | {{#form: name= demo | + | 正體中文(Tradition Chinese),僅供參考(for reference only),歡迎您一起參與修訂(Welcome to edit it)。 |
− | {{#input: name= title | + | {{#form: name= demo | action=/wiki/index.php| |
+ | {{#input: name= title | type= hidden | value = Special:Call/dplquery}} | ||
+ | <table cellpadding=2 cellspacing=0 margins=0 width=100% border rules=cols> | ||
+ | <tr valign=top><td width=100% colspan="3"> | ||
+ | '''選取頁面:''' | ||
<table cellpadding=0 cellspacing=0 margins=0> | <table cellpadding=0 cellspacing=0 margins=0> | ||
− | <tr | + | <tr> |
− | <td align="right"> | + | <td align="right">名字空間(namespace)</td> |
− | <td> {{#input: name= namespace |type= select | value = {{{namespace|}}} | | + | <td> {{#input: name=namespace | type=select | value = {{{namespace|}}} |<!-- *? {{#dpl: namespace=* | format=,\n*%TITLE%,, }}--> |
*all | *all | ||
*main | *main | ||
Line 14: | Line 18: | ||
*DPL | *DPL | ||
*Wgraph | *Wgraph | ||
− | }}</td> | + | }} |
− | <td align="right"> 但非 </td> | + | </td> |
− | <td> {{#input: name= notnamespace |type= select | value = {{{notnamespace|}}} | | + | <td align="right">但非(not)</td> |
+ | <td> {{#input: name=notnamespace | type=select | value = {{{notnamespace|}}} | | ||
*- | *- | ||
*main | *main | ||
Line 29: | Line 34: | ||
</td> | </td> | ||
</tr> | </tr> | ||
− | <tr | + | <!--------------------> |
− | <td align="right"> | + | <tr> |
− | <td> {{#input: name= category | value = {{{category|}}} |type= select | + | <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">內嵌樣板(Template)</td> | ||
+ | <td> {{#input: name=uses | value = {{{uses|}}} | type=select | *? {{#dpl: namespace=Template | format=,\n*%TITLE%,,}}}} | ||
</td> | </td> | ||
− | <td align="right"> | + | <td align="right">但非(not)</td> |
− | <td> {{#input: name= | + | <td> {{#input: name=notuses | value = {{{notuses|}}} | type=select | *? {{#dpl: namespace=Template | format=,\n*%TITLE%,,}}}} |
− | |||
</td> | </td> | ||
</tr> | </tr> | ||
− | <tr | + | <!--------------------> |
− | <td align="right"> | + | <tr> |
− | <td> {{#input: name= | + | <td align="right">頁面名稱 title ( 使用時須加百分號「%」)</td> |
− | + | <td> {{#input: name=titlematch | value = {{{titlematch|}}}}} | |
</td> | </td> | ||
− | <td align="right"> | + | <td align="right">非此頁面名稱(%)</td> |
− | <td> {{#input: name= | + | <td> {{#input: name=nottitlematch | value = {{{nottitlematch|}}}}} |
− | |||
</td> | </td> | ||
</tr> | </tr> | ||
− | <tr | + | <!--------------------> |
− | <td align="right"> 連結至某頁(links to) </td> | + | <tr> |
− | <td> {{#input: name= linksto | value = {{{linksto|}}} }} | + | <td align="right">連結至某頁(links to) </td> |
+ | <td> {{#input: name=linksto | value = {{{linksto|}}} }} | ||
</td> | </td> | ||
− | <td align="right"> (無連結至某頁) | + | <td align="right">(無連結至某頁)not to </td> |
− | <td> {{#input: name= notlinksto | value = {{{notlinksto|}}} }} | + | <td> {{#input: name=notlinksto | value = {{{notlinksto|}}} }} |
</td> | </td> | ||
</tr> | </tr> | ||
− | <tr | + | <!--------------------> |
− | <td align="right"> | + | <tr> |
− | <td> {{#input: name= createdby | value = {{{createdby|}}} |type= select | + | <td align="right">頁面創建者(created by)</td> |
− | + | <td> {{#input: name=createdby | value = {{{createdby|}}} | type=select | *? {{#dpl: namespace=User | format=,\n*%TITLE%,,}}}} | |
</td> | </td> | ||
− | <td align="right"> | + | <td align="right"> 頁面修改者(modified by)</td> |
− | <td> {{#input: name= modifiedby | value = {{{modifiedby|}}} |type= select | + | <td> {{#input: name=modifiedby | value = {{{modifiedby|}}} | type=select | *? {{#dpl: namespace=User | format=,\n*%TITLE%,,}}}} |
− | |||
</td> | </td> | ||
</tr> | </tr> | ||
− | <tr | + | <!--------------------> |
+ | <tr> | ||
<td align="right"> 截至某日前最後的版本 last rev. before </td> | <td align="right"> 截至某日前最後的版本 last rev. before </td> | ||
− | <td> {{#input: name= lastrevisionbefore | value = {{#if:{{{lastrevisionbefore|}}}|{{{lastrevisionbefore|}}}|YYYY-MM-DD}} }}</td> | + | <td> {{#input: name=lastrevisionbefore | value = {{#if:{{{lastrevisionbefore|}}}|{{{lastrevisionbefore|}}}|YYYY-MM-DD}}}}</td> |
− | <td align="right"> | + | <td align="right"> 某日後最早的版本 first rev. since </td> |
− | <td> {{#input: name= firstrevisionsince | value = {{#if:{{{firstrevisionsince|}}}|{{{firstrevisionsince|}}}|YYYY-MM-DD}} }}</td> | + | <td> {{#input: name=firstrevisionsince | value = {{#if:{{{firstrevisionsince|}}}|{{{firstrevisionsince|}}}|YYYY-MM-DD}}}}</td> |
</tr> | </tr> | ||
− | <tr | + | <!--------------------> |
− | <td align="right"> | + | <tr> |
− | <td> {{#input: name= allrevisionsbefore | value = {{#if:{{{allrevisionsbefore|}}}|{{{allrevisionsbefore|}}}|YYYY-MM-DD}} }}</td> | + | <td align="right"> 某日前的所有版本''all revs.'' before</td> |
− | <td align="right"> | + | <td> {{#input: name=allrevisionsbefore | value = {{#if:{{{allrevisionsbefore|}}}|{{{allrevisionsbefore|}}}|YYYY-MM-DD}}}}</td> |
− | <td> {{#input: name= allrevisionssince | + | <td align="right"> 某日後所有的版本''all revs.'' since</td> |
+ | <td> {{#input: name=allrevisionssince | value = {{#if:{{{allrevisionssince|}}}|{{{allrevisionssince|}}}|YYYY-MM-DD}}}}</td> | ||
+ | </tr></table> | ||
+ | |||
</tr> | </tr> | ||
− | < | + | <tr> |
− | < | + | <td> |
− | + | ||
− | ''' | + | '''頁面資訊 Information Display<br>(某些須搭配排序依據使用 <br>Some item must use with some Order Method):''' |
− | 名字空間(namespace) {{#input: name= | + | |
− | + | {{#input: name=shownamespace | type=checkbox | value = {{{shownamespace|}}}}}名字空間(namespace)<br> | |
− | + | {{#input: name=addcategories | type=checkbox | value = {{{addcategories|}}}}}分類(categories)<br> | |
− | + | {{#input: name=includesubpages | type=checkbox | value = {{{includesubpages|}}}}}子頁面(subpages)<br> | |
− | }}分類(categories) {{#input: name= | + | {{#input: name=addpagecounter | type=checkbox | value = {{{addpagecounter|}}}}}瀏覽人氣(visits)<br> |
− | + | {{#input: name=addpagesize | type=checkbox | value = {{{addpagesize|}}}}}頁面字數(size)<br> | |
− | + | {{#input: name=adduser | type=checkbox | value = {{{adduser|}}}}}該版本的編輯者(user) <br> | |
− | + | {{#input: name=addeditdate | type=checkbox | value = {{{addeditdate|}}}}}}}該版本的編輯日期(editdate)<br> | |
− | }} | + | {{#input: name=addpagetoucheddate | type=checkbox | value = {{{addpagetoucheddate|}}}}}造訪日(touch date) |
− | + | ||
− | + | <td>'''排序方法(order method):'''<br> | |
− | + | 排序依據(sort key) | |
− | }} | + | {{#input: name=ordermethod |type=select | value = {{{ordermethod|}}} | |
− | |||
− | |||
− | |||
− | }} | ||
− | |||
− | |||
− | |||
− | }} | ||
− | |||
− | |||
− | |||
− | }} | ||
− | |||
− | |||
− | |||
− | }} | ||
− | ''' | ||
− | 排序依據( | ||
*- | *- | ||
*category,firstedit | *category,firstedit | ||
Line 129: | Line 127: | ||
*user,firstedit | *user,firstedit | ||
*user,lastedit | *user,lastedit | ||
− | }}升(降)冪(order): {{#input: name= order | + | }} |
− | + | 升(降)冪(order):{{#input: name=order | type=select | value = {{{order|}}} | | |
*ascending | *ascending | ||
*descending | *descending | ||
− | }} | + | }} |
− | + | ||
− | * | + | {{#input: name=escapelinks | type=checkbox | value = {{{escapelinks|}}}}} 以連結取代顯示圖像(image)或分類(category)頁面 (escapelinks): |
− | * | + | |
− | + | {{#input: name=export | type=checkbox | value = {{{export|}}}}}輸出export | |
− | + | ||
− | + | <!-----------------> | |
+ | <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> | ||
+ | |||
+ | <td valign=top>'''版面安排 (Layout):''' | ||
+ | 欄位數量(columns){{#input: name=columns | type=select | value = {{{columns|}}} | | ||
*1 | *1 | ||
+ | *2 | ||
*3 | *3 | ||
+ | *4 | ||
*5 | *5 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
− | + | ||
− | + | 輸出紀錄筆數上限(maxrecords) {{#input: name=count | value = {{{count|}}} | size=2 | |
− | + | }}<br> | |
− | * | + | 隨機選取頁數(randomcount): {{#input: name=randomcount | type= select | value = {{{randomcount|}}} | |
+ | *- | ||
*1 | *1 | ||
− | |||
*3 | *3 | ||
− | |||
*5 | *5 | ||
− | + | *10 | |
− | }} | + | }} |
− | |||
</td></tr></table> | </td></tr></table> | ||
+ | |||
+ | <center>{{#input: type=submit | value = 執行 List members }} | ||
+ | <small>[[:Template:Catlist_zh|重填]] <!--, [[:Template:Catgraph|graph]]--></small></center> | ||
}} | }} | ||
<!-------------------------------------------------------------------------------------------------------------> | <!-------------------------------------------------------------------------------------------------------------> | ||
<includeonly> | <includeonly> | ||
+ | ==其他說明 Other description== | ||
+ | *字元代換(當使用樣板語法時)"character escaping": | ||
+ | * » is translated to > | ||
+ | * « is translated to < | ||
+ | ---- | ||
+ | * ²{ is translated to <nowiki>{{</nowiki> | ||
+ | * }² is translated to <nowiki>}}</nowiki> | ||
+ | * ¦ is translated to | | ||
+ | ---- | ||
+ | * ¶ is translated to a newline | ||
+ | * \n is translated to a newline | ||
+ | |||
{{#if:{{{name|}}}| | {{#if:{{{name|}}}| | ||
==== {{{name}}} ==== | ==== {{{name}}} ==== | ||
|}} | |}} | ||
− | {{#dpl: resultsheader=<small>%PAGES% | + | {{#dpl: resultsheader=<small>%PAGES% results<br><hr></small>\n |
− | |noresultsheader=<small> | + | |noresultsheader=<small>No results<br><hr></small>\n |
− | |oneresultheader=<small>1 | + | |oneresultheader=<small>1 result<br><hr></small>\n |
+ | |||
+ | {{#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:{{{namespace|}}}|all||{{#if:{{{namespace|}}}|{{#ifeq:{{{namespace|}}}|main|namespace=|namespace={{{namespace|}}}}}}}}} | ||
|{{#ifeq:{{{notnamespace|}}}|-||{{#if:{{{notnamespace|}}}|{{#ifeq:{{{notnamespace|}}}|main|notnamespace=|notnamespace={{{notnamespace|}}}}}}}}} | |{{#ifeq:{{{notnamespace|}}}|-||{{#if:{{{notnamespace|}}}|{{#ifeq:{{{notnamespace|}}}|main|notnamespace=|notnamespace={{{notnamespace|}}}}}}}}} | ||
Line 205: | Line 240: | ||
}} | }} | ||
---- | ---- | ||
− | <small><u> | + | <small><u>The query used the following parameters</u><br/> |
{{#ifeq:{{{namespace|}}}|all||{{#if:{{{namespace|}}}|{{#ifeq:{{{namespace|}}}|main|namespace=<br>|namespace={{{namespace|}}}<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:{{{notnamespace|}}}|-||{{#if:{{{notnamespace|}}}|{{#ifeq:{{{notnamespace|}}}|main|notnamespace=<br>|notnamespace={{{notnamespace|}}}<br>}}}}}}<!-- |
Revision as of 03:53, 15 September 2007
正體中文(Tradition Chinese),僅供參考(for reference only),歡迎您一起參與修訂(Welcome to edit it)。 {{#form: name= demo | action=/wiki/index.php| {{#input: name= title | type= hidden | value = Special:Call/dplquery}}
選取頁面:
| ||||||||||||||||||||||||||||||||||
頁面資訊 Information Display {{#input: name=shownamespace | type=checkbox | value = }}名字空間(namespace) | 排序方法(order method): 排序依據(sort key) {{#input: name=ordermethod |type=select | value = |
}} 升(降)冪(order):{{#input: name=order | type=select | value = |
}} {{#input: name=escapelinks | type=checkbox | value = }} 以連結取代顯示圖像(image)或分類(category)頁面 (escapelinks): {{#input: name=export | type=checkbox | value = }}輸出export 排序依據說明(order method description):
|
版面安排 (Layout):
欄位數量(columns){{#input: name=columns | type=select | value = |
}} 輸出紀錄筆數上限(maxrecords) {{#input: name=count | value = | size=2
}}
}} |
}}