Examples/Parameter: titlemaxlength (example 1)

From DynamicPageList3 Manual
Revision as of 02:55, 25 April 2022 by imported>FrozenPlum (Created page with "<noinclude>{{noedit}}</noinclude><!-- This is the example preloaded for testing, press "Show Preview" to see the example working (at the bottom of the page). If you save this page, it saves as a new section at the bottom of your '''User:Username/Sandbox''' --> ==Example== This will list articles in Category:Country examples that are not in the "Category" namespace. Each result link will be shortened to a maximum of 5 characters, and those that have more than 5 cha...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Please do not edit this page unless you're wanting to edit the manual itself, it is an example included in the manual.

Example

This will list articles in Category:Country examples that are not in the "Category" namespace. Each result link will be shortened to a maximum of 5 characters, and those that have more than 5 characters will display ... after it.

{{#dpl:
|category       = Country examples
|notnamespace   = Category
|titlemaxlength = 5
|count          = 3
}}

Result

{{#dpl: |category = Country examples |notnamespace = Category |titlemaxlength = 5 |count = 3 }}