Difference between revisions of "Issue:The include Parameter and Mulitple Template Invocations"
From FollowTheScore
(→Reply) |
|||
Line 14: | Line 14: | ||
In principle it should not be too complicated to do that. But at the moment I am quite busy with other things than DPL; would you like to implement that feature? [[User:Gero|Gero]] 23:58, 11 December 2007 (CET) | In principle it should not be too complicated to do that. But at the moment I am quite busy with other things than DPL; would you like to implement that feature? [[User:Gero|Gero]] 23:58, 11 December 2007 (CET) | ||
+ | |||
+ | :I'll see what I can do. I'm still trying to modularize the DPL2 code. I've started with the transclusion code. The additions you've made are quite nice. You mind if the finished product has them available as stand-alone parser functions? —[[User:Sledged|Sledged]] ([[User talk:Sledged|talk]]) 00:05, 12 December 2007 (CET) |
Revision as of 00:05, 12 December 2007
Description: | Using the include parameter returns all invocations of a specified template |
Extension / Version: | DPL / 1.6.0 |
Type / Status: | Bug/Change Request / open |
Problem
So in continuation of this discussion, I've come across a situation where there are a number of pages that have multiple calls to the same template, and I need to get the first (and only the first) invocation of a template call. Right now DPL2 returns all invocations of a specified template. So what started as a question of curiosity now becomes a request/bug. —Sledged (talk) 22:31, 11 December 2007 (CET)
Reply
In principle it should not be too complicated to do that. But at the moment I am quite busy with other things than DPL; would you like to implement that feature? Gero 23:58, 11 December 2007 (CET)