Difference between revisions of "User:Subfader/Navi/ContinueT"

From FollowTheScore
Jump to: navigation, search
(Undo revision 13035 by Subfader (Talk))
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>Template to continue a query at a certain title; expects scroll direction and first / last page of previous query</noinclude><includeonly><!--
+
{{#dpl:
--><table><tr><td style="background-color: #f9f9f9; padding: .1em .7em .2em .7em;"><!--
+
| namespace          =
 
+
| count              = 20
-->{{#ifeq:dn{{{pages|0}}}|{{{dir|?}}}{{{total|0}}}||{{#if:{{{dir|}}}|
+
| resultsheader      = ²{Extension DPL continue¦dir=%SCROLLDIR%¦pages=%PAGES%¦total=%TOTALPAGES%¦firsttitle=%FIRSTTITLE%¦lasttitle=%LASTTITLE%¦page={{FULLPAGENAME}}}²\n
<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>}}}}<!--
+
| resultsfooter      = ²{Extension DPL continue¦dir=%SCROLLDIR%¦pages=%PAGES%¦total=%TOTALPAGES%¦firsttitle=%FIRSTTITLE%¦lasttitle=%LASTTITLE%¦page={{FULLPAGENAME}}}² %DPLTIME%\n
 
+
| scroll            = yes
-->{{#ifeq:up{{{pages|0}}}|{{{dir|?}}}{{{total|0}}}|<span style="padding-right: 24px;">next</span>|
+
| columns            = 3
<span class="plainlinks" style="padding-right: 24px; font-weight: bold">[{{fullurl:{{{page}}}|DPL_scrollDir=up&DPL_count={{{count|}}}&DPL_fromTitle={{#urlencode:{{{lasttitle|~}}}}}}} next]</span>}}<!--
+
}}
 
 
-->({{{pages|0}}} listed{{#ifexpr:{{{total|0}}} > {{{pages|0}}} |&nbsp;/ {{{total|0}}} left}})
 
</td></tr></table></includeonly>
 

Latest revision as of 20:10, 10 January 2010

Extension:DynamicPageList (DPL), version 3.2.1: Warning: No results.