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 - Searching and 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).
Number of pages in a group, includes only "normal" pages
(: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.
Number of pages in the Site group:
18.
Number of pages in the Site group: 22.
There are
106
pages in the PmWiki group.
Zuletzt geändert am März 06, 2023, at 07:43 vorm. EST