Examples/Parameter: include (example 1): Difference between revisions
< Examples
imported>FrozenPlum No edit summary |
imported>FrozenPlum m (FrozenPlum moved page Controlling output volume/Parameter: include (example 1) to Examples/Parameter: include (example 1): Simplifying how things are structured) |
||
(No difference)
|
Latest revision as of 01:14, 1 April 2023
Example
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
{{#dpl: |titlematch=Apple |include=* |format=, }}