Examples/Parameter: title (example 1)

From DynamicPageList3 Manual
Revision as of 03:52, 22 April 2022 by imported>FrozenPlum (Cross link the examples that show different outcomes for different output formatting of nearly the same statement (the behaviour is different enough that it warrants explaining).)
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 example will include the contents of the "Notes" section/heading of the Apple article, in the main namespace. If there is more than one section with the same name, the contents of each are displayed one after the other. Note that when such content is formatted instead using table, each heading with the same name appears in a separate result row, as can be seen in this example.

{{#dpl:
|title     = Apple
|include   = #Notes
|eliminate = categories 
}}

Result

{{#dpl: |title = Apple |include = #Notes |eliminate = categories }}