Examples/Parameter: include (example 5): Difference between revisions
< Examples
imported>FrozenPlum mNo edit summary |
imported>FrozenPlum m (FrozenPlum moved page Controlling output volume/Parameter: include (example 5) to Examples/Parameter: include (example 5)) |
||
(No difference)
|
Latest revision as of 01:17, 1 April 2023
Example
This selects the article Apple and includes the output of a surrogate template, since Apple doesn't use the specified template, instead of displaying the content of DPL3 displays a call to a template with the additional suffix ".default" giving the user a chance to either create the missing template, or correct the include/includepage reference.
{{#dpl: |titlematch = Apple |includepage = {Details}.example |table = class="wikitable sortable",Page,Surrogate template value }}
Result
{{#dpl: |titlematch = Apple |includepage = {Details}.example |table = class="wikitable sortable",Page,Surrogate template value }}