Difference between revisions of "Issue:Extending includepage"
From FollowTheScore
(Created change request) |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 34: | Line 34: | ||
== Reply == | == Reply == | ||
+ | |||
+ | DPL can do this already: | ||
+ | {{#dpl: | ||
+ | |titlematch= City % | ||
+ | |include = {~googlemap.*}.dpl | ||
+ | |format = ,,\n, | ||
+ | }} | ||
+ | |||
+ | see also [[MapDemo]]. [[User:Gero|Gero]] 10:45, 10 October 2009 (UTC) |
Latest revision as of 11:45, 10 October 2009
Description: | Includepage support for parser extension calls with parameters |
Extension / Version: | DPL / 1.8.9 on MW 1.15.1 |
Type / Status: | Change Request / open |
Problem
It would be very useful if includepage could be used with parser extension calls with parameters such as the Google Maps extension. Say you have several pages describing cities where each uses the Google map extension. If this new feature was added, DPL could be uses to collect the content of all parser extensions calls and generate a google map with all cities.
Example:
City A:
<googlemap version="0.9" lat="10.00000" lon="11.0000" zoom="10"> 10.00, 11.00, City A </googlemap>
City B:
<googlemap version="0.9" lat="12.00000" lon="13.0000" zoom="10"> 12.00, 13.00, City B </googlemap>
DPL could then generate something like this:
10.00, 11.00, City A 12.00, 13.00, City B
This change request relates to this question in the FAQ.
Reply
DPL can do this already: Template:Googlemap.*.dpl.default 10.2,11.2, halo 10.1,11.0, hala2 (A) 10.00, 11.00, This is City A (X) 10.1, 11.1, A suburb of City A 9.9,11.1, hals2 khj ih iu li 9.9,11.2, hald2 9.9,10.8, half2