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

From FollowTheScore
Jump to: navigation, search
(Undo revision 12856 by Subfader (Talk))
(Undo revision 12856 by Subfader (Talk))
Line 2: Line 2:
 
--><table><tr><td style="background-color: #f9f9f9; padding: .1em .6em;"><!--
 
--><table><tr><td style="background-color: #f9f9f9; padding: .1em .6em;"><!--
 
-->{{#ifeq:dn{{{pages|0}}}|{{{dir|?}}}{{{total|0}}}|
 
-->{{#ifeq:dn{{{pages|0}}}|{{{dir|?}}}{{{total|0}}}|
|{{#if:{{{dir|<span style="padding-right: 24px;>back</span>}}}|  
+
|{{#if:{{{dir|}}}|  
 
<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 class="plainlinks" style="padding-right: 24px; font-weight: bold">[{{fullurl:{{{page}}}|DPL_scrollDir=dn&DPL_count={{{count|}}}&DPL_toTitle={{#urlencode:{{{firsttitle|~}}}}} back]</span>|}}}}}}<!--
-->{{#ifeq:up{{{pages|0}}}|{{{dir|?}}}{{{total|0}}}||
+
-->{{#ifeq:up{{{pages|0}}}|{{{dir|?}}}{{{total|0}}}|span style="padding-right: 24px;>back</span>|
 
<span class="plainlinks" style="padding-right: 24px; font-weight: bold">[{{fullurl:{{{page}}}|DPL_scrollDir=up&DPL_count={{{count|}}}&DPL_fromTitle={{#urlencode:{{{lasttitle|~}}}}}}} next]</span>}}<!--
 
<span class="plainlinks" style="padding-right: 24px; font-weight: bold">[{{fullurl:{{{page}}}|DPL_scrollDir=up&DPL_count={{{count|}}}&DPL_fromTitle={{#urlencode:{{{lasttitle|~}}}}}}} next]</span>}}<!--
 
--><span class="plainlinks" style="padding-right: 24px;">[{{fullurl:{{{page}}}}} reset]</span>({{{pages|0}}} {{#if:{{{total|}}}|of {{{total|0}}} remaining}} pages)
 
--><span class="plainlinks" style="padding-right: 24px;">[{{fullurl:{{{page}}}}} reset]</span>({{{pages|0}}} {{#if:{{{total|}}}|of {{{total|0}}} remaining}} pages)
 
</td></tr></table></includeonly>
 
</td></tr></table></includeonly>

Revision as of 01:30, 6 July 2009

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