Difference between revisions of "User:Subfader/Navi/ScrollT"
From FollowTheScore
< User:Subfader | Navi
Line 2: | Line 2: | ||
--><table><tr><td style="background-color: #f9f9f9; padding: .1em .7em .2em .7em;"><!-- | --><table><tr><td style="background-color: #f9f9f9; padding: .1em .7em .2em .7em;"><!-- | ||
− | -->{{#ifexpr:{{{total|0}}} > {{{count|100}}}|{{#ifexpr:{{{offset|0}}} > 0|{{#vardefine:lwrbound| | + | -->{{#ifexpr:{{{total|0}}} > {{{count|100}}}|{{#ifexpr:{{{offset|0}}} > 0|{{#vardefine:lwrbound|{{#ifexpr:{{#expr:{{{offset|0}}} - {{{count|100}}}}} < 0|0|{{#expr:{{{offset|0}}} - {{{count|100}}}}}}}}}<!-- |
− | --><span class="plainlinks" style="padding-right: 24px;">[{{fullurl:{{{page}}}}} start]</span><span class="plainlinks" style="padding-right: 24px; font-weight: bold">[{{fullurl:{{{page}}}|DPL_count={{{count|100}}}&DPL_offset={{#var:lwrbound}}}} {{#expr:{{#var:lwrbound}} + 1}}..{{{offset|0}}}]</span>}}<!-- | + | -->{{#ifexpr:{{{offset|0}}} > 0|<span style="padding-right: 24px;">start</span>|<span class="plainlinks" style="padding-right: 24px;">[{{fullurl:{{{page}}}}} start]</span>}}<span class="plainlinks" style="padding-right: 24px; font-weight: bold">[{{fullurl:{{{page}}}|DPL_count={{{count|100}}}&DPL_offset={{#var:lwrbound}}}} {{#expr:{{#var:lwrbound}} + 1}}..{{{offset|0}}}]</span>}}<!-- |
--><span style="padding-right: 24px; font-weight: bold">{{#expr:{{{offset|0}}} + 1}}..{{#expr:{{{offset|0}}} + {{{count|100}}}}}</span><!-- | --><span style="padding-right: 24px; font-weight: bold">{{#expr:{{{offset|0}}} + 1}}..{{#expr:{{{offset|0}}} + {{{count|100}}}}}</span><!-- | ||
Revision as of 01:17, 6 July 2009
Template to scroll through DPL result pages