Difference between revisions of "Issue:Add a template in the pages automatically by DPL"
Roc michael (talk | contribs) (→Reply) |
Roc michael (talk | contribs) |
||
Line 2: | Line 2: | ||
|Type = Change Request | |Type = Change Request | ||
|Extension = DPL | |Extension = DPL | ||
− | |Version = | + | |Version = ? |
|Description = Add a template in the pages automatically by DPL | |Description = Add a template in the pages automatically by DPL | ||
|Status = open | |Status = open |
Revision as of 01:16, 10 May 2008
Description: | Add a template in the pages automatically by DPL |
Extension / Version: | DPL / ? |
Type / Status: | Change Request / open |
Problem
Hi Gero.
Could it be possible that we can add DPL query in a template page. Then, the pages which match the DPL query will include the template into themself.--Roc michael 00:42, 9 May 2008 (CEST)
Reply
Hi Michael, you can place a query into a template page. And if you use the 'skithispage' parameter that query can even collect information about the current page. What do you want? Do you want to create a reference list: "which article uses DPL?" or do you want to create a list "which articles use a ceratin DPL query?". The second would be possible if you put that query into a template. -- Gero 08:12, 9 May 2008 (CEST)
Re reply
Thank you, Gero for repling.
Since DPL have so many way to select pages (even use regexp), maybe a user can put DPL query in a page to specific some pages to use a specific template (without putting the parser tag like "{{template name}}" in those pages individually). For example,users upload files to a wiki don't need to fill in any information in the counterpart image page anymore if DPL have the function described above. It's just needs to assign a template for the image pages by using a DPL query in a page. Any idea.--Roc michael 23:54, 9 May 2008 (CEST)