Jump to content

Examples/Parameter: replaceintitle (example 1)

From DynamicPageList3 Manual
Please do not edit this page unless you're wanting to edit the manual itself, it is an example included in the manual.

Example

[edit source]

This select pages in category Examples, that are in the namespace Category, and whose titlematch contains (examples) anywhere in it. The first argument of replaceintitle searches for the word examples and replaces it with various examples so their content in brackets displays as (various examples). Results are limited to a count of 3.

Code
{{#dpl:
|category       = Examples
|namespace      = Category
|titlematch     = %(examples)%
|replaceintitle = /examples/,various examples
|count          = 3
}}
Result
Cookies help us deliver our services. By using our services, you agree to our use of cookies.