Vorlage:Extension DPL continue: Unterschied zwischen den Versionen
Aus Wiki der Piraten Thueringen
(Die Seite wurde neu angelegt: „<noinclude>Template to continue a query at a certain title; expects scroll direction and first / last page of previous query.<br>Note: MW 1.14+ uses <code><now…“) |
|||
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
<noinclude>Template to continue a query at a certain title; expects scroll direction and first / last page of previous query.<br>Note: MW 1.14+ uses <code><nowiki>{{urlencode:}}</nowiki></code> instead of <code><nowiki>{{#urlencode:}}</nowiki></code>.</noinclude><includeonly><!-- | <noinclude>Template to continue a query at a certain title; expects scroll direction and first / last page of previous query.<br>Note: MW 1.14+ uses <code><nowiki>{{urlencode:}}</nowiki></code> instead of <code><nowiki>{{#urlencode:}}</nowiki></code>.</noinclude><includeonly><!-- | ||
− | --><table><tr><td style="background-color: #f9f9f9; padding: | + | --><table><tr><td style="background-color: #f9f9f9; padding: .2em 1em; border: 1px solid #DEDEDE"><!-- |
-->{{#ifeq:dn{{{pages|0}}}|{{{dir|?}}}{{{total|0}}}||{{#if:{{{dir|}}}| | -->{{#ifeq:dn{{{pages|0}}}|{{{dir|?}}}{{{total|0}}}||{{#if:{{{dir|}}}| | ||
− | <span class="plainlinks" style="padding-right: 24px;">[{{fullurl:{{{page}}}}} | + | <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>}}}}<!-- |
− | -->{{#ifeq:up{{{pages|0}}}|{{{dir|?}}}{{{total|0}}}|<span style="padding-right: 24px;"> | + | -->{{#ifeq:up{{{pages|0}}}|{{{dir|?}}}{{{total|0}}}|<span style="padding-right: 24px;">nächste Seite</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|~}}}}}}} nächste Seite]</span>}}<!-- |
− | -->({{{pages|0}}} | + | -->({{{pages|0}}} aufgelistet{{#ifexpr:{{{total|0}}} > {{{pages|0}}} | / {{#expr:{{{total|0}}}-{{{pages|0}}}}} übrig}}) |
</td></tr></table></includeonly> | </td></tr></table></includeonly> |
Aktuelle Version vom 11. Oktober 2012, 15:39 Uhr
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:}}
.