Examples/Parameter: title (example 1)

From DynamicPageList3 Manual
Revision as of 01:06, 16 April 2022 by imported>FrozenPlum (Update to include the confirmation that if there's more than one with the same name, they're displayed one after the other (this was not made clear in the manual, only became clear in further examples))
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.

Inclusion of page sections currently does not respect "noinclude" or "onlyinclude" tags. This page is being miscategorized into Category:Fruit examples as a result, despite the Apple page having that category wrapped in noinclude tags.
{{#dpl:
|title=Apple
|include=#Notes
}}

Result

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