Difference between revisions of "Talk:DPL Example 020"

From FollowTheScore
Jump to: navigation, search
m (ok no :/)
Line 1: Line 1:
 
==Can't get it working==
 
==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 --[[User:Subfader|Subfader]] 21:44, 5 July 2009 (UTC)
 
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 --[[User:Subfader|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:
 +
<pre>
 +
<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
 +
}}
 +
</pre>
 +
 +
:Doesn't work:
 +
<pre>
 +
{{#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
 +
}}
 +
</pre>
 +
:The templates are the same as here. --[[User:Subfader|Subfader]] 05:39, 6 July 2009 (UTC)

Revision as of 06:39, 6 July 2009

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. --Subfader 05:39, 6 July 2009 (UTC)