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

From DynamicPageList3 Manual
Content added Content deleted
(Created page with "{{DPL Manual|section=Examples|subsection=Related to Article}} The include parameter can be used to display the output value of a specific argument passed into a template used...")
 
No edit summary
Line 2: Line 2:


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.

Using the format of <code>{Template}:argument</code> this example will show the subsection given to Template:DPL Manual used in the DPL:Parameters:_Criteria_for_Page_Selection article.
Using the format of <code>{Template}:argument</code> this example will show the subsection given to Template:DPL Manual used in the DPL:Parameters:_Criteria_for_Page_Selection article.



Revision as of 20:38, 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 }}