Recent Changes - Search:

PmWiki

pmwiki.org

LocalTemplates

#default

This redefines the default page list output for pmwiki.org. Basically we redefine the list to include any summary that may exist for the page.

(:if false:)
[[#default]]
(:template first {=$Group}:)

:[[{=$Groupspaced}/]] /:
(:template each:)
: :[[{=$Group}/{=$Namespaced}]]
[- {=$:Summary}-]
[[#defaultend]]
(:ifend:)

(:pagelist group={$Group} fmt=#default
list=normal count=7:)
Site /
All Recent Changes Per Author  
All Recent Changes Short  
Analyze  
Approved Urls  Redirected to SiteAdmin.ApprovedUrls
Auth Form  form displayed when requesting a password or username/password
Auth List  
Auth User  

#numbered

(:if false:)
[[#numbered]]
(:template first {=$Group}:)

#[[{=$Groupspaced}]] /
(:template each:)
##[[{=$Group}/{=$Namespaced}]]
[-{=$:Summary}-]
[[#numbered]]
(:ifend:)

(:pagelist group={$Group} fmt=#numbered
list=normal count=7:)

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

[[#listoffaq]]
*[[{=$FullName}#faq | {=$Titlespaced}]] 
[[#listoffaqend]]

fmt=#titlesummary

A simple bullet list of page title and summary.

(:if false:)
[[#titlesummary]]
* [[{=$FullName} | {=$Titlespaced}]]
  [-{=$:Summary}-]
[[#titlesummaryend]]
(:ifend:)

(:pagelist group=Site fmt=#titlesummary
list=normal count=8:)

fmt=#summarylist

List of pages and summary within a group for pagelists when fmt= isn't specified to include the page summary.

(:if false:)
[[#summarylist]]
(:template first {=$Group}:)
(:template each:)
-<[[{=$Group}/{=$Namespaced}]]
&nbsp; [-{=$:Summary}-]
[[#summarylistend]]
(:ifend:)

(:pagelist group={$DefaultGroup}
fmt=#summarylist list=normal count=6:)
About This Site   Site description page (linked from Light Skin page)
Edit - History - Print - Recent Changes - Search
Page last modified on September 11, 2007, at 05:10 PM