
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.




- PmWiki.Page Lists - Listing pages by multiple criteria with templated output
- PmWiki.Page List Templates - Creating page list format templates
- PmWiki.Page Variables - variables that are associated with pages
- Page Text Variables - Page variables automatically made available through natural or explicit page markup
- PmWiki.Conditional Markup - Listing pages by multiple criteria with templated output
- Cookbook:Pagelist Template Samples -

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).
(:if false:) |

Display pages by group/name.
(:if false:) |

A simple bullet list of page names.
(:if false:) |

A simple bullet list of page titles.
(:if false:) |

Outputs wiki page titles with spaces between the words in the title.
(:if false:) |
|

A bullet list of groups.
[[#group]] (:template first {=$Group}:) * [[{=$Group}/]] [[#groupend]]

Concatenate the text of pages in the list. (Note, this can be an expensive operation!)
[[#include]] (:include {=$FullName} self=0:) [[#includeend]]

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!)
[[#includefaq]] !![[{=$FullName}|+]] >>faq<< (:include {=$FullName}#faq#faqend self=0:) >><< [[#includefaqend]]

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:) |

Simple bullet list of page names, without the Group name.
(:if false:) |

Simple bullet list of spaced page names, without the Group name.
(:if false:) |

A simple bullet list of page title and summary.

Number of pages in pagelist
(:if false:) | Number of pages in the Site group: 21 . Number of pages in the Site group: 25. There are 110 |