“模板:Extension DPL continue”的版本间的差异

来自Jamesqi
跳转至: 导航搜索

 
第8行: 第8行:
 
<span class="plainlinks" style="padding-right: 24px; font-weight: bold">[{{fullurl:{{{page}}}|DPL_scrollDir=up&DPL_count={{{count|}}}&DPL_offset={{#expr:{{{offset|}}}+{{{count|}}}}}}} 下页]</span>}}<!--
 
<span class="plainlinks" style="padding-right: 24px; font-weight: bold">[{{fullurl:{{{page}}}|DPL_scrollDir=up&DPL_count={{{count|}}}&DPL_offset={{#expr:{{{offset|}}}+{{{count|}}}}}}} 下页]</span>}}<!--
  
-->(列出数量:{{{pages|0}}} {{#ifexpr:{{{total|0}}} > {{{pages|0}}} |&nbsp;/ 剩余数量:{{#expr:{{{total|0}}} - {{{offset|0}}} }})</td></tr></table></includeonly>
+
-->(列出数量:{{{pages|0}}} {{#ifexpr:{{{total|0}}} > {{{pages|0}}} |&nbsp;/ 剩余数量:{{#expr:{{{total|0}}} - {{{offset|0}}} }} }})</td></tr></table></includeonly>

2017年9月5日 (二) 11:20的最新版本

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:}}.