Difference between revisions of "Template:Extension DPL continue"
From FollowTheScore
m (little correction) |
(left = total - displayed pages) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>Template to continue a query at a certain title; expects scroll direction and first / last page of previous query</noinclude><includeonly><!-- | + | <noinclude>Template to continue a query at a certain title; expects scroll direction and first / last page of previous query.<br>Note: MW 1.14+ uses <code><nowiki>{{urlencode:}}</nowiki></code> instead of <code><nowiki>{{#urlencode:}}</nowiki></code>.</noinclude><includeonly><!-- |
--><table><tr><td style="background-color: #f9f9f9; padding: .1em .7em .2em .7em;"><!-- | --><table><tr><td style="background-color: #f9f9f9; padding: .1em .7em .2em .7em;"><!-- | ||
Line 8: | Line 8: | ||
<span class="plainlinks" style="padding-right: 24px; font-weight: bold">[{{fullurl:{{{page}}}|DPL_scrollDir=up&DPL_count={{{count|}}}&DPL_fromTitle={{#urlencode:{{{lasttitle|~}}}}}}} next]</span>}}<!-- | <span class="plainlinks" style="padding-right: 24px; font-weight: bold">[{{fullurl:{{{page}}}|DPL_scrollDir=up&DPL_count={{{count|}}}&DPL_fromTitle={{#urlencode:{{{lasttitle|~}}}}}}} next]</span>}}<!-- | ||
− | -->({{{pages|0}}} listed{{# | + | -->({{{pages|0}}} listed{{#ifexpr:{{{total|0}}} > {{{pages|0}}} | / {{#expr:{{{total|0}}}-{{{pages|0}}}}} left}}) |
</td></tr></table></includeonly> | </td></tr></table></includeonly> |
Latest revision as of 17:53, 6 July 2009
Template to continue a query at a certain title; expects scroll direction and first / last page of previous query.
Note: MW 1.14+ uses {{urlencode:}}
instead of {{#urlencode:}}
.