模板:Extension DPL/pager
出自Meshal Lite
第5行: | 第5行: | ||
<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>}}}}<!-- | <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;">⇢</span>| | + | -->{{#ifeq:{{{dir|?}}}||{{#ifexpr:{{{pages|0}}} >= {{{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>}}|{{#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>}}<!-- | + | <span class="plainlinks" style="padding-right: 24px; font-weight: bold">[{{fullurl:{{{page}}}|DPL_scrollDir=up&DPL_count={{{count|}}}&DPL_fromTitle={{urlencode:{{{lasttitle|~}}}}}}} ⇢]</span>}}}}<!-- |
− | --> | + | --></td></tr></table></div></includeonly><noinclude>{{tpl_helpdoc}}</noinclude> |
− | </td></tr></table></div></includeonly><noinclude>{{tpl_helpdoc}}</noinclude> | + | |
− | + | ||
− | + | ||
− | + |