Difference between revisions of "User:Subfader/Navi/ScrollT"
From FollowTheScore
< User:Subfader | Navi
Line 7: | Line 7: | ||
--><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><!-- | ||
− | -->{{#ifexpr: | + | -->{{#ifexpr:{{{count|100}}} < {{{offset0}}}|{{#ifexpr:{{{total|0}}} - 2 * {{{count|100}}} <= {{{offset|0}}}| |
<span class="plainlinks" style="padding-right: 24px; font-weight: bold">[{{fullurl:{{{page}}}|DPL_count={{{count|100}}}&DPL_offset={{#expr:{{{offset|0}}} + {{{count|100}}}}} {{#expr:{{{offset|0}}} + {{{count|100}}} + 1}}}}..{{{total|0}}}]</span>| | <span class="plainlinks" style="padding-right: 24px; font-weight: bold">[{{fullurl:{{{page}}}|DPL_count={{{count|100}}}&DPL_offset={{#expr:{{{offset|0}}} + {{{count|100}}}}} {{#expr:{{{offset|0}}} + {{{count|100}}} + 1}}}}..{{{total|0}}}]</span>| | ||
<span class="plainlinks" style="padding-right: 24px; font-weight: bold">[{{fullurl:{{{page}}}|DPL_count={{{count|100}}}&DPL_offset={{#expr:{{{offset|0}}} + {{{count|100}}}}} {{#expr:{{{offset|0}}} + {{{count|100}}} + 1}}}}..{{#expr:{{{offset|0}}} + 2 * {{{count|100}}}}}]</span>}}<!-- | <span class="plainlinks" style="padding-right: 24px; font-weight: bold">[{{fullurl:{{{page}}}|DPL_count={{{count|100}}}&DPL_offset={{#expr:{{{offset|0}}} + {{{count|100}}}}} {{#expr:{{{offset|0}}} + {{{count|100}}} + 1}}}}..{{#expr:{{{offset|0}}} + 2 * {{{count|100}}}}}]</span>}}<!-- |
Revision as of 01:30, 6 July 2009
Template to scroll through DPL result pages