Template:dplquery

3D Game Comparison - Game vs. game. No hype; just facts.™

(Difference between revisions)
Jump to: navigation, search
Revision as of 12:02, 29 August 2007 (edit)
Eep² (t|c)
New page: <div id="listcat-result">''No results to display...''</div> {{#form: name= demo |action=/wiki/index.php| {{#input: name= title |type= hidden | value = Special:Call/Catlist }} <t...
← Previous diff
Current revision (19:41, 15 September 2007) (edit) (undo)
Eep² (t|c)

 
(4 intermediate revisions not shown.)
Line 1: Line 1:
-<div id="listcat-result">''No results to display...''</div>+{{#form: name= demo | action=/wiki/index.php|
- +{{#input: name= title | type= hidden | value = Special:Call/dplquery}}
-{{#form: name= demo |action=/wiki/index.php|+<table cellpadding=2 cellspacing=0 margins=0 width=100% border rules=cols>
-{{#input: name= title |type= hidden | value = Special:Call/Catlist }}+<tr valign=top><td>
<table cellpadding=0 cellspacing=0 margins=0> <table cellpadding=0 cellspacing=0 margins=0>
<tr> <tr>
-<td align="right"> namespace </td>+<td align="right">namespace</td>
-<td>&nbsp; {{#input: name= namespace |type= select | value = {{{namespace|}}} |<!-- *? {{#dpl: namespace=* | format=,\n*%TITLE%,, }}-->+<td>&nbsp;{{#input: name=namespace | type=select | value = {{{namespace|}}} |<!-- *? {{#dpl: namespace=* | format=,\n*%TITLE%,, }}-->
*all *all
*main *main
Line 17: Line 17:
*Feature *Feature
*Effect *Effect
-}}</td>+}}
-<td align="right"> but not </td>+</td>
-<td> &nbsp; {{#input: name= notnamespace |type= select | value = {{{notnamespace|}}} | + 
 +<td align="right">not</td>
 +<td>&nbsp;{{#input: name=notnamespace | type=select | value = {{{notnamespace|}}} |
*- *-
*main *main
Line 33: Line 35:
</td> </td>
</tr> </tr>
 +
<tr> <tr>
-<td align="right"> category </td>+<td align="right">category</td>
-<td> &nbsp; {{#input: name= category | value = {{{category|}}} |type= select +<td>&nbsp;{{#input: name=category | value = {{{category|}}} | type=select | *? {{#dpl: namespace=Category | format=,\n*%TITLE%,,}}}}
- | *? {{#dpl: namespace=Category | format=,\n*%TITLE%,, }} }}+
</td> </td>
-<td align="right"> but not </td>+<td align="right">not</td>
-<td> &nbsp; {{#input: name= notcategory | value = {{{notcategory|}}} |type= select +<td>&nbsp;{{#input: name=notcategory | value = {{{notcategory|}}} | type= select | *? {{#dpl: namespace=Category | format = ,\n*%TITLE%,,}}}}
- | *? {{#dpl: namespace=Category | format = ,\n*%TITLE%,, }} }}+
</td> </td>
</tr> </tr>
<tr> <tr>
-<td align="right"> uses </td>+<td align="right">template</td>
-<td> &nbsp; {{#input: name= uses | value = {{{uses|}}} |type= select +<td>&nbsp;{{#input: name=uses | value = {{{uses|}}} | type=select | *? {{#dpl: namespace=Template | format=,\n*%TITLE%,,}}}}
- | *? {{#dpl: namespace=Template | format=,\n*%TITLE%,, }} }}+
</td> </td>
-<td align="right"> but not </td>+<td align="right">not</td>
-<td> &nbsp; {{#input: name= notuses | value = {{{notuses|}}} |type= select +<td>&nbsp;{{#input: name=notuses | value = {{{notuses|}}} | type=select | *? {{#dpl: namespace=Template | format=,\n*%TITLE%,,}}}}
- | *? {{#dpl: namespace=Template | format=,\n*%TITLE%,, }} }}+
</td> </td>
</tr> </tr>
<tr> <tr>
-<td align="right"> links to </td>+<td align="right">links to</td>
-<td> &nbsp; {{#input: name= linksto | value = {{{linksto|}}} }}+<td>&nbsp;{{#input: name=linksto | value = {{{linksto|}}} }}
</td> </td>
-<td align="right"> but not to </td>+<td align="right">not to</td>
-<td> &nbsp; {{#input: name= notlinksto | value = {{{notlinksto|}}} }}+<td>&nbsp;{{#input: name=notlinksto | value = {{{notlinksto|}}} }}
</td> </td>
</tr> </tr>
 +
<tr> <tr>
-<td align="right"> created by </td>+<td align="right">created by</td>
-<td> &nbsp; {{#input: name= createdby | value = {{{createdby|}}} |type= select +<td>&nbsp;{{#input: name=createdby | value = {{{createdby|}}} | type=select | *? {{#dpl: namespace=User | format=,\n*%TITLE%,,}}}}
- | *? {{#dpl: namespace=User | format=,\n*%TITLE%,, }} }}+
</td> </td>
-<td align="right">&nbsp; modified by </td>+<td align="right">&nbsp; modified by</td>
-<td> &nbsp; {{#input: name= modifiedby | value = {{{modifiedby|}}} |type= select+<td>&nbsp;{{#input: name=modifiedby | value = {{{modifiedby|}}} | type=select | *? {{#dpl: namespace=User | format=,\n*%TITLE%,,}}}}
- | *? {{#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> &nbsp; {{#input: name= lastrevisionbefore | value = {{#if:{{{lastrevisionbefore|}}}|{{{lastrevisionbefore|}}}|YYYY-MM-DD}} }}</td>+<td>&nbsp;{{#input: name=lastrevisionbefore | value = {{#if:{{{lastrevisionbefore|}}}|{{{lastrevisionbefore|}}}|YYYY-MM-DD}}}}</td>
-<td align="right"> first rev. since </td>+<td align="right">first rev. since</td>
-<td> &nbsp; {{#input: name= firstrevisionsince | value = {{#if:{{{firstrevisionsince|}}}|{{{firstrevisionsince|}}}|YYYY-MM-DD}} }}</td>+<td>&nbsp;{{#input: name=firstrevisionsince | value = {{#if:{{{firstrevisionsince|}}}|{{{firstrevisionsince|}}}|YYYY-MM-DD}}}}</td>
</tr> </tr>
 +
<tr> <tr>
-<td align="right"> ''all revs.'' before </td>+<td align="right">''all revs.'' before</td>
-<td> &nbsp; {{#input: name= allrevisionsbefore | value = {{#if:{{{allrevisionsbefore|}}}|{{{allrevisionsbefore|}}}|YYYY-MM-DD}} }}</td>+<td>&nbsp;{{#input: name=allrevisionsbefore | value = {{#if:{{{allrevisionsbefore|}}}|{{{allrevisionsbefore|}}}|YYYY-MM-DD}}}}</td>
-<td align="right"> ''all revs.'' since </td>+<td align="right">''all revs.'' after</td>
-<td> &nbsp; {{#input: name= allrevisionssince | value = {{#if:{{{allrevisionssince|}}}|{{{allrevisionssince|}}}|YYYY-MM-DD}} }}</td>+<td>&nbsp;{{#input: name=allrevisionssince | value = {{#if:{{{allrevisionssince|}}}|{{{allrevisionssince|}}}|YYYY-MM-DD}}}}</td>
-</tr>+</tr></table>
-</table>+ 
-<table cellpadding=0 cellspacing=0 margins=0>+<td>'''show''':
-</table>+{{#input: name=shownamespace | type=checkbox | value = {{{shownamespace|}}}}}namespace<br>
-show: namespace {{#input: name= shownamespace+{{#input: name=addcategories | type=checkbox | value = {{{addcategories|}}}}}categories<br>
- |type= select | value = {{{shownamespace|}}} | +{{#input: name=includesubpages | type=checkbox | value = {{{includesubpages|}}}}}subpages<br>
-*yes+{{#input: name=addpagecounter | type=checkbox | value = {{{addpagecounter|}}}}}visits<br>
-*no+{{#input: name=addpagesize | type=checkbox | value = {{{addpagesize|}}}}}size<br>
-}}categories {{#input: name= addcategories+{{#input: name=adduser | type=checkbox | value = {{{adduser|}}}}}user<br>
- |type= select | value = {{{addcategories|}}} | +{{#input: name=addeditdate | type=checkbox | value = {{{addeditdate|}}}}}editdate<br>
-*no+{{#input: name=addpagetoucheddate | type=checkbox | value = {{{addpagetoucheddate|}}}}}touch date
-*yes+ 
-}}visits {{#input: name= addpagecounter+<td>order method: {{#input: name=ordermethod |type=select | value = {{{ordermethod|}}} |
- |type= select | value = {{{addpagecounter|}}} | +
-*no+
-*yes+
-}}size {{#input: name= addpagesize+
- |type= select | value = {{{addpagesize|}}} | +
-*no+
-*yes+
-}}user {{#input: name= adduser+
- |type= select | value = {{{adduser|}}} | +
-*no+
-*yes+
-}}editdate {{#input: name= addeditdate+
- |type= select | value = {{{addeditdate|}}} | +
-*no+
-*yes+
-}}touch date: {{#input: name= addpagetoucheddate+
- |type= select | value = {{{addpagetoucheddate|}}} | +
-*no+
-*yes+
-}}+
-ordermethod: {{#input: name= ordermethod |type= select | value = {{{ordermethod|}}} | +
*- *-
*category,firstedit *category,firstedit
Line 131: Line 110:
*user,firstedit *user,firstedit
*user,lastedit *user,lastedit
-}}order: {{#input: name= order+}}
- |type= select | value = {{{order|}}} | +{{#input: name=order | type=select | value = {{{order|}}} |
*ascending *ascending
*descending *descending
-}}escapelinks: {{#input: name= escapelinks 
- |type= select | value = {{{escapelinks|}}} |  
-*true 
-*false 
-}}randomcount: {{#input: name= randomcount 
- |type= select | value = {{{randomcount|}}} |  
-*- 
-*1 
-*3 
-*5 
-*10 
-}}export: {{#input: name= export 
- |type= select | value = {{{export|}}} |  
-*no 
-*yes 
}} }}
-<table cellpadding=0 cellspacing=0 margins=0>+ 
-<tr>+{{#input: name=escapelinks | type=checkbox | value = {{{escapelinks|}}}}}escapelinks
-<td> title(%) {{#input: name= titlematch | value = {{{titlematch|}}} }} columns {{#input: name= columns |type= select | value = {{{columns|}}} | + 
 +{{#input: name=export | type=checkbox | value = {{{export|}}}}}export
 +</td>
 + 
 +<td>title(%) {{#input: name=titlematch | value = {{{titlematch|}}}}}
 +not (%) {{#input: name=nottitlematch | value = {{{nottitlematch|}}}}}
 + 
 + 
 +columns {{#input: name=columns | type=select | value = {{{columns|}}} |
*3 *3
*1 *1
Line 160: Line 132:
*4 *4
*5 *5
-}}maxrecords {{#input: name= count | value = {{{count|}}} | size = 2 +}}
-}} &nbsp; &nbsp; {{#input: type = submit | value = List members }}+ 
-&nbsp; <small>[[{{FULLPAGENAME}}|reset]]<!--, &nbsp; [[:Template:Catgraph|graph]]--></small>+max records {{#input: name=count | value = {{{count|}}} | size=2
 +}}<br>
 +random count: {{#input: name=randomcount | type= select | value = {{{randomcount|}}} |
 +*-
 +*1
 +*3
 +*5
 +*10
 +}}
</td></tr></table> </td></tr></table>
 +
 +<center>{{#input: type=submit | value = List members }}
 +&nbsp; <small>[[{{FULLPAGENAME}}|reset]]<!--, &nbsp; [[:Template:Catgraph|graph]]--></small></center>
}} }}
<!-------------------------------------------------------------------------------------------------------------> <!------------------------------------------------------------------------------------------------------------->
Line 170: Line 153:
==== {{{name}}} ==== ==== {{{name}}} ====
|}} |}}
-{{#dpl: resultsheader=<small>%PAGES% members found.<br><hr></small>\n+{{#dpl: resultsheader=<small>%PAGES% results<br><hr></small>\n
- |noresultsheader=<small>There are no results for your query.<br><hr></small>\n+ |noresultsheader=<small>No results<br><hr></small>\n
- |oneresultheader=<small>1 member found.<br><hr></small>\n+ |oneresultheader=<small>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 207: Line 190:
}} }}
---- ----
-<small><u>Your query used the following parameters</u><br/>+<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>}}}}}}<!--
Line 226: Line 209:
-->{{#ifeq:{{{escapelinks|}}}|true||escapelinks={{{escapelinks|}}}<br>}}<!-- -->{{#ifeq:{{{escapelinks|}}}|true||escapelinks={{{escapelinks|}}}<br>}}<!--
-->{{#ifeq:{{{randomcount|}}}|-||randomcount={{{randomcount|}}}<br>}}<!-- -->{{#ifeq:{{{randomcount|}}}|-||randomcount={{{randomcount|}}}<br>}}<!--
--->{{#ifeq:{{{count|}}}|-||{{#if:{{{count|}}}|count={{{count|}}}<br>}}}}<!--+-->{{#ifeq:{{{count|}}}|||{{#if:{{{count|}}}|count={{{count|}}}<br>}}}}<!--
-->{{#ifeq:{{{shownamespace|}}}|no||shownamespace={{{shownamespace|}}}<br>}}<!-- -->{{#ifeq:{{{shownamespace|}}}|no||shownamespace={{{shownamespace|}}}<br>}}<!--
-->{{#ifeq:{{{addcategories|}}}|no||addcategories={{{addcategories|}}}<br>}}<!-- -->{{#ifeq:{{{addcategories|}}}|no||addcategories={{{addcategories|}}}<br>}}<!--
Line 232: Line 215:
-->{{#ifeq:{{{addpagesize|}}}|no||addpagesize={{{addpagesize|}}}<br>}}<!-- -->{{#ifeq:{{{addpagesize|}}}|no||addpagesize={{{addpagesize|}}}<br>}}<!--
-->{{#ifeq:{{{addeditdate|}}}|no||addeditdate={{{addeditdate|}}}<br>}}<!-- -->{{#ifeq:{{{addeditdate|}}}|no||addeditdate={{{addeditdate|}}}<br>}}<!--
--->{{#ifeq:{{{addpagetoucheddate|no||}}}|addpagetoucheddate={{{addpagetoucheddate|}}}<br>}}<!--+-->{{#ifeq:{{{addpagetoucheddate}}}|no||addpagetoucheddate={{{addpagetoucheddate|}}}<br>}}<!--
-->{{#ifeq:{{{adduser|}}}|no||adduser={{{adduser|}}}<br>}}<!-- -->{{#ifeq:{{{adduser|}}}|no||adduser={{{adduser|}}}<br>}}<!--
-->{{#ifeq:{{{lastrevisionbefore|}}}|YYYY-MM-DD||lastrevisionbefore={{{lastrevisionbefore|}}}<br>}}<!-- -->{{#ifeq:{{{lastrevisionbefore|}}}|YYYY-MM-DD||lastrevisionbefore={{{lastrevisionbefore|}}}<br>}}<!--

Current revision

namespace  

not  

category  

not  

template  

not  

links to   not to  
created by  

  modified by  

last rev. before   first rev. since  
all revs. before   all revs. after  
show:

namespace
categories
subpages
visits
size
user
editdate
touch date

order method: escapelinks export

title(%)

not (%) columns max records
random count:

  reset
Personal tools