Difference between revisions of "User:Sancho/DPL/continue"
From Apache OpenOffice Wiki
< User:Sancho | DPL
m (test changes) |
m (test changes) |
||
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}}} > {{{ | + | -->{{#ifexpr:{{{total|0}}} > {{{DPL_count|0}}}|{{#ifexpr:{{{DPL_offset|0}}} > 0|{{#vardefine:lwrbound|{{#ifexpr:{{#expr:{{{DPL_offset|0}}} - {{{DPL_count|100}}}}} < 0|0|{{#expr:{{{DPL_offset|0}}} - {{{DPL_count|100}}}}}}}}}<!-- |
− | -->{{#ifexpr:{{{ | + | -->{{#ifexpr:{{{DPL_count|100}}} > {{{DPL_offset|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={{{DPL_count|100}}}&DPL_offset={{#var:lwrbound}}}} {{#expr:{{#var:lwrbound}} + 1}}..{{{DPL_offset|0}}}]</span>}}<!-- |
− | --><span style="padding-right: 24px; font-weight: bold">{{#expr:{{{ | + | --><span style="padding-right: 24px; font-weight: bold">{{#expr:{{{DPL_offset|0}}} + 1}}..{{#expr:{{{DPL_offset|0}}} + {{{DPL_count|100}}}}}</span><!-- |
− | -->{{#ifexpr:{{{total|0}}} - {{{ | + | -->{{#ifexpr:{{{total|0}}} - {{{DPL_count|100}}} > {{{DPL_offset|0}}}|{{#ifexpr:{{{total|0}}} - 2 * {{{DPL_count|100}}} <= {{{DPL_offset|0}}}| |
− | <span class="plainlinks" style="padding-right: 24px; font-weight: bold">[{{fullurl:{{{page}}}|DPL_count={{{ | + | <span class="plainlinks" style="padding-right: 24px; font-weight: bold">[{{fullurl:{{{page}}}|DPL_count={{{DPL_count|100}}}&DPL_offset={{#expr:{{{DPL_offset|0}}} + {{{DPL_count|100}}}}}}} {{#expr:{{{DPL_offset|0}}} + {{{DPL_count|100}}} + 1}}..{{{total|0}}}]</span>| |
− | <span class="plainlinks" style="padding-right: 24px; font-weight: bold">[{{fullurl:{{{page}}}|DPL_count={{{ | + | <span class="plainlinks" style="padding-right: 24px; font-weight: bold">[{{fullurl:{{{page}}}|DPL_count={{{DPL_count|100}}}&DPL_offset={{#expr:{{{DPL_offset|0}}} + {{{DPL_count|100}}}}}}} {{#expr:{{{DPL_offset|0}}} + {{{DPL_count|100}}} + 1}}..{{#expr:{{{DPL_offset|0}}} + 2 * {{{DPL_count|100}}}}}]</span>}}}}<!-- |
-->({{{total|0}}} total)}}<!-- | -->({{{total|0}}} total)}}<!-- | ||
--></td></tr></table></includeonly> | --></td></tr></table></includeonly> |
Revision as of 14:09, 15 November 2010
Template to scroll through DPL result pages