Difference between revisions of "Template:Catlist/test"
Roc michael (talk | contribs) |
Roc michael (talk | contribs) |
||
Line 41: | Line 41: | ||
<td align="right">但非(not)</td> | <td align="right">但非(not)</td> | ||
<td> {{#input: name=notcategory | value = {{{notcategory|}}} | type= select | *? {{#dpl: namespace=Category | format = ,\n*%TITLE%,,}}}} | <td> {{#input: name=notcategory | value = {{{notcategory|}}} | type= select | *? {{#dpl: namespace=Category | format = ,\n*%TITLE%,,}}}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</td> | </td> | ||
</tr> | </tr> | ||
Line 278: | Line 263: | ||
==== {{{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 | {{#dpl: resultsheader=<small>有%PAGES%筆紀錄相符(%PAGES% results)<br><hr></small>\n | ||
Line 287: | Line 291: | ||
|{{#ifeq:{{{notnamespace|}}}|-||{{#if:{{{notnamespace|}}}|{{#ifeq:{{{notnamespace|}}}|main|notnamespace=|notnamespace={{{notnamespace|}}}}}}}}} | |{{#ifeq:{{{notnamespace|}}}|-||{{#if:{{{notnamespace|}}}|{{#ifeq:{{{notnamespace|}}}|main|notnamespace=|notnamespace={{{notnamespace|}}}}}}}}} | ||
|{{#ifeq:{{{category|}}}|?||{{#if:{{{category|}}}|category={{{category|}}}}}}} | |{{#ifeq:{{{category|}}}|?||{{#if:{{{category|}}}|category={{{category|}}}}}}} | ||
− | |||
− | |||
|{{#ifeq:{{{notcategory|}}}|?||{{#if:{{{notcategory|}}}|notcategory={{{notcategory|}}}}}}} | |{{#ifeq:{{{notcategory|}}}|?||{{#if:{{{notcategory|}}}|notcategory={{{notcategory|}}}}}}} | ||
|{{#ifeq:{{{uses|}}}|?||{{#if:{{{uses|}}}|uses=Template:{{{uses|}}}}}}} | |{{#ifeq:{{{uses|}}}|?||{{#if:{{{uses|}}}|uses=Template:{{{uses|}}}}}}} | ||
Line 299: | Line 301: | ||
|notlinksto={{{notlinksto|}}} | |notlinksto={{{notlinksto|}}} | ||
|include={{{include|}}} | |include={{{include|}}} | ||
+ | |{{#ifeq:{{{table|}}}|||table= {{#ifeq:{{{class|}}}|-||class={{{class|}}}}} ,,{{{table|}}}}} | ||
+ | | | ||
|{{#if:{{{columns|}}}|columns={{{columns|}}}|columns=3}} | |{{#if:{{{columns|}}}|columns={{{columns|}}}|columns=3}} | ||
|{{#ifeq:{{{export|}}}|yes|columns=1}} | |{{#ifeq:{{{export|}}}|yes|columns=1}} | ||
Line 314: | Line 318: | ||
|addpagetoucheddate={{{addpagetoucheddate|}}} | |addpagetoucheddate={{{addpagetoucheddate|}}} | ||
|adduser={{{adduser|}}} | |adduser={{{adduser|}}} | ||
− | |{{#ifeq:{{{lastrevisionbefore|}}}|YYYY-MM-DD||lastrevisionbefore={{{lastrevisionbefore|}}}}} | + | |{{#ifeq:{{{lastrevisionbefore|}}}|YYYY-MM-DD||lastrevisionbefore={{{lastrevisionbefore|}}}}} |
|{{#ifeq:{{{firstrevisionsince|}}}|YYYY-MM-DD||firstrevisionsince={{{firstrevisionsince|}}}}} | |{{#ifeq:{{{firstrevisionsince|}}}|YYYY-MM-DD||firstrevisionsince={{{firstrevisionsince|}}}}} | ||
|{{#ifeq:{{{allrevisionsbefore|}}}|YYYY-MM-DD||allrevisionsbefore={{{allrevisionsbefore|}}}}} | |{{#ifeq:{{{allrevisionsbefore|}}}|YYYY-MM-DD||allrevisionsbefore={{{allrevisionsbefore|}}}}} | ||
|{{#ifeq:{{{allrevisionssince|}}}|YYYY-MM-DD||allrevisionssince={{{allrevisionssince|}}}}} | |{{#ifeq:{{{allrevisionssince|}}}|YYYY-MM-DD||allrevisionssince={{{allrevisionssince|}}}}} | ||
− | |||
|{{#ifeq:{{{export|}}}|yes|include={export.dpl} }} | |{{#ifeq:{{{export|}}}|yes|include={export.dpl} }} | ||
|{{#ifeq:{{{export|}}}|yes|format=[http://gs-nb/dpldemo/index.php/Special:Export?pages=,,%0D%0A, click to start export of '''all selected pages''']}} | |{{#ifeq:{{{export|}}}|yes|format=[http://gs-nb/dpldemo/index.php/Special:Export?pages=,,%0D%0A, click to start export of '''all selected pages''']}} | ||
}} | }} | ||
− | </includeonly> | + | ---- |
+ | <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:{{{notcategory|}}}|?||{{!}}{{#if:{{{notcategory|}}}|{{!}}notcategory={{{notcategory|}}}<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></nowiki><br><!-- | ||
+ | --><nowiki>|noresultsheader=<small>無相符之紀錄(No results.)</small></nowiki><br><!-- | ||
+ | --><nowiki>|oneresultheader=<small>有1筆相符的紀錄(1 result)</small></nowiki><br><!-- | ||
+ | --><nowiki>}}</nowiki> | ||
+ | </small><br></includeonly> |
Revision as of 01:41, 21 October 2007
正體中文(Tradition Chinese),僅供參考(for reference only),歡迎您一起參與修訂(Welcome to edit it)。 {{#form: name= demo | action=/dpldemo/index.php| {{#input: name= title | type= hidden | value = Special:Call/Catlist/test}}
資料選取(Selecting data):
| ||||||||||||||||||||||||||||||||||||||||||||||||||
頁面資訊 Information Display {{#input: name=shownamespace | type=checkbox | value = }}名字空間(namespace) |
排序方法(order method):
}} 升(降)冪(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):
}} 下次起始值設定(Next time offset value setting) {{#input: name=offset |value = | size=2 }} 輸出筆數(maxrecords) {{#input: name=count | value = | size=2 }} 使用累加紀錄值 (Useing Adding up offset value): {{#input: name=addup_rec | type= select | value = |
}} |type= hidden |value =0 |size=2 }} 隨機選取頁數(randomcount): {{#input: name=randomcount | type= select | value = |
}} |
}}
其他說明 (Other Description)
中文 | English |
---|---|
» 代換為 > | » is translated to > |
« 代換為 < | « is translated to < |
²{ 代換為 {{ | ²{is translated to {{ |
}² 代換為 }} | }² is translated to }} |
¦ 代換為 | | ¦ is translated to | |
¶ 表換行 | ¶ is translated to a newline |
\n 表換行 | \n is translated to a newline |