模板:Extension DPL/pager
出自Meshal Lite
(修订版本间的差异)
小 (已保护“模板:Extension DPL/pager” ([edit=sysop] (无期) [move=sysop] (无期))) |
|||
第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}}}|<span style="padding-right: 24px;">⇤</span><span style="padding-right: 24px;"> | + | -->{{#ifeq:dn{{{pages|0}}}|{{{dir|?}}}{{{total|0}}}|<span style="padding-right: 24px;">⇤</span><span style="padding-right: 24px;">←</span>|{{#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=dn&DPL_count={{{count|}}}&DPL_toTitle={{urlencode:{{{firsttitle|~}}}}} | + | <span class="plainlinks" style="padding-right: 24px;">[{{fullurl:{{{page}}}}} ⇤]</span><span class="plainlinks" style="padding-right: 24px; font-weight: bold">[{{fullurl:{{{page}}}|DPL_scrollDir=dn&DPL_count={{{count|}}}&DPL_toTitle={{urlencode:{{{firsttitle|~}}}}} ←]</span>|}}|<span style="padding-right: 24px;">⇤</span><span style="padding-right: 24px;">←</span>}}}}<!-- |
− | -->{{#ifeq:up{{{pages|0}}}|{{{dir|?}}}{{{total|0}}}|<span style="padding-right: 24px;"> | + | -->{{#ifeq:up{{{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=up&DPL_count={{{count|}}}&DPL_fromTitle={{urlencode:{{{lasttitle|~}}}}}}} | + | <span class="plainlinks" style="padding-right: 24px; font-weight: bold">[{{fullurl:{{{page}}}|DPL_scrollDir=up&DPL_count={{{count|}}}&DPL_fromTitle={{urlencode:{{{lasttitle|~}}}}}}} →]</span>}}<!-- |
-->({{{pages|0}}} listed{{#ifexpr:{{{total|0}}} > {{{pages|0}}} | / {{#expr:{{{total|0}}}-{{{pages|0}}}}} left}}) | -->({{{pages|0}}} listed{{#ifexpr:{{{total|0}}} > {{{pages|0}}} | / {{#expr:{{{total|0}}}-{{{pages|0}}}}} left}}) | ||
</td></tr></table></includeonly> | </td></tr></table></includeonly> |
在2019年11月6日 (三) 08:09所做的修订版本
Template to continue a query at a certain title; expects scroll direction and first / last page of previous query.