Help:DPL/Example: Select by category
< Help:DPL
Jump to navigation
Jump to search
|
Manual | Examples | Select by category |
Basic example
The following example:
{{#dpl: category=DPL }}
Would produce all the articles in the DPL category.
- Help:DPL/Dplreplace
- Help:DPL/Dplmatrix
- Help:DPL/Compatibility
- Help:DPL/Dplchapter
- Help:DPL/Dplvar
- Help:DPL/Dplnum
- Help:DPL/Parameters: Criteria for page selection
- Help:DPL/General usage and invocation syntax
- Help:DPL/Example: Select by recently changed
- Help:DPL/Example: Related to article
- Help:DPL/Example: Display images used
- Help:DPL/Example: Show templates parameters from an article
- Help:DPL/Example: Show sections from an article
- Help:DPL
- Help:DPL/Parameters: Controlling output order
- Help:DPL/Parameters: Controlling output format
- Help:DPL/Parameters: Controlling output volume
- Help:DPL/Parameters: Other parameters
- Help:DPL/Hit counters removed
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 }}
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 }}
To sort results alphabetically:
{{#dpl: category = Chair |ordermethod = titlewithoutnamespace |order = ascending }}