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

From DynamicPageList3 Manual
No edit summary
(No difference)

Revision as of 10:34, 12 July 2019

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 }}