Recent Changes - Search:

add Site page

hide

Site


hide

Topics

show

Changed

Visitor's book Site map pmwiki-2.2.127

Page List Templates

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

fmt=#default

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

fmt=#bygroup

Display pages by group/name.

fmt=#simple

A simple bullet list of page names.

fmt=#title

A simple bullet list of page titles.

fmt=#titlespaced

Outputs wiki page titles with spaces between the words in the title.

fmt=#group

A bullet list of groups (will not work with count=...).

[[#group]]
(:template first {=$Group}:)
* [[{=$Group}/]]
[[#groupend]]

fmt=#grouphomes

An optimized bullet list of group home pages (will work with count=...), requires PmWiki 2.2.103.

fmt=#include

Concatenate the text of pages in the list (note, this can be an expensive operation).

[[#include]]
(:include {=$FullName} self=0:)
[[#includeend]]

fmt=#includefaq

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]]

fmt=#description

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

fmt=#simplename

Simple bullet list of page names, without the Group name.

fmt=#simplenamespaced

Simple bullet list of spaced page names, without the Group name.

fmt=#titlesummary

A simple bullet list of page title and summary.

fmt=#count

Number of pages in a group, includes only "normal" pages

Number of pages in the Site group: 19 .

Number of pages in the Site group: 23.

There are

106

pages in the PmWiki group.

Page last modified on 2019 Dec 30 10:46

Edit - History - Recent Changes - WikiHelp - Search - ?Subject=KiwiWiki: Page List Templates&Body=From KiwiWiki: Page List Templates (//kiwiwiki [period] co [period] nz/pmwiki/pmwiki [period] php/Site/PageListTemplates) - [[Templates -> mailto:?Subject=KiwiWiki: Page List Templates&Body=From KiwiWiki: Page List Templates (//kiwiwiki [period] co [period] nz/pmwiki/pmwiki [period] php/Site/PageListTemplates) - [[PmWiki/PageListTemplates for PmWiki's Page lists directive|email page as link]]