Issue:Double inclusion of author and editdate

From FollowTheScore
Revision as of 01:41, 14 September 2009 by Martinfs (talk | contribs) (New page: {{Issue |Type = Change Request <-- please select |Extension = DPL |Version = 1.8.8 |Description = How to include editdate for a page and then including ''that'' page and...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Description: How to include editdate for a page and then including that page and retaining info
Extension / Version: DPL   /   1.8.8
Type / Status: Change Request <-- please select   /   open

Problem

I've got a template that holds the following query:


 <includeonly>
 {{#dpl:
 |title={{FULLPAGENAME}}
 |skipthispage=no
 |addauthor=true
 |adduser=true
 |ordermethod=firstedit
 |addeditdate=true
 |format=,[[User:%USER%|%USER%]] - %DATE%,,
 }}
 </includeonly>

The template is used in a number of pages that I also gather in one larger page. The trouble is, that the above DPL-query then applies to the large page that includes the other smaller ones. Obviously because of the {{FULLPAGENAME}}-magic word, but {{Subst:FULLPAGENAME}} won't work because of the parser order.

It's obvious that I'm just taking the long way around in terms of including a signature stamp. I'm fully aware that it can be done by making a template like ~~<noincludes>~~, but it never makes it to the page that it needs to unless I substitute the template that holds the above query. And that's no good, since that template takes a number of parameters that I display on my large page.

A complicated explanation, I apologize.. I'm sure I'm missing something basic here.

Any help?

Reply