Examples/Parameter: title (example 1): Difference between revisions

From DynamicPageList3 Manual
Content added Content deleted
imported>FrozenPlum
m (forgot to remove the eliminate statement when I was done)
imported>FrozenPlum
m (Move the notes out of the example and onto the page)
Line 6: Line 6:
==Example==
==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 <code>{{DPL|table}}</code>, each heading with the same name appears in a separate result row, as can be seen in [[Controlling output volume#include page sections|another example]].
This example will include the contents of the "Notes" section/heading of the [[Apple]] article, in the main namespace.


<pre>
<pre>
Line 21: Line 21:
|include = #Notes
|include = #Notes
}}
}}

<noinclude>
<noinclude>
[[Category:Select by title-related criteria]]
[[Category:Select by title-related criteria]]

Revision as of 00:32, 28 April 2022

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.

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

Result

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