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

From DynamicPageList3 Manual
Content added Content deleted
m (→‎top: clean up)
Line 18: Line 18:
|include={DPL manual}:subsection
|include={DPL manual}:subsection
}}</code>
}}</code>

<!-- Extension prefix in other languages:

[[de:Erweiterung:{{subst:BASEPAGENAME}}]]
[[es:Extensión:{{subst:BASEPAGENAME}}]]
[[fr:Extension:{{subst:BASEPAGENAME}}]]
[[it:Estensione:{{subst:BASEPAGENAME}}]]
[[nl:Uitbreiding:{{subst:BASEPAGENAME}}]]
[[pl:Rozszerzenie:{{subst:BASEPAGENAME}}]]
[[pt::Extension:{{subst:BASEPAGENAME}}]]
[[ru:Расширение:{{subst:BASEPAGENAME}}]]
[[zh:Extension::{{subst:BASEPAGENAME}}]]
-->

Revision as of 17:39, 17 July 2019

Manual Examples Show templates parameters from an article

The include parameter can be used to display the output value of a specific argument passed into a template used in an article.

Using the format of {Template}:argument this example will show the subsection given to Template:DPL manual used in the Extension:DPL3/Parameters: Criteria for page selection article.

This example:

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

Would produce this output:

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