Difference between revisions of "Template:Extension DPL continue"

From Project: Gorgon Wiki
Jump to: navigation, search
(copy-over from latest version on http://semeb.com/dpldemo/index.php?title=Template:Extension_DPL_continue)
 
m (added category)
 
(2 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.<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: .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>|
<span class="plainlinks" style="padding-right: 24px; font-weight: bold">[{{fullurl:{{{page}}}|DPL_scrollDir=up&DPL_count={{{count|}}}&DPL_fromTitle={{#urlencode:{{{lasttitle|~}}}}}}} next]</span>}}<!--
+
<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;/ {{#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><noinclude>
 +
{{Documentation
 +
| content = 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>.
 +
[[Category:DPL templates]]
 +
}}</noinclude>

Latest revision as of 10:09, 12 April 2016

startback[{{fullurl:{{{page}}}|DPL_scrollDir=up&DPL_count=&DPL_fromTitle=%7E}} next](0 listed)
Template documentation (for the above template, sometimes hidden or invisible)
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:}}.
Edit this page to change the above text. (What is this?)
If you're done making changes, please refresh the text. (View all subpages of this page.)