模板:Extension DPL/pager
出自Meshal Lite
(修订版本间的差异)
第2行: | 第2行: | ||
--><table><tr><td style="background-color: #f9f9f9; padding: .1em .7em .2em .7em;"><!-- | --><table><tr><td style="background-color: #f9f9f9; padding: .1em .7em .2em .7em;"><!-- | ||
− | -->{{#ifeq:dn{{{pages|0}}}|{{{dir|?}}}{{{total|0}}}||{{#if:{{{dir|}}}| | + | -->{{#ifeq:dn{{{pages|0}}}|{{{dir|?}}}{{{total|0}}}|<span style="padding-right: 24px;">start</span><span style="padding-right: 24px;">back</span>|{{#if:{{{dir|}}}| |
<span class="plainlinks" style="padding-right: 24px;">[{{fullurl:{{{page}}}}} start]</span><span class="plainlinks" style="padding-right: 24px; font-weight: bold">[{{fullurl:{{{page}}}|DPL_scrollDir=dn&DPL_count={{{count|}}}&DPL_toTitle={{urlencode:{{{firsttitle|~}}}}} back]</span>|}}|<span style="padding-right: 24px;">start</span><span style="padding-right: 24px;">back</span>}}}}<!-- | <span class="plainlinks" style="padding-right: 24px;">[{{fullurl:{{{page}}}}} start]</span><span class="plainlinks" style="padding-right: 24px; font-weight: bold">[{{fullurl:{{{page}}}|DPL_scrollDir=dn&DPL_count={{{count|}}}&DPL_toTitle={{urlencode:{{{firsttitle|~}}}}} back]</span>|}}|<span style="padding-right: 24px;">start</span><span style="padding-right: 24px;">back</span>}}}}<!-- | ||
在2019年11月6日 (三) 08:02所做的修订版本
Template to continue a query at a certain title; expects scroll direction and first / last page of previous query.
Note: MW 1.14+ uses {{urlencode:}}
instead of {{#urlencode:}}
.
debug
start
- dn0
- ?0
back
next
- dn0
- ?0