Difference between revisions of "Template:Extension DPL continue"

From FollowTheScore
Jump to: navigation, search
Line 3: Line 3:
 
-->{{#ifeq:up{{{pages|0}}}|{{{dir|?}}}{{{total|0}}}|
 
-->{{#ifeq:up{{{pages|0}}}|{{{dir|?}}}{{{total|0}}}|
 
            |
 
            |
[http://{{SERVERNAME}}{{SCRIPTPATH}}/index.php?title={{#urlencode:{{{page}}}}}&DPL_scrollDir=up&DPL_fromTitle={{#urlencode:{{{lasttitle|~}}}}} next ..]}} &nbsp; &nbsp; &nbsp; <!--
+
[http://{{SERVERNAME}}{{SCRIPTPATH}}/index.php?title={{#urlencode:{{{page}}}}}&DPL_scrollDir=up&DPL_count={{{count|}}}&DPL_fromTitle={{#urlencode:{{{lasttitle|~}}}}} next ..]}} &nbsp; &nbsp; &nbsp; <!--
 
-->{{#ifeq:dn{{{pages|0}}}|{{{dir|?}}}{{{total|0}}}|
 
-->{{#ifeq:dn{{{pages|0}}}|{{{dir|?}}}{{{total|0}}}|
 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|{{#if:{{{dir|}}}|  
 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|{{#if:{{{dir|}}}|  
[http://{{SERVERNAME}}{{SCRIPTPATH}}/index.php?title={{#urlencode:{{{page}}}}}&DPL_scrollDir=dn&DPL_toTitle={{#urlencode:{{{firsttitle|~}}}}} back ..]|
+
[http://{{SERVERNAME}}{{SCRIPTPATH}}/index.php?title={{#urlencode:{{{page}}}}}&DPL_scrollDir=dn&DPL_count={{{count|}}}&DPL_toTitle={{#urlencode:{{{firsttitle|~}}}}} back ..]|
 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}}}} &nbsp; &nbsp; <!--
 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}}}} &nbsp; &nbsp; <!--
 
-->[http://{{SERVERNAME}}{{SCRIPTPATH}}/index.php?title={{#urlencode:{{{page}}}}} reset ..] &nbsp; &nbsp; ''({{{pages|0}}} {{#if:{{{total|}}}|of {{{total|0}}} remaining}} pages)''
 
-->[http://{{SERVERNAME}}{{SCRIPTPATH}}/index.php?title={{#urlencode:{{{page}}}}} reset ..] &nbsp; &nbsp; ''({{{pages|0}}} {{#if:{{{total|}}}|of {{{total|0}}} remaining}} pages)''
 
</td></tr></table></includeonly>
 
</td></tr></table></includeonly>

Revision as of 19:09, 28 June 2009

Template to continue a query at a certain title; expects scroll direction and first / last page of previous query