The ListPages module is an example of list processing but we plan to make more such modules.
This design sketch is for a standard list processing structure that is more flexible and usable than the one currently used by ListPages (separate, prependLine, and appendLine arguments).
The standard structure uses the proposed syntax for consistent tool arguments:
[[module ListSomething ...]]
==== header
Put stuff that appears before the first item.
==== footer
Put stuff that appears after the last item.
==== else
Put stuff that appears if there are zero items.
====
Body template comes here.
[[/module]]
The 'separate' option used by ListPages would be deprecated, and items never separated unless the design explicitly adds divisions around items.