Template:Delete3: Difference between revisions

m
Update to not use variables extension, there's no reason why DPL3 can use its own '#dplvar' (works on off-site test)
imported>FrozenPlum
m (2 revisions imported: Imported from help.fandom.com Extension:DPL3 pages, which are for the obsolete version of DPL3 extension for MediaWiki 1.33, to adapt to forked (newer) extension version.)
imported>FrozenPlum
m (Update to not use variables extension, there's no reason why DPL3 can use its own '#dplvar' (works on off-site test))
Line 1:
<noincludeonlyinclude><includeonly><!--Template to scroll through DPL result pages</noinclude><includeonly><!--
--><table><tr><td style="background-color: #f9f9f9; padding: .1em .7em .2em .7em;"><!-- {{#dplvar:set|name|value}}
 
-->{{#ifexpr:{{{total|0}}} > {{{count|0}}}|{{#ifexpr:{{{offset|0}}} > 0|{{#vardefinedplvar:set|lwrbound|{{#ifexpr:{{#expr:{{{offset|0}}} - {{{count|100}}}}} < 0|0|{{#expr:{{{offset|0}}} - {{{count|100}}}}}}}}}<!--
 
-->{{#ifexpr:{{{count|100}}} > {{{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|100}}}&DPL_offset={{#vardplvar:lwrbound}}}} {{#expr:{{#vardplvar:lwrbound}} + 1}}..{{{offset|0}}}]</span>}}<!--
--><span style="padding-right: 24px; font-weight: bold">{{#expr:{{{offset|0}}} + 1}}..{{#expr:{{{offset|0}}} + {{{count|100}}}}}</span><!--
 
Line 13:
-->({{{total|0}}} total)}}<!--
 
--></td></tr></table></includeonly><noinclude/onlyinclude>
{{Documentation}}
[[Category:Templates]]
[[tr:Şablon:Uzantı DPL kaydırma]]</noinclude>
Anonymous user