From awcolley.com

Site: LocalTemplates

This page contains local templates for PmWiki's (:pagelist:) directive.


fmt=#bygrouptitle

Display pages by group/title.

[[#bygrouptitle]]
(:template first {=$Group}:)

:[[{=$Group}/]] /:
(:template each:)
: :[[{=$Group}/{=$Name}|+]]
[[#bygrouptitleend]]

fmt=#bgthits

Display pages by group/title, with hits displayed for each page

[[#bgthits]]
(:template first:)
(:table border=0 cellspacing=0 cellpadding=3 width=80%:)
(:template first {=$Group}:)
(:cellnr font-size=8:) 
(:cellnr class=awcmast2 align=left":)
[[{=$Group}|+]]
(:cell class=awcmast2 style="width:10.0em;text-align:right;":)
(:if false:)(:hits {=$Group}.HomePage:)(:ifend:)
(:template each:)
(:cellnr align=left:)
->[[{=$FullName}|+]]
(:cell align=right style="width:10.0em;":)
(:if false:)(:hits {=$FullName}:)(:ifend:)
(:template last:)
(:tableend:)
[[#bgthitsend]]

fmt=#recentmods

Provide a table of recent modifications for the selected pages. See RecentMods for sample usage.

[[#recentmods]]
(:template first:)
(:table width=100% cellspacing=0 cellpadding=3:)
(:cell class=awcmast2:)Page
(:cell class=awcmast2:)Last Modified
(:cell class=awcmast2:)Summary
(:template each:)
(:cellnr :)[[{=$FullName}|+]]
(:cell :){=$LastModified}
(:cell :){=$LastModifiedSummary}
(:template last:)
(:tableend:)
[[#recentmods]]

fmt=#newpages

Provide a table of page creation times.

[[#newpages]]
(:template first:)
(:table width=100% cellspacing=0 cellpadding=3:)
(:cell class=awcmast2:)Page
(:cell class=awcmast2:)Created
(:template each:)
(:cellnr :)[[{=$FullName}|+]]
(:cell :){=$PageCreationDate}
(:template last:)
(:tableend:)
[[#newpages]]

fmt=#blogpage

Include selected items from a Blog group. The Blog group is assumed to have page names beginning with a date/time stamp that is chronologically ordered alphabetically. For example YYMMMDD, where MMM is "Jan", "Feb", etc. will NOT work, because the alphabetic order of month names is not equivalent to their chronological order. Suggested prefixes (or full name) for pages are: YYYYMMDD, YYYYMMDDNN, YYYYMMDDHHMM.

Pages within the Blog group should NOT contain the title directive.

[[#blogpage]]
(:template each:)
(:include {=$FullName} :)

[[#blogpage]]
Retrieved from http://awcolley.com/Site/LocalTemplates
Page last modified on 2010-02-05 15:18:55