|
|
| خط ۱: |
خط ۱: |
| <table><tr><td style="background-color: #f9f9f9; padding: .1em .7em .2em .7em;"><!--
| | {{#ifexpr: {{{offset|0}}} > 0 | |
| -->{{#ifexpr:{{{total|0}}} > {{{count|5}}}|{{#ifexpr:{{{offset|0}}} > 0|{{#dplvar:set|lwrbound|{{#ifexpr:{{#expr:{{{offset|0}}} - {{{count|5}}}}} < 0|0|{{#expr:{{{offset|0}}} - {{{count|5}}}}}}}}}<!--
| | ← [[{{{page}}}?DPL_offset={{#expr: {{{offset|0}}} - {{{count|200}}} }}&DPL_count={{{count|200}}}|قبلی]] |
| | | }} |
| -->{{#ifexpr:{{{count|5}}} > {{{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|5}}}&DPL_offset={{#dplvar:lwrbound}}}} {{#expr:{{#dplvar:lwrbound}} + 1}}..{{{offset|0}}}]</span>}}<!--
| | |
| --><span style="padding-right: 24px; font-weight: bold">{{#expr:{{{offset|0}}} + 1}}..{{#expr:{{{offset|0}}} + {{{count|5}}}}}</span><!--
| | {{#ifexpr: {{{offset|0}}} + {{{count|200}}} < {{{total|0}}} | |
| | | [[{{{page}}}?DPL_offset={{#expr: {{{offset|0}}} + {{{count|200}}} }}&DPL_count={{{count|200}}}|بعدی →]] |
| -->{{#ifexpr:{{{total|0}}} - {{{count|5}}} > {{{offset|0}}}|{{#ifexpr:{{{total|0}}} - 2 * {{{count|5}}} <= {{{offset|0}}}|
| | }} |
| <span class="plainlinks" style="padding-right: 24px; font-weight: bold">[{{fullurl:{{{page}}}|DPL_count={{{count|5}}}&DPL_offset={{#expr:{{{offset|0}}} + {{{count|5}}}}}}} {{#expr:{{{offset|0}}} + {{{count|5}}} + 1}}..{{{total|0}}}]</span>|
| |
| <span class="plainlinks" style="padding-right: 24px; font-weight: bold">[{{fullurl:{{{page}}}|DPL_count={{{count|5}}}&DPL_offset={{#expr:{{{offset|0}}} + {{{count|5}}}}}}} {{#expr:{{{offset|0}}} + {{{count|5}}} + 1}}..{{#expr:{{{offset|0}}} + 2 * {{{count|5}}}}}]</span>}}}}<!--
| |
| | |
| -->({{{total|0}}} total)}}<!--
| |
| --></td></tr></table><noinclude>
| |
| | |
| | |
| </noinclude>
| |