Issue:Select based on template parameter value

From FollowTheScore
Revision as of 16:49, 19 April 2010 by Maiden taiwan (talk | contribs) (New page: {{Issue |Type = Change Request |Extension = DPL |Version = 1.8.9 |Description = Select articles based on the value of a template parameter |Status = open }} == Prob...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Description: Select articles based on the value of a template parameter
Extension / Version: DPL   /   1.8.9
Type / Status: Change Request   /   open

Problem

After using DPL for years, the biggest feature that is missing (in my opinion) is an easy way to select articles based on the value of a template parameter. For example:

<dpl>
uses = Template:MyTemplate
templateparameter = MyTemplate,P=6
<dpl>

would mean, "select all articles that transclude Template:MyTemplate, passing the value "6" to the template parameter P.

I realize you can hack this kind of solution using includepage and regular expressions, but it is very painful and hard to get right.

Reply