Difference between revisions of "Test category listing"

From FollowTheScore
Jump to: navigation, search
(New page: This test query allows the listing of every article in a category. In this example, the category 'Test'. using the skipthispage parameter, the query can list every page in a category e...)
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{Type Test
 +
|parameter = category listing
 +
}}
 
This test query allows the listing of every article in a category. In this example, the category 'Test'. using the [[skipthispage]] parameter, the query can list every page in a category excluding any which are calling it, or including all including this page.
 
This test query allows the listing of every article in a category. In this example, the category 'Test'. using the [[skipthispage]] parameter, the query can list every page in a category excluding any which are calling it, or including all including this page.
  
Line 12: Line 15:
 
{{#dpl: category=Test | skipthispage=no }}
 
{{#dpl: category=Test | skipthispage=no }}
  
 +
== using the & operator (syntax variant 1) ==
 +
<dpl>
 +
  category=Test&DPL Manual
 +
</dpl>
  
[[Category:Test]]
+
== using the & operator (syntax variant 2 ==
 +
<dpl>
 +
  category=Test
 +
  category=DPL Manual
 +
</dpl>

Latest revision as of 22:50, 8 March 2008

Test category listing

This test query allows the listing of every article in a category. In this example, the category 'Test'. using the skipthispage parameter, the query can list every page in a category excluding any which are calling it, or including all including this page.

{{#dpl: category=Test }}

Produces the listing:


Note that Test category listing is excluded from this result. If you want the current page to be included:

{{#dpl: category=Test |skipthispage=no }}

using the & operator (syntax variant 1)

using the & operator (syntax variant 2