NZSS Website page list templates

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

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

(:pagelist group={$Group} fmt=#default
list=normal count=7:)
Site /
Auth Form  
Auth User  
Edit Form  contains the edit page layout form
Edit Quick Reference  quick reference for editing pages
Footer  Website page footer
Image Template  Thumblist image template
Inter Map  Custom InterMap link definition to other wikis, directories, and protocols

#titlesummary

A simple bullet list of page title and summary.

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

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

#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:)
NZSS   NZSS About the Website
NZSS   NZSS Administration
NZSS   Affiliated Clubs
NZSS   NZSS Annual General Meeting
NZSS   NZSS Calendar of Events
NZSS   NZSS Landmarks

#thumblist

Single thumb from each page

(:if false:)
[[#thumblist]]
(:template first {=$Group}:)
(:template each:)
(:thumblist {=$FullName} order=random
px=100 count=1 link=2
titlefmt="{=$Titlespaced}"
captionfmt="{=$Titlespaced}" :)
[[#thumblistend]]
(:ifend:)

(:pagelist group=Photos fmt=#thumblist
list=normal count=6:)
2007-01-21 Maui
2007-01-21 Maui
2007 Competition Results
2007 Competition Results
2008-04-10 NZSAR Awards
2008-04-10 NZSAR Awards
2010-10 Labour Weekend Hollow Hill
2010-10 Labour Weekend Hollow Hill
2010 Photographic Competition
2010 Photographic Competition

#pages

A simple bullet list of page title and summary.

(:if false:)
[[#pages]]
(:template each:)
(:if equal "{=$Title}" "Home Page":)
* [[{=$FullName}|{=$Groupspaced}]]
[-&nbsp;{=$:Summary}-]
(:else:)
* [[{=$FullName}|{=$Titlespaced}]]
[-&nbsp;{=$:Summary}-]
[--&nbsp;([[{=$Groupspaced}]])--]
(:ifend:)
[[#pagesend]]
(:ifend:)

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

#sitemap

Site map? showing number of pages

(:if false:)
[[#sitemap]]
(:template first {=$Group}:)
[[#{=$Group}]]
!!! [[{=$Groupspaced}/]] [--((:pagelist
fmt=count group={=$Group} list=normal:)
pages)--]
[-&nbsp;{{=$Group}/{$DefaultName}$:Summary}
-]
(:template each:)
(:if ! equal {=$Name} {$DefaultName} :)
-< [[{=$Group}/{=$Namespaced}]]
[-&nbsp;{=$:Summary} -]
(:ifend:)
[[#sitemapend]]
(:ifend:)

(:pagelist group={$Group} fmt=#sitemap
list=normal count=12:)
{=$Namespaced}?  {=$:Summary}

Site (17 pages)  

Edit Form  contains the edit page layout form
Edit Quick Reference  quick reference for editing pages
Footer  Website page footer
Image Template  Thumblist image template
Inter Map  Custom InterMap link definition to other wikis, directories, and protocols
Page Actions  Contains the 'action' links (like Browse, Edit, History, etc.), placed at the top of the page, see site page actions
Page List Templates  Templates for PmWiki's Page lists directive
Page Not Found  Page displayed when PmWiki can't find the requested page

fmt=#grouptrail

(:if false:)
[[#grouptrail]]
(:template each:)
%comment%-< [-- {*$FullName}
{=$FullName} --]
(:if equal {*$FullName} {=$FullName}:)
%wikitrail%[[ {<$FullName} |
&laquo; prev ]] |
[[{*$Groupspaced}]] | [[{>$FullName}|
next &raquo; ]]
(:ifend:)
[[#grouptrailend]]
(:ifend:)

(:pagelist group={*$Group}
fmt=#grouptrail:)

fmt=#title

A simple bullet list of page titles.

(:if false:)
[[#title]]
(:template defaults order=title:)
* [[{=$FullName}|+]]
[[#titleend]]
(:ifend:)

(:pagelist group={$Group} fmt=#title
count=5:)
Page last modified on 2009 Mar 20 00:51