Anonymous user
Show templates parameters from an article (example): Difference between revisions
Show templates parameters from an article (example) (view source)
Revision as of 05:45, 3 April 2022
, 2 years agoThis may need to get merged elsewhere, or greatly expanded to be a better example, maybe with some other output formatting (for now, fix the example so it works)
imported>FrozenPlum m (FrozenPlum moved page Extension:DPL3/Example: Show templates parameters from an article to Example: Show templates parameters from an article) |
imported>FrozenPlum m (This may need to get merged elsewhere, or greatly expanded to be a better example, maybe with some other output formatting (for now, fix the example so it works)) |
||
(One intermediate revision by the same user not shown) | |||
Line 3:
The include parameter can be used to display the output value of a specific parameter passed into a template used in an article, using the <code>{Template}:parameter</code> format.
This example will show the subsection given to {{Tl|DPL manual}} used in the [[
<pre>
{{#dpl:
|title=
|include={DPL manual}:
}}</pre>▼
}}
'''Result:'''<br>
{{#dpl:
|title=
|include={DPL manual}:
}}
[[Category:Miscellaneous examples]]
|