Issue:Select based on template parameter value

From FollowTheScore
Revision as of 16:50, 19 April 2010 by Maiden taiwan (talk | contribs) (Problem)
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 and pass 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