Difference between revisions of "Talk:DPL Example 020"

From FollowTheScore
Jump to: navigation, search
(New page: ==Doesn't work on other pages?== I can't make it work on my user page {{#dpl: |category=Events | count = {%DPL_count:5%} | resultsheader = ²{Extension DPL scroll¦total=%TOTALPA...)
 
(Links: reply)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
==Doesn't work on other pages?==
+
==Can't get it working==
I can't make it work on my user page
+
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:
 
{{#dpl:
|category=Events
+
| namespace    =
| count        = {%DPL_count:5%}
+
| category     = Test
| resultsheader = ²{Extension DPL scroll¦total=%TOTALPAGES%¦offset={%DPL_offset:0%}¦count={%DPL_count:5%}¦page={{PAGENAME}} }²\n
+
| count        = {%DPL_count:20%}
| resultsfooter = ²{Extension DPL scroll¦total=%TOTALPAGES%¦offset={%DPL_offset:0%}¦count={%DPL_count:5%}¦page={{PAGENAME}} }²\n
+
| 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. 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. --[[User:Subfader|Subfader]] 05:41, 6 July 2009 (UTC)
 +
 +
==Links==
 +
Is the example working on the [[DPL Example 020]] page on this server? When I click the "6..10" link, I expect it to turn black and get links for "1..5" and "11..15" but nothing is happening. The [[DPL Example 027]] works perfectly, though.--[[User:Volts|Volts]] 15:42, 3 August 2009 (UTC)
 +
 +
:Huh?? It works as desired. --[[User:Subfader|Subfader]] 17:26, 3 August 2009 (UTC)
 +
::Weird. It works now, but it wasn't working for me this morning.--[[User:Volts|Volts]] 17:35, 3 August 2009 (UTC)

Latest revision as of 18:35, 3 August 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. 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)

Links

Is the example working on the DPL Example 020 page on this server? When I click the "6..10" link, I expect it to turn black and get links for "1..5" and "11..15" but nothing is happening. The DPL Example 027 works perfectly, though.--Volts 15:42, 3 August 2009 (UTC)

Huh?? It works as desired. --Subfader 17:26, 3 August 2009 (UTC)
Weird. It works now, but it wasn't working for me this morning.--Volts 17:35, 3 August 2009 (UTC)