Continuous Text And Lists
We’ve only seen PocketQuery with tables so far. This, however, must not be the case. You can write whatever you desire as PocketQuery template. Based on the above query, you could write a template 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>
This will result in a short introduction text followed by a unnumbered list with plain text:
Continue with “Template For Dynamic Parameter Change “