Template:DPL scroll: Difference between revisions

From Ymirheim Wiki
(Marked this version for translation)
No edit summary
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;">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>}}<!--
-->{{#ifexpr:{{{count|5}}} > {{{offset|0}}}|<span style="padding-right: 24px;"><translate nowrap>start</translate></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><!--
--><span style="padding-right: 24px; font-weight: bold">{{#expr:{{{offset|0}}} + 1}}..{{#expr:{{{offset|0}}} + {{{count|5}}}}}</span><!--



Revision as of 14:05, 8 July 2024