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

From FollowTheScore
Jump to: navigation, search
Line 1: Line 1:
 
<noinclude>Template to scroll through DPL result pages</noinclude><includeonly><!--
 
<noinclude>Template to scroll through DPL result pages</noinclude><includeonly><!--
--><table><tr><td style="background-color: #f9f9f9; padding: .1em .7em;"><!--
+
--><table><tr><td style="background-color: #f9f9f9; padding: .1em .7em .2em .7em;"><!--
 
-->{{#ifexpr:{{{total|0}}} > {{{count|100}}}|{{#ifexpr:{{{offset|0}}} > 0|
 
-->{{#ifexpr:{{{total|0}}} > {{{count|100}}}|{{#ifexpr:{{{offset|0}}} > 0|
 
{{#vardefine:lwrbound|{{#ifexpr:{{#expr:{{{offset|0}}} - {{{count|100}}}}} < 0|0|{{#expr:{{{offset|0}}} - {{{count|100}}}}}}}}}<!--
 
{{#vardefine:lwrbound|{{#ifexpr:{{#expr:{{{offset|0}}} - {{{count|100}}}}} < 0|0|{{#expr:{{{offset|0}}} - {{{count|100}}}}}}}}}<!--

Revision as of 01:00, 6 July 2009

Template to scroll through DPL result pages