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> | ||
+ | </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> | </td> | ||
</tr> | </tr> | ||
Line 291: | Line 306: | ||
|{{#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:{{{category2|}}}|?||{{#if:{{{category2|}}}|category={{{category2|}}}}}}} | ||
+ | |{{#ifeq:{{{notcategory2|}}}|?||{{#if:{{{notcategory2|}}}|notcategory={{{notcategory2|}}}}}}} | ||
|{{#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 332: | Line 349: | ||
-->{{#ifeq:{{{notnamespace|}}}|-||{{!}}{{#if:{{{notnamespace|}}}|{{#ifeq:{{{notnamespace|}}}|main|notnamespace=<br>|notnamespace={{{notnamespace|}}}<br>}}}}}}<!-- | -->{{#ifeq:{{{notnamespace|}}}|-||{{!}}{{#if:{{{notnamespace|}}}|{{#ifeq:{{{notnamespace|}}}|main|notnamespace=<br>|notnamespace={{{notnamespace|}}}<br>}}}}}}<!-- | ||
-->{{#ifeq:{{{category|}}}|?||{{!}}{{#if:{{{category|}}}|category={{{category|}}}<br>}}}}<!-- | -->{{#ifeq:{{{category|}}}|?||{{!}}{{#if:{{{category|}}}|category={{{category|}}}<br>}}}}<!-- | ||
− | -->{{#ifeq:{{{notcategory|}}}|?||{{!}}{{#if:{{{notcategory|}}}|{{!}}notcategory={{{ | + | -->{{#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:{{{uses|}}}|?||{{!}}{{#if:{{{uses|}}}|uses=Template:{{{uses|}}}<br>}}}}<!-- | ||
-->{{#ifeq:{{{temp_arg|}}}|||{{!}}includepage={{{{uses}}}}:{{#replace:{{{temp_arg|}}}|,|,{{{{uses}}}}:}}<br>}}<!-- | -->{{#ifeq:{{{temp_arg|}}}|||{{!}}includepage={{{{uses}}}}:{{#replace:{{{temp_arg|}}}|,|,{{{{uses}}}}:}}<br>}}<!-- |
Revision as of 15:48, 20 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 |