Difference between revisions of "Test mode category"

From FollowTheScore
Jump to: navigation, search
(New page: == We produce a listing similar to the normal category listing == <pre><nowiki> </nowiki></pre> <dpl> category=Fictitious country|Countries|Germany mode=category </dpl>)
 
Line 1: Line 1:
 
== We produce a listing similar to the normal category listing ==
 
== 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 for the DPL catgeory listing output.
 +
 +
=== test heading 1 ===
 +
=== test heading 2 ===
 +
=== test heading 3 ===
  
 
<pre><nowiki>
 
<pre><nowiki>
 +
<dpl>
 +
  category=Fictitious country|Countries|Germany
 +
  mode=category
 +
</dpl>
 
</nowiki></pre>
 
</nowiki></pre>
  
 
<dpl>  
 
<dpl>  
 
   category=Fictitious country|Countries|Germany
 
   category=Fictitious country|Countries|Germany
 +
  mode=category
 +
</dpl>
 +
 +
=== test heading 4 ===
 +
 +
<pre><nowiki>
 +
<dpl>
 +
  category=Fictitious country
 +
  mode=category
 +
</dpl>
 +
</nowiki></pre>
 +
 +
<dpl>
 +
  category=Fictitious country
 
   mode=category
 
   mode=category
 
</dpl>
 
</dpl>

Revision as of 19:40, 2 March 2007

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 for the DPL catgeory listing output.

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.