Difference between revisions of "Issue:%PAGE% not working in image link"

From FollowTheScore
Jump to: navigation, search
(New page: {{#dpl: |category=catname |namespace=Main |randomcount=1 |include=teaser |format = ,\n'''%TITLE%'''[[Image:%PAGE%-main.jpg|border|150px|right|link=http://www.mysite.com/ind...)
 
 
Line 1: Line 1:
{{#dpl:
+
 
 +
== Problem ==
 +
In the query below, all uses of %PAGE% work fine, except for the one in the link= field.  That one works as long as the page name is one word, but as soon as it is like two_words, it fails.  The other %PAGE& items don't show this bug.
 +
 
 +
<nowiki>{{#dpl:
 
  |category=catname
 
  |category=catname
 
  |namespace=Main
 
  |namespace=Main
Line 7: Line 11:
  
 
}}
 
}}
 
+
</nowiki>
== Problem ==
 
In the query above, all uses of %PAGE% work fine, except for the one in the link= field.  That one works as long as the page name is one word, but as soon as it is like two_words, it fails.  The other %PAGE& items don't show this bug.
 
  
  
 
== Reply ==
 
== Reply ==

Latest revision as of 05:25, 24 May 2010

Problem

In the query below, all uses of %PAGE% work fine, except for the one in the link= field. That one works as long as the page name is one word, but as soon as it is like two_words, it fails. The other %PAGE& items don't show this bug.

{{#dpl: |category=catname |namespace=Main |randomcount=1 |include=teaser |format = ,\n'''[[%PAGE%|%TITLE%]]'''[[Image:%PAGE%-main.jpg|border|150px|right|link=http://www.mysite.com/index.php?title=%PAGE%]], [[%PAGE%|...Read more about %PAGE%...]], }}


Reply