Examples/Parameter: mode (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

These create abbreviated lists of articles in Category:Fruit examples, each formatted either using an ordered list (numbered), and unordered list (bulleted), or the none list style (no list item markers):

{{#dpl:
|category      = Fruit examples
|titlematch    = %a%
|nottitlematch = %pl%¦%go%
|mode          = ordered
}}
{{#dpl:
|category      = Fruit examples
|titlematch    = %a%
|nottitlematch = %pl%¦%go%
|mode          = unordered
|count         = 3
}}
{{#dpl:
|category      = Fruit examples
|titlematch    = %a%
|nottitlematch = %pl%¦%go%
|mode          = none
|count         = 3
}}

Result

{{#dpl: |category = Fruit examples |titlematch = %a% |nottitlematch = %pl%¦%go% |mode = ordered |count = 3 }}

{{#dpl: |category = Fruit examples |titlematch = %a% |nottitlematch = %pl%¦%go% |mode = unordered |count = 3 }}

{{#dpl: |category = Fruit examples |titlematch = %a% |nottitlematch = %pl%¦%go% |mode = none |count = 3 }}