Help:DynamicPageList

From Disney•Pixar CARS Wiki
Jump to navigation Jump to search

DynamicPageList is a versatile extension which allows page data to be incorporated into other pages outside its own. It is similar to Cargo, but works with the main wiki database instead of its own.

DPL provides several function hooks and extensive configuration for selecting and outputting results; The complete, first-party manual is located here. This page will be gradually updated as our wiki explores different functionalities and uses over time.

Functions

  • {{#dpl:}} / <dpl> / <DynamicPageList>
  • {{#dplchapter:}}
  • {{#dplmatrix:}}
  • {{#dplnum:}}
  • {{#dplreplace:}}
  • {{#dplvar:}}

Querying

The main function can be written using either {{#dpl:}} or <dpl> with their respective parameter formats.

Result selection
@param Select by
Page info
category Pages in a category
[[Help:Namespaces#|]] Pages in a namespace
titlematch Title or substring within. Use % at beginning or end for part match.
Template usage
uses All pages using transcluding this template, including when nested.
used by Inverse of above

Output/Formatting

@param Select by
debug Set 0 to suppress.
ordermethod Control order of output results, for example by title.
count Limit of max results.
format aka
listseparators
Dependency: |mode=userformat
Handling of | within the table format functionality can actually be manipulated to act as template parameters instead, which is often ideal for more free (open, custom) formatting.
include Parameter(s) of a template on each page; format {Template name}:Parameter name.

Variables:

  • %NAMESPACE%
  • %PAGE%
  • %PAGEID%
  • %TITLE%