Template:DPL scroll: Difference between revisions

From Ymirheim Wiki
No edit summary
(Marked this version for translation)
 
(4 intermediate revisions 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;"><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><!--


Line 9: Line 9:
     <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>}}}}<!--
     <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>}}}}<!--


--><translate nowrap>(<tvar name="count">{{{total|0}}}</tvar> total)</translate>}}<!--
--><translate nowrap><!--T:1--> (<tvar name="count">{{{total|0}}}</tvar> total)</translate>}}<!--
--></td></tr></table><noinclude></noinclude>
--></td></tr></table><noinclude></noinclude>

Latest revision as of 15:47, 8 July 2024