Template:DPL scroll: Difference between revisions
From Ymirheim Wiki
No edit summary |
(Marked this version for translation) |
||
Line 2: | Line 2: | ||
-->{{#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}}}}}}}}}<!-- | -->{{#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}}}}}}}}}<!-- | ||
-->{{#ifexpr:{{{count|5}}} > {{{offset|0}}}|<span style="padding-right: 24px;"><translate nowrap><!--T:2--> start</translate></span>|<span class="plainlinks" style="padding-right: 24px;">[{{fullurl:{{{page}}}}} <translate nowrap>start</translate>]</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>}}<!-- | -->{{#ifexpr:{{{count|5}}} > {{{offset|0}}}|<span style="padding-right: 24px;"><translate nowrap><!--T:2--> start</translate></span>|<span class="plainlinks" style="padding-right: 24px;">[{{fullurl:{{{page}}}}} <translate nowrap><!--T:3--> start</translate>]</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><!-- | --><span style="padding-right: 24px; font-weight: bold">{{#expr:{{{offset|0}}} + 1}}..{{#expr:{{{offset|0}}} + {{{count|5}}}}}</span><!-- | ||