Difference between revisions of "Test mode category"

From FollowTheScore
Jump to: navigation, search
Line 35: Line 35:
 
   mode=category
 
   mode=category
 
</dpl>
 
</dpl>
 +
 +
----
 +
 +
<DPL>
 +
titlematch=%e%
 +
mode=category
 +
ordermethod=title
 +
order=ascending
 +
shownamespace=false
 +
</DPL>
 +
 +
----
 +
<DPL>
 +
titlematch=%e%
 +
mode=category
 +
ordermethod=title
 +
order=ascending
 +
shownamespace=true
 +
</DPL>

Revision as of 08:49, 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.


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

I

D

2


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

I

D

C

2

F