Template:Extension DPL scroll: Difference between revisions
From KB42
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<table><tr><td style="background-color: #f9f9f9 | <table style="width:90%"><tr><td style="background-color: #f9f9f9; 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}}}}}}}}}<!-- | ||
