Difference between revisions of "Test mode category"

From FollowTheScore
Jump to: navigation, search
Line 38: Line 38:
 
----
 
----
  
<DPL>  
+
<DPL>
titlematch=%a%  
+
debug=3
 +
titlematch=%k%  
 
mode=category
 
mode=category
 
ordermethod=title
 
ordermethod=title
Line 47: Line 48:
  
 
----
 
----
<DPL>  
+
<DPL>
titlematch=%a%  
+
debug=3
 +
titlematch=%k%  
 
mode=category
 
mode=category
 
ordermethod=title
 
ordermethod=title

Revision as of 09:05, 6 May 2007

Template:Type:Test

We produce a listing similar to the normal category listing

Note that we do not get a TOC for this article unless we use the TOC pragma explicitly. The reason is that DPL switches off TOC generation if mode=category is used.

test heading 1

test heading 2

test heading 3

<dpl> 
  category=Fictitious country|Countries|Germany
  mode=category
</dpl>

Extension:DynamicPageList (DPL), version 3.2.1: Warning: No parameter option supplied for ' '. (Missing '=')


Extension:DynamicPageList (DPL), version 3.2.1: Error: The paramater 'mode=category' must be used with 'ordermethod=[ sortkey | title | titlewithoutnamespace ]'


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

test heading 4

<dpl> 
  category=Fictitious country
  mode=category
</dpl>

Extension:DynamicPageList (DPL), version 3.2.1: Warning: No parameter option supplied for ' '. (Missing '=')


Extension:DynamicPageList (DPL), version 3.2.1: Error: The paramater 'mode=category' must be used with 'ordermethod=[ sortkey | title | titlewithoutnamespace ]'


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


I


I

T