个人工具

模板:Extension DPL/pager

出自Meshal Lite

(修订版本间的差异)
跳转到: 导航, 搜索
第8行: 第8行:
 
<span class="plainlinks" style="padding-right: 24px; font-weight: bold">[{{fullurl:{{{page}}}|DPL_scrollDir=up&DPL_count={{{count|}}}&DPL_fromTitle={{urlencode:{{{lasttitle|~}}}}}}} ⇢]</span>}}<!--
 
<span class="plainlinks" style="padding-right: 24px; font-weight: bold">[{{fullurl:{{{page}}}|DPL_scrollDir=up&DPL_count={{{count|}}}&DPL_fromTitle={{urlencode:{{{lasttitle|~}}}}}}} ⇢]</span>}}<!--
  
--><span class="DPLPagerIndicator">({{{pages|0}}} {{#ifexpr:{{{total|0}}} > {{{pages|0}}} |&nbsp;/ {{#expr:{{{total|0}}}-{{{pages|0}}}}} 条}})</span>
+
--><span class="DPLPagerIndicator">({{{pages|0}}} / {{#expr:{{{total|0}}}/{{{pages|0}}} }} )</span>
 
</td></tr></table></div></includeonly><noinclude>{{tpl_helpdoc}}</noinclude>
 
</td></tr></table></div></includeonly><noinclude>{{tpl_helpdoc}}</noinclude>

在2019年11月6日 (三) 08:39所做的修订版本

编辑简介内容Template to continue a query at a certain title; expects scroll direction and first / last page of previous query. 编辑帮助内容 这个模板会被其他模块自动调用,无需手动使用。