Difference between revisions of "Test offset&count"

From FollowTheScore
Jump to: navigation, search
(New page: {{Type:Test |parameter = offset, count }} == We call a template with different offset & count == Based on count= and offset= one could build a report where you can flip pages backward a...)
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Type:Test
+
{{Type Test
 
  |parameter = offset, count
 
  |parameter = offset, count
 
}}
 
}}
Line 6: Line 6:
  
 
Based on count= and offset= one could build a report where you can flip pages backward and forward.
 
Based on count= and offset= one could build a report where you can flip pages backward and forward.
 
But you would need to accept some input from the user, maybe using raw html and input boxes ...
 
 
Maybe one could use a small Special:dpl as a wrapper page, any ideas ?
 
  
 
<pre><nowiki>
 
<pre><nowiki>
 
{{Articles|0|5}}
 
{{Articles|0|5}}
 
----
 
----
{{Articles|13|5}}
+
{{Articles|3|5}}
 
----
 
----
{{Articles|17|10}}
+
{{Articles|7|1}}
 
</nowiki></pre>
 
</nowiki></pre>
  
 
{{Articles|0|5}}
 
{{Articles|0|5}}
 
----
 
----
{{Articles|13|5}}
+
{{Articles|3|5}}
 
----
 
----
{{Articles|17|10}}
+
{{Articles|7|1}}
 +
 
 +
== We find the total number of hits although we only show the first three pages ==
 +
<dpl>
 +
  namespace=
 +
  resultsheader= There are %TOTALPAGES% articles in the main namespace\n.
 +
  format=,\n# %PAGE%
 +
  count=3
 +
</dpl>

Latest revision as of 18:33, 26 February 2008

Test offset, count

We call a template with different offset & count

Based on count= and offset= one could build a report where you can flip pages backward and forward.

{{Articles|0|5}}
----
{{Articles|3|5}}
----
{{Articles|7|1}}
  1. Test5554
  2. 2008-02-16 best time ever
  3. Nowa kategoria
  4. Test 001
  5. Test 002

Extension:DynamicPageList (DPL), version 3.2.1: Error: No selection criteria found! You must use at least one of the following parameters: category, namespace, titlematch, linksto, uses, createdby, modifiedby, lastmodifiedby, or their 'not' variants


Extension:DynamicPageList (DPL), version 3.2.1: Warning: No results.


  1. Test 001
  2. Test 002
  3. Test 003
  4. Test 004
  5. Test 005

Extension:DynamicPageList (DPL), version 3.2.1: Error: No selection criteria found! You must use at least one of the following parameters: category, namespace, titlematch, linksto, uses, createdby, modifiedby, lastmodifiedby, or their 'not' variants


Extension:DynamicPageList (DPL), version 3.2.1: Warning: No results.


  1. Test 005

Extension:DynamicPageList (DPL), version 3.2.1: Error: No selection criteria found! You must use at least one of the following parameters: category, namespace, titlematch, linksto, uses, createdby, modifiedby, lastmodifiedby, or their 'not' variants


Extension:DynamicPageList (DPL), version 3.2.1: Warning: No results.

We find the total number of hits although we only show the first three pages

There are 702 articles in the main namespace .

  1. Test5554
  2. 2008-02-16 best time ever
  3. Nowa kategoria