From an answer given by SteveB on the Wik.is:
The following includes each page that the search returns (I added the 'type:wiki' constraint to limit results only to pages):
{{ foreach(var p in wiki.getsearch('tag:test', 10, '-date', 'type:wiki')) { wiki.page(p.path) }}}
The wiki.getsearch function is new in 8.05.1 (and not yet documented). It works the same way as wiki.search, except it returns a list of page objects instead.
You can make this look a lot nicer, but using dekiscript HTML attributes. For example (remove the '.' from t.able):
<table class="table" block="var result = wiki.getsearch('tag:test', 10, '-date', 'type:wiki')"> <tr> <th>Page</th> <th>Contents</th> </tr> <tr foreach="var p in result" class="{{__count % 2 == 0 ? 'bg1' : 'bg2'}}"> <td>{{web.link(p.uri, p.title)}}</td> <td>{{wiki.page(p.path)}}</td> </tr> </table>
If want to link to the page's author's homepage, you can replace the first column with:
{{web.link(p.author.uri, p.author.name)}}