This page contains "templates" for PmWiki's (:pagelist:) directive. The Site.LocalTemplates? page can be created and used to store pagelist templates that are local to a site.
Page list template documentation
PmWiki.Page Lists - Listing pages by multiple criteria with templated output
The default template for pagelists when fmt= isn't specified (and note that on the PmWiki.org wiki, this template is over-ridden by the one on the Site.LocalTemplates? page).
Include just the #faq sections from pages in the list. (This can also be expensive,
especially if the list includes pages that don't have the [[#faq]] anchor!)
List pages and append the page's description if it exists. Creates dash by all names, but adding a nested loop to get rid of it causes markup problems (nested loops are not allowed).
(:if false:)
[[#count]]
(:template defaults wrap=inline
list=normal :)
(:template last:)
{$$PageCount}
[[#countend]]
(:ifend:)
Number of pages in the {$Group} group:
(:pagelist group={$Group} fmt=#count :).
Number of pages in the {$Group} group:
(:pagelist group={$Group} fmt=count :).
There are (:pagelist group=PmWiki
fmt=#count wrap=html :) pages in the
PmWiki group.