模版:DPL4翻页:修订间差异
来自失传媒体中文维基
更多语言
更多操作
| 第2行: | 第2行: | ||
{{#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}}}}} 下一页] | 下一页}} | {{#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}}}}} 下一页] | 下一页}} | ||
跳至第 <input type="number" id="dpl-jump-input" min="1" max="{{#expr: ( ( {{{total|0}}} - 1 ) div {{{count|1}}} ) + 1 }}" value="{{#expr: ( {{{offset|0}}} / {{{count|1}}} ) + 1 }}" style="width: 40px;" data-count="{{{count|1}}}" data-pagename="{{FULLPAGENAME}}"> 页 <button id="dpl-jump-submit">确认</button> | |||
</includeonly> | </includeonly> | ||