Template:Extension DPL Continue: Difference between revisions
From X-Men: rEvolution
Jump to navigationJump to search
Polymerase (talk | contribs) (Created page with "<includeonly><!-- --><table><tr><td style="background-color: #f9f9f9; padding: .1em .7em .2em .7em;"><!-- -->{{#ifeq:dn{{{pages|0}}}|{{{dir|?}}}{{{total|0}}}||{{#if:{{{dir|}}...") |
Polymerase (talk | contribs) No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><!-- | <noinclude>Template to scroll through DPL result pages</noinclude><includeonly><!-- | ||
--><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|0}}}|{{#ifexpr:{{{offset|0}}} > 0|{{#vardefine:lwrbound|{{#ifexpr:{{#expr:{{{offset|0}}} - {{{count|50}}}}} < 0|0|{{#expr:{{{offset|0}}} - {{{count|50}}}}}}}}}<!-- | ||
-->{{# | -->{{#ifexpr:{{{count|50}}} > {{{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={{{count|50}}}&DPL_offset={{#var:lwrbound}}}} {{#expr:{{#var:lwrbound}} + 1}}..{{{offset|0}}}]</span>}}<!-- | ||
<span class="plainlinks" style="padding-right: 24px; font-weight: bold">[{{fullurl:{{{page}}}| | --><span style="padding-right: 24px; font-weight: bold">{{#expr:{{{offset|0}}} + 1}}..{{#expr:{{{offset|0}}} + {{{count|50}}}}}</span><!-- | ||
--> | -->{{#ifexpr:{{{total|0}}} - {{{count|50}}} > {{{offset|0}}}|{{#ifexpr:{{{total|0}}} - 2 * {{{count|50}}} <= {{{offset|0}}}| | ||
</td></tr></table></includeonly> | <span class="plainlinks" style="padding-right: 24px; font-weight: bold">[{{fullurl:{{{page}}}|DPL_count={{{count|50}}}&DPL_offset={{#expr:{{{offset|0}}} + {{{count|50}}}}}}} {{#expr:{{{offset|0}}} + {{{count|50}}} + 1}}..{{{total|0}}}]</span>| | ||
<span class="plainlinks" style="padding-right: 24px; font-weight: bold">[{{fullurl:{{{page}}}|DPL_count={{{count|50}}}&DPL_offset={{#expr:{{{offset|0}}} + {{{count|50}}}}}}} {{#expr:{{{offset|0}}} + {{{count|50}}} + 1}}..{{#expr:{{{offset|0}}} + 2 * {{{count|50}}}}}]</span>}}}}<!-- | |||
-->({{{total|0}}} total)}}<!-- | |||
--></td></tr></table></includeonly> |
Latest revision as of 03:27, 11 October 2013
Template to scroll through DPL result pages