Show templates parameters from an article (example)

From DynamicPageList3 Manual
Revision as of 02:57, 3 April 2022 by imported>FrozenPlum (FrozenPlum moved page Example: Show templates parameters from an article to Show templates parameters from an article (example) without leaving a redirect)
Manual Examples Show templates parameters from an article

The include parameter can be used to display the output value of a specific parameter passed into a template used in an article, using the {Template}:parameter format.

This example will show the subsection given to {{DPL manual}} used in the Extension:DPL3/Parameters: Criteria for page selection article:

{{#dpl:
title=Extension:DPL3/Parameters: Criteria for page selection
|include={DPL manual}:subsection
}}

Produces this output:

{{#dpl: title=Extension:DPL3/Parameters: Criteria for page selection |include={DPL manual}:subsection }}