Template:DPL scroll/uk: Difference between revisions

From Ymirheim Wiki
(Created page with "(всього $count)")
 
No edit summary
 
(One intermediate revision by the same user not shown)
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;">до початку</span>|<span class="plainlinks" style="padding-right: 24px;">[{{fullurl:{{{page}}}}} до початку]</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><!--



Latest revision as of 15:48, 8 July 2024