模版: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;">首页…”) |
|||
| 第1行: | 第1行: | ||
<includeonly | <includeonly> | ||
{{#ifexpr: {{{offset|0}}} > 0 | [{{fullurl:{{FULLPAGENAME}}|offset={{#expr: {{{offset}}} - {{{count}}} }}} 上一页] }} | |||
{{#ifexpr: {{{offset|0}}} + {{{count}}} < {{{total}}} | [{{fullurl:{{FULLPAGENAME}}|offset={{#expr: {{{offset}}} + {{{count}}} }}} 下一页] }} | |||
</includeonly> | |||