<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>If I understand you correctly, you want to limit the pagelist to 20 entries, and display the first 5 lines for each entry.</div><div><br></div><div>You should already be able to display the first 5 lines of each entry returned in a pagelist by using a local template. </div><div><br></div><div>To limit the number of pages returned by the pagelist, you can do the following if you have the httpvariables recipe installed:</div><div><br></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: 13px; white-space: pre-wrap; ">(:comment show the bounded pagelist:)
(:if !equal "{$?first}" "":)(:pagelist count={$?first}..{$?last}:)
(:else:)[[{$FullName}?first=1?last=20|Show pagelist, 20 pages at a time]]
(:ifend:)
----
(:comment show the continuation link:)
(:if equal "{$?first}" "1":)[[{$FullName}?first=21?last=40|more...]]
(:elseif equal "{$?first}" "21":)[[{$FullName}?first=41?last=60|more...]]
(:comment add lines like the above up to the maximum number of pages:)</span></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: 13px; white-space: pre-wrap; ">(:comment <span class="Apple-tab-span" style="white-space:pre">        </span>or maybe you can calculate the page range using another recipe:)
(:ifend:)</span></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 13px; white-space: pre-wrap;"><br></span></font></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 13px; white-space: pre-wrap;">Hope that helps,</span></font></div><div><br></div><div>Randy</div><div><pre><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px; white-space: normal;"><br></span></font></pre></div></div><div><div>On May 26, 2009, at 10:59 AM, <a href="mailto:pmwiki@911networks.com">pmwiki@911networks.com</a> wrote:</div><blockquote type="cite"><div>I'm looking for a simple way of doing a paging every 20 entries. No<br>conditional. I only want to display the first 5 lines so users can<br>evaluate the wiki page. <br></div></blockquote></div><br></body></html>