This page contains "templates" for Pm Wiki's (:pagelist:) directive.

Brief Syntax Explanation:

See also: Pagelist Explained, Page Variables, Conditional Markup, Cookbook:PagelistTemplateSamples

Use with page variables:

   =   current item
   <   previous item
   >   next item

Conditionals used to structure pagelist output:

   (:if equal {<$Group}:)               At beginning of list
   (:if equal {>$Group}:)               At end of list
   (:if ! equal {=$Group} {<$Group}:)   First item in group
   (:if ! equal {=$Group} {>$Group}:)   Last item in group


The default template for pagelists when fmt= isn't specified.

(:if ! equal {=$Group} {<$Group}:)

:[[{=$Group}]] /:
: :[[{=$Group}/{=$Name}]]


Display pages by group/name.

(:if ! equal {=$Group} {<$Group}:)

:[[{=$Group}]] /:
: :[[{=$Group}/{=$Name}]]


A simple bullet list of page names.

* [[{=$FullName}]]


A simple bullet list of page titles. Use order=title to have them sorted by title (the default sort is by name).

* [[{=$FullName}|+]]


A bullet list of groups.

(:if ! equal {=$Group} {<$Group}:)
* [[{=$Group}]]

comments powered by Disqus