Examples/Parameter: include (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[edit]

This will list all contents of the article Apple. The format line uses __NOTOC__ to suppress the behavior where the page headings are automatically added to the current page's table of contents. Not specifying the page name other content in format parameter prevents the page name from being output before the result (the default behavior). If the format line is removed, the default behavior can be observed.

{{#dpl:
|titlematch=Apple
|include=*
|format=__NOTOC__,
}}

Result[edit]

{{#dpl: |titlematch=Apple |include=* |format=, }}