Show templates parameters from an article (example): Difference between revisions

From DynamicPageList3 Manual
Content added Content deleted
mNo edit summary
No edit summary
Line 1: Line 1:
{{DPL manual|section=Examples|subsection=Show templates parameters from an article}}
{{PAGENAME}} has been vandalized by the pagename vandal from California.{{DPL manual|section=Examples|subsection=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 <code>{Template}:parameter</code> format.
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 <code>{Template}:parameter</code> format.

Revision as of 05:56, 14 March 2020

Show templates parameters from an article (example) has been vandalized by the pagename vandal from California.

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 }}