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

From DynamicPageList3 Manual
Content added Content deleted
No edit summary
Line 1:
{{DPL Manualmanual|section=Examples|subsection=Show Templatestemplates Parametersparameters from an Articlearticle}}
 
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 Manualmanual used in the DPLExtension:DPL3/Parameters:_Criteria_for_Page_Selection Criteria for page selection article.
 
This example:
 
<pre><nowiki>{{#dpl:
title=DPLExtension:DPL3/Parameters:_Criteria_for_Page_Selection Criteria for page selection
|include={DPL Manualmanual}:subsection
}}</nowiki></pre>
 
Line 15:
 
<code>{{#dpl:
title=DPLExtension:DPL3/Parameters:_Criteria_for_Page_Selection Criteria for page selection
|include={DPL Manualmanual}:subsection
}}</code>

Revision as of 10:35, 12 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 }}