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

From DynamicPageList3 Manual
Content added Content deleted
No edit summary
No edit summary
Line 1: Line 1:
{{DPL Manual|section=Examples|subsection=Related to Article}}
{{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 argument passed into a template used in 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.

Revision as of 20:39, 29 July 2015

Template:DPL Manual

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 DPL:Parameters:_Criteria_for_Page_Selection article.

This example:

{{#dpl:
title=DPL:Parameters:_Criteria_for_Page_Selection
|include={DPL Manual}:subsection
}}

Would produce this output:

{{#dpl: title=DPL:Parameters:_Criteria_for_Page_Selection |include={DPL Manual}:subsection }}