Custom List Instead of Table
Especially for SQL queries, it's natural to display the result as a table. But this does not have to be the case. For example, you could format the results to form a list:
The corresponding template code looks like this:
<h2>This is a story about population</h2>
<p>In total, there are $result.size() countries with a population between
$queryParameters.min and $queryParameters.max - here's what we read...</p>
<ul>
#foreach($row in $result)
<li>$row.Name has $row.Population inhabitants</li>
#end
</ul>