I have a DPL query of the form:
{{#dpl:
category= My used category
|include= {My template}.dpl
|ordermethod = title
|order= ascending
|table = class=wikitable sortable,Article, Name, Description
}}
What happens is articles may use My template more than once on a page with different parameters.
{{My template|name=foo | description = Fred}}
{{My template|name=bar | description = Mary}}
This produces a table with both uses of My template in the article.
What I'd like is to have a filter to only return the templates with name=foo (and the other parameters).
I have a DPL query of the form:
What happens is articles may use
My templatemore than once on a page with different parameters.This produces a table with both uses of
My templatein the article.What I'd like is to have a filter to only return the templates with
name=foo(and the other parameters).