Talk:DPL Example 020

From FollowTheScore
Revision as of 07:41, 6 July 2009 by Subfader (talk | contribs)
Jump to: navigation, search

Can't get it working

It's odd but when I try to add this on a page on my wiki the navi doesn't show up. Only if I add DPL Example 027 above it. I have the Variables extension installed though. :O --Subfader 21:44, 5 July 2009 (UTC)

I don't get it. The navi links only show up with DPL Example 027 being added before (even in a hidden div) but not alone??
Works:
<div style="display:none">
{{#dpl:
| namespace     = 
| category      = Test
| count         = {%DPL_count:25%}
| resultsheader      = ²{DPLnavi¦dir=%SCROLLDIR%¦pages=%PAGES%¦total=%TOTALPAGES%¦firsttitle=%FIRSTTITLE%¦lasttitle=%LASTTITLE%¦page={{FULLPAGENAME}}}²\n
| resultsfooter      = ²{DPLnavi¦dir=%SCROLLDIR%¦pages=%PAGES%¦total=%TOTALPAGES%¦firsttitle=%FIRSTTITLE%¦lasttitle=%LASTTITLE%¦page={{FULLPAGENAME}}}² %DPLTIME%\n
}}
</div>

{{#dpl:
| namespace     = 
| category      = Test
| count         = {%DPL_count:20%}
| resultsheader      = ²{DPLnavi2¦total=%TOTALPAGES%¦offset={%DPL_offset:0%}¦count={%DPL_count:20%}¦page={{FULLPAGENAME}} }²\n
| resultsfooter      = ²{DPLnavi2¦total=%TOTALPAGES%¦offset={%DPL_offset:0%}¦count={%DPL_count:20%}¦page={{FULLPAGENAME}} }²\n
}}
Doesn't work:
{{#dpl:
| namespace     = 
| category      = Test
| count         = {%DPL_count:20%}
| resultsheader      = ²{DPLnavi2¦total=%TOTALPAGES%¦offset={%DPL_offset:0%}¦count={%DPL_count:20%}¦page={{FULLPAGENAME}} }²\n
| resultsfooter      = ²{DPLnavi2¦total=%TOTALPAGES%¦offset={%DPL_offset:0%}¦count={%DPL_count:20%}¦page={{FULLPAGENAME}} }²\n
}}
The templates are the same as here. Those can't be the problem. I deleted the first and still it works if I just add the first example code above the second. --Subfader 05:41, 6 July 2009 (UTC)