Show templates parameters from an article (example): Difference between revisions
No edit summary |
m (Alianin moved page DPL:Example - Show Templates Parameters from an Article to Extension:DPL3/Example: Show templates parameters from an prticle without leaving a redirect: Changing namespaces.) |
||
(No difference)
|
Revision as of 10:34, 12 July 2019
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
}}