$def with (datasets, tags, title, feed, nohits, start, end, limit, user_input, searchvalue) $if searchvalue is not None: $var searchvalue: $searchvalue $if feed:

$:title

$if len(datasets)==0:

No data sets found.

$else:

Results $start - $end out of $nohits.

$:prevnexttable(nohits, start, end, limit, user_input)