Peter Bowers highlighted to me that I had missed the &#39;default&#39; keyword.<div>Then in fact the result works very close to what I wanted.</div><div>As I don&#39;t believe the documentation gives a string enough indication that values other than page names can be used so I&#39;ll update it, </div>
<div>perhaps after I get some more feedback</div><div><br></div><div>Simon<br><br><div class="gmail_quote">On 27 February 2010 22:33, Simon <span dir="ltr">&lt;<a href="mailto:nzskiwi@gmail.com">nzskiwi@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Thanks to Petko for the recent pagelist changes.<div><br> 
<div>I have been thinking about a possible change that would provide what could be additional very useful functionality,</div><div>and that is to allow</div><div><ul><li>use of page text variables in first and last</li><li>

use of page variables in first and last</li></ul>See <a href="http://pmwiki.org/wiki/Test/PagelistSortVariable" target="_blank">http://pmwiki.org/wiki/Test/PagelistSortVariable</a> for example</div><div>This would be a natural extension of their use as parameters to a pagelist</div>

<div><br></div><div>To allow in first and last</div><div><ul><li><a href="http://PmWiki/ConditionalMarkup" target="_blank">conditional expressions</a></li></ul>for example being able to test <a href="http://www.pmwiki.org/wiki/PmWiki/PageListTemplates#additionalpagevariables" target="_blank">additional page variables</a> would provide a number of additional capabilities,</div>

<div>perhaps even a new directive</div><div>(:template condition &lt;expression&gt; :)</div><div><br></div><div>thoughts</div><div><br></div><div>Simon</div><div><br></div><div><br></div>
</div>
</blockquote></div><br><br clear="all"><br>-- <br>____<br><a href="http://kiwiwiki.co.nz">http://kiwiwiki.co.nz</a><br>
</div>