DynamicPageList3

From RaySoft

The DynamicPageList3 extension is a reporting tool for MediaWiki, listing category members and intersections with various formats and details.[1]

When invoked with a basic set of selection parameters, DPL displays a list of pages in one or more categories. Selections may also be based on factors such as author, namespace, date, name pattern, usage of templates, or references to other articles. Output takes a variety of forms, some of which incorporate elements of selected articles.[1]

Documentation

Parameters

category = NAME
Select articles based on categories. You can specify more than one category with the pipe.
format = STARTALL,START,END,ENDALL
Customize the output format completely. Uses variable references like %PAGE% to describe the output format.
mode = VALUE
Provide basic control over the output of DPL.
unordered
Outputs an unordered list: HTML tag <ul> (default).
ordered
Outputs an ordered list: HTML tag <ol>.
namespace = NAME
To restrict the articles in the list to only be in one of the given namespaces.
order = DIRECTION
Controls the sort direction of the list.
ordermethod = METHOD
Determines what criterium (resp. criteria) is (resp. are) used to order the list.
sortkey
Outputs list sorted by title and sortkey, requires at least one category statement.
title
Outputs list sorted by article (prefix +) title.
resultsheader = TEXT
Output a headline if there is at least one article to display.
suppresserrors = true|false
Suppress the warning message if no matching article was found.

Examples

List all MediaWiki extensions in a template
{{#dpl:
  | format         = <ul class="dpl-3c">,<li>[[%PAGE%]],</li>,</ul>
  | suppresserrors = true
  | ordermethod    = sortkey
  | order          = ascending
  | namespace      =
  | resultsheader  = %PAGES% pages found:\n 
  | category       = {{PAGENAME}}&Extension
}}

References