Difference between revisions of "User:Subfader/Navi/ContinueT"

From FollowTheScore
Jump to: navigation, search
(Undo revision 13035 by Subfader (Talk))
Line 1: Line 1:
 
<noinclude>Template to continue a query at a certain title; expects scroll direction and first / last page of previous query</noinclude><includeonly><!--
 
<noinclude>Template to continue a query at a certain title; expects scroll direction and first / last page of previous query</noinclude><includeonly><!--
--><table><tr><td bgcolor=#e7e7e7><!--
+
--><table><tr><td style="background-color: #f9f9f9; padding: .1em .7em .2em .7em;"><!--
-->{{#ifeq:up{{{pages|0}}}|{{{dir|?}}}{{{total|0}}}|
+
 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |
+
-->{{#ifeq:dn{{{pages|0}}}|{{{dir|?}}}{{{total|0}}}||{{#if:{{{dir|}}}|
[http://{{SERVERNAME}}{{SCRIPTPATH}}/index.php?title={{#urlencode:{{{page}}}}}&DPL_scrollDir=up&DPL_count={{{count|}}}&DPL_fromTitle={{#urlencode:{{{lasttitle|~}}}}} next ..]}} &nbsp; &nbsp; &nbsp; <!--
+
<span class="plainlinks" style="padding-right: 24px;">[{{fullurl:{{{page}}}}} start]</span><span class="plainlinks" style="padding-right: 24px; font-weight: bold">[{{fullurl:{{{page}}}|DPL_scrollDir=dn&DPL_count={{{count|}}}&DPL_toTitle={{#urlencode:{{{firsttitle|~}}}}} back]</span>|}}|<span style="padding-right: 24px;">start</span><span style="padding-right: 24px;">back</span>}}}}<!--
-->{{#ifeq:dn{{{pages|0}}}|{{{dir|?}}}{{{total|0}}}|
+
 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|{{#if:{{{dir|}}}|
+
-->{{#ifeq:up{{{pages|0}}}|{{{dir|?}}}{{{total|0}}}|<span style="padding-right: 24px;">next</span>|
[http://{{SERVERNAME}}{{SCRIPTPATH}}/index.php?title={{#urlencode:{{{page}}}}}&DPL_scrollDir=dn&DPL_count={{{count|}}}&DPL_toTitle={{#urlencode:{{{firsttitle|~}}}}} back ..]|
+
<span class="plainlinks" style="padding-right: 24px; font-weight: bold">[{{fullurl:{{{page}}}|DPL_scrollDir=up&DPL_count={{{count|}}}&DPL_fromTitle={{#urlencode:{{{lasttitle|~}}}}}}} next]</span>}}<!--
&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)''
+
-->({{{pages|0}}} listed{{#ifexpr:{{{total|0}}} > {{{pages|0}}} |&nbsp;/ {{{total|0}}} left}})
 
</td></tr></table></includeonly>
 
</td></tr></table></includeonly>

Revision as of 17:47, 6 July 2009

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