Template:DPL scroll: Difference between revisions

From Ymirheim Wiki
(Created page with "<table><tr><td style="background-color: #393939; padding: .1em .7em .2em .7em;"><!-- -->{{#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>}}<sp...")
 
(Marked this version for translation)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table><tr><td style="background-color: #393939; padding: .1em .7em .2em .7em;"><!--
<table><tr><td style="padding: .1em .7em .2em .7em;"><!--
-->{{#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>}}}}<!--


-->({{{total|0}}} total)}}<!--
--><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