Show templates parameters from an article (example): Difference between revisions
Content added Content deleted
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 edit summary |
||
Line 1:
{{DPL
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
This example:
<pre><nowiki>{{#dpl:
title=
|include={DPL
}}</nowiki></pre>
Line 15:
<code>{{#dpl:
title=
|include={DPL
}}</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
}}