Vorlage:Extension DPL continue: Unterschied zwischen den Versionen

Aus Wiki-Langen
Wechseln zu: Navigation, Suche
 
(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><!--
+
<includeonly><!--
 
--><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}}}||{{#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>}}}}<!--
  
 
-->{{#ifeq:up{{{pages|0}}}|{{{dir|?}}}{{{total|0}}}|<span style="padding-right: 24px;">next</span>|
 
-->{{#ifeq:up{{{pages|0}}}|{{{dir|?}}}{{{total|0}}}|<span style="padding-right: 24px;">next</span>|
Zeile 9: Zeile 9:
  
 
-->({{{pages|0}}} listed{{#ifexpr:{{{total|0}}} > {{{pages|0}}} |&nbsp;/ {{#expr:{{{total|0}}}-{{{pages|0}}}}} left}})
 
-->({{{pages|0}}} listed{{#ifexpr:{{{total|0}}} > {{{pages|0}}} |&nbsp;/ {{#expr:{{{total|0}}}-{{{pages|0}}}}} left}})
</td></tr></table></includeonly>
+
</td></tr></table></includeonly><noinclude>{{Dokumentation}}</noinclude>

Aktuelle Version vom 12. September 2016, 01:59 Uhr

[Bearbeiten] Dokumentation


{{#ifexist: Vorlage:Extension DPL continue/Doku|

Info

Vorlage, um eine DPL-Abfrage ab einer bestimmten Stelle fortzusetzen.
erwartet Scroll-Richtung und der ersten / letzten Seite der vorherigen Abfrage.

Info: MW 1.14+ benutzt {{urlencode:}} anstatt {{#urlencode:}}. }}



Bei Fragen zu dieser Vorlage kannst Du Dich an SNeusel wenden.