模版:DPL4翻页:修订间差异
来自失传媒体中文维基
更多语言
更多操作
IDOMOY(留言 | 贡献) (创建页面,内容为“<includeonly><div class="dpl-navigation" style="display: block; margin: 10px 0; text-align: center;"> {{#ifexpr: {{{total|0}}} > {{{count|0}}} | <!-- 首页和上一页逻辑 --> {{#ifexpr: {{{offset|0}}} > 0 | [{{fullurl:{{FULLPAGENAME}}|offset=0}} 首页] | [{{fullurl:{{FULLPAGENAME}}|offset={{#expr: {{{offset|0}}} - {{{count|0}}} < 0 ? 0 : {{{offset|0}}} - {{{count|0}}} }}}} 上一页] | <span style="color: grey;">首页…”) |
|||
| (未显示同一用户的16个中间版本) | |||
| 第1行: | 第1行: | ||
<includeonly> | <includeonly> | ||
{{#ifexpr: {{{offset|0}}} > 0 | [https://lostmediawiki.cn/wiki/{{FULLPAGENAME}}?DPL_offset={{#expr: {{{offset|0}}} - {{{count|1}}}}} 上一页] | 上一页}} | 第 {{#expr: ( {{{offset|0}}} / {{{count|1}}} ) + 1 }} / {{#expr: ( ( {{{total|0}}} - 1 ) div {{{count|1}}} ) + 1 }} 页 | {{#ifexpr: {{{offset|0}}} + {{{count|1}}} < {{{total|0}}} | [https://lostmediawiki.cn/wiki/{{FULLPAGENAME}}?DPL_offset={{#expr: {{{offset|0}}} + {{{count|1}}}}} 下一页] | 下一页}} | |||
<span id="dpl-jump-area" data-count="{{{count|1}}}" data-total="{{{total|0}}}" data-offset="{{{offset|0}}}" data-pagename="{{FULLPAGENAME}}"></span> | |||
</includeonly> | |||