个人工具

模板:Database nav

出自Meshal Lite

(修订版本间的差异)
跳转到: 导航, 搜索
第1行: 第1行:
 
<includeonly><!--
 
<includeonly><!--
--><table><tr><td style="background-color: #f9f9f9; padding: .1em .7em .2em .7em;"><!--
+
--><table width=100%><tr><td style="background-color: #f9f9f9; padding: .1em .7em .2em .7em;" align="right"><!--
  
-->{{#ifeq:dn{{{pages|0}}}|{{{dir|?}}}{{{total|0}}}||{{#if:{{{dir|}}}|
+
-->{{#ifeq:{{{pages|0}}}|{{{dir|?}}}{{{total|0}}}||{{#if:{{{dir|}}}|
<span class="plainlinks" style="padding-right: 24px;">[{{fullurl:{{{page}}}}} start]</span><span class="plainlinks" style="padding-right: 24px; font-weight: bold">[{{fullurl:{{{page}}}|DPL_scrollDir=dn&DPL_count={{{count|}}}&DPL_toTitle={{urlencode:{{{firsttitle|~}}}}} back]</span>|}}|<span style="padding-right: 24px;">start</span><span style="padding-right: 24px;">back</span>}}}}<!--
+
<span class="plainlinks" style="padding-right: 24px;">[{{fullurl:{{{page}}}}} 第一页]</span><span class="plainlinks" style="padding-right: 24px; font-weight: bold">[{{fullurl:{{{page}}}|DPL_scrollDir=dn&DPL_count={{{count|}}}&DPL_toTitle={{urlencode:{{{firsttitle|~}}}}} 上一页]</span>|}}|<span style="padding-right: 24px;">第一页</span><span style="padding-right: 24px;">上一页</span>}}}}<!--
  
-->{{#ifeq:up{{{pages|0}}}|{{{dir|?}}}{{{total|0}}}|<span style="padding-right: 24px;">next</span>|
+
-->{{#ifeq:{{{pages|0}}}|{{{dir|?}}}{{{total|0}}}|<span style="padding-right: 24px;">下一页</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>}}<!--
+
<span class="plainlinks" style="padding-right: 24px; font-weight: bold">[{{fullurl:{{{page}}}|DPL_scrollDir=up&DPL_count={{{count|}}}&DPL_fromTitle={{urlencode:{{{lasttitle|~}}}}}}} 下一页]</span>}}<!--
  
-->({{{pages|0}}} listed{{#ifexpr:{{{total|0}}} > {{{pages|0}}} |&nbsp;/ {{#expr:{{{total|0}}}-{{{pages|0}}}}} left}})
+
-->(当前{{{pages|0}}}{{#ifexpr:{{{total|0}}} > {{{pages|0}}} |&nbsp;/ 还有{{#expr:{{{total|0}}}-{{{pages|0}}}}}}})
</td></tr></table></includeonly>
+
</td></tr></table></includeonly><noinclude>[[category:编辑]][[category:模板]]
<noinclude>[[category:编辑]][[category:模板]]
+
  
 
== 模板说明 ==
 
== 模板说明 ==

在2015年1月9日 (五) 21:55所做的修订版本


模板说明

这个模板被用来与DPL插件协同工作, 产生查询列表的导航栏. 这个模板不能被独立使用.