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>)
 
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{Type Test
 +
|parameter = mode category
 +
}}
 
== 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 if mode=category is used.
 +
 +
=== 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>
  
Line 8: Line 21:
 
   mode=category
 
   mode=category
 
</dpl>
 
</dpl>
 +
 +
=== test heading 4 ===
 +
 +
<pre><nowiki>
 +
<dpl>
 +
  category=Fictitious country
 +
  mode=category
 +
</dpl>
 +
</nowiki></pre>
 +
 +
<dpl>
 +
  category=Fictitious country
 +
  mode=category
 +
</dpl>
 +
 +
----
 +
 +
<DPL>
 +
debug=3
 +
titlematch=%k%
 +
mode=category
 +
ordermethod=title
 +
order=ascending
 +
shownamespace=false
 +
</DPL>
 +
 +
----
 +
<DPL>
 +
debug=3
 +
titlematch=%k%
 +
mode=category
 +
ordermethod=title
 +
order=ascending
 +
shownamespace=true
 +
</DPL>
 +
 +
<dpl>reset=all</dpl>

Latest revision as of 11:32, 28 January 2008

Test mode category

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

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.