模板:Database nav
出自Meshal Lite
(修订版本间的差异)
第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: | + | -->{{#ifeq:up{{{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= | + | <span class="plainlinks" style="padding-right: 24px;">[{{fullurl:{{{page}}}}} 第一页]</span><span class="plainlinks" style="padding-right: 24px; font-weight: bold">[{{fullurl:{{{page}}}|DPL_scrollDir=up&DPL_count={{{count|}}}&DPL_toTitle={{urlencode:{{{firsttitle|~}}}}} 上一页]</span>|}}|<span style="padding-right: 24px;">第一页</span><span style="padding-right: 24px;">上一页</span>}}}}<!-- |
− | -->{{#ifexpr:{{{pages|0}}}>={{{total|0}}}|<span style="padding-right: 24px;">下一页</span>|{{#ifeq: | + | -->{{#ifexpr:{{{pages|0}}}>={{{total|0}}}|<span style="padding-right: 24px;">下一页</span>|{{#ifeq:dn{{{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=dn&DPL_count={{{count|}}}&DPL_fromTitle={{urlencode:{{{lasttitle|~}}}}}}} 下一页]</span>}}}}<!-- | <span class="plainlinks" style="padding-right: 24px; font-weight: bold">[{{fullurl:{{{page}}}|DPL_scrollDir=dn&DPL_count={{{count|}}}&DPL_fromTitle={{urlencode:{{{lasttitle|~}}}}}}} 下一页]</span>}}}}<!-- | ||
在2015年1月9日 (五) 21:39所做的修订版本
模板说明
这个模板被用来与DPL插件协同工作, 产生查询列表的导航栏. 这个模板不能被独立使用.
|