Select by category-related criteria (examples): Difference between revisions

From DynamicPageList3 Manual
imported>FrozenPlum
m (15 revisions imported: Imported from help.fandom.com, Extension:DPL3 pages, which are for the obsolete version of DPL3 extension for MediaWiki 1.33, to adapt to forked (newer) extension version.)
imported>FrozenPlum
(No difference)

Revision as of 01:47, 29 March 2022

Manual Examples Select by category

Basic example

The following example:

{{#dpl:
category=DPL3
}}

Would produce all the articles in the DPL3 category.

{{#dpl: category=DPL3 }}

Further examples of syntax

To find all articles that feature two category names, such as all wooden chairs, an example would be:

<DPL>
  category = Chair
  category = Wood
</DPL>

Or to find all articles that contain one category name, and then another category name from two possible options, such as listing all the chairs that are made of wood as well as all the chairs that are made of metal, would be:

<DPL>
  category = Chair
  category = Wood | Metal
</DPL>

To sort results alphabetically:

<DPL>
  category = Chair
  ordermethod = titlewithoutnamespace
  order = ascending
</DPL>