Difference between revisions of "Test offset&count"

From FollowTheScore
Jump to: navigation, search
 
Line 21: Line 21:
 
{{Articles|7|1}}
 
{{Articles|7|1}}
  
== We find th etotal number of hits although we only show the first three ==
+
== We find the total number of hits although we only show the first three pages ==
<dpl>namespace=
+
<dpl>
resultsheader= There are %TOTALPAGES% articles in the main namespace\n.
+
  namespace=
format=\n# %PAGE%
+
  resultsheader= There are %TOTALPAGES% articles in the main namespace\n.
 +
  format=,\n# %PAGE%
 +
  count=3
 
</dpl>
 
</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