个人工具

模板:Database nav

出自Meshal Lite

(修订版本间的差异)
跳转到: 导航, 搜索
 
(由1名用户作出的22个中途修订版本未被显示)
第2行: 第2行:
 
--><table width=100%><tr><td style="background-color: #f9f9f9; padding: .1em .7em .2em .7em;" align="right"><!--
 
--><table width=100%><tr><td style="background-color: #f9f9f9; padding: .1em .7em .2em .7em;" align="right"><!--
  
-->{{#ifeq:{{{pages|0}}}|{{{dir|}}}{{{total|0}}}||{{#if:{{{dir|}}}|
+
-->{{#ifeq:dn{{{pages|0}}}|{{{dir|?}}}{{{total|0}}}||{{#if:{{{dir|}}}|
 
<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>}}}}<!--
 
<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:{{{pages|0}}}|{{{dir|}}}{{{total|0}}}|<span style="padding-right: 24px;">下一页</span>|
+
-->{{#ifeq:up{{{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|~}}}}}}} 下一页]</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}}}条 {{#ifexpr:{{{total|0}}} > {{{pages|0}}} |&nbsp;/ 还有{{#expr:{{{total|0}}}-{{{pages|0}}}}}条}})
 
-->(当前{{{pages|0}}}条 {{#ifexpr:{{{total|0}}} > {{{pages|0}}} |&nbsp;/ 还有{{#expr:{{{total|0}}}-{{{pages|0}}}}}条}})
 
</td></tr></table></includeonly><noinclude>[[category:编辑]][[category:模板]]
 
</td></tr></table></includeonly><noinclude>[[category:编辑]][[category:模板]]
 
 
== 模板说明 ==
 
== 模板说明 ==
{{!}}
 
 
这个模板被用来与DPL插件协同工作, 产生查询列表的导航栏. 这个模板不能被独立使用.
 
这个模板被用来与DPL插件协同工作, 产生查询列表的导航栏. 这个模板不能被独立使用.
 
*目前这个模板被{{tpl|database_detail}}使用.
 
*目前这个模板被{{tpl|database_detail}}使用.
|}
 
 
</noinclude>
 
</noinclude>

在2015年10月23日 (五) 08:36的最新修订版本

模板说明

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