Recent Changes - Search:
Victory Belongs to the Persevering

Home page

Year of 1969


2009 reunion


2005 reunion


Khandallah

Khandallah School
Khandallah links
Khandallah photos
Wellington links


Changes

Wellington Community Network

Site map About the website


Edit sidebar


The NZ School of Business and Government - Practical Knowledge, Applied Wisdom

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

>>comment<<
[[#default]]
(:template first {=$Group}:)

:[[{=$Groupspaced}/]] :
(:template each:)
--< [[{=$Group}/{=$Namespaced}]]
[-&nbsp;{=$:Summary} -]
[[#defaultend]]
>>smaller<<

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

(:template first {=$Group}:)

{=$Groupspaced}?

(:template each:)

{=$Namespaced}?  {=$:Summary}

Site
Edit Form  contains the edit page layout form
Edit Quick Reference  quick reference for editing pages
Image Template  Thumblist image template

fmt=#grouptrail

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

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

(:template each:) -< Site.LocalTemplates {=$FullName}

-< Site.LocalTemplates Site.AllRecentChanges -< Site.LocalTemplates Site.AuthForm -< Site.LocalTemplates Site.AuthUser -< Site.LocalTemplates Site.EditForm -< Site.LocalTemplates Site.EditQuickReference -< Site.LocalTemplates Site.GroupAttributes -< Site.LocalTemplates Site.ImageTemplate -< Site.LocalTemplates Site.InterMap -< Site.LocalTemplates Site.LastChanged -< Site.LocalTemplates Site.LocalTemplates « prev | Site | next » -< Site.LocalTemplates Site.PageActions -< Site.LocalTemplates Site.PageListTemplates -< Site.LocalTemplates Site.PageNotFound -< Site.LocalTemplates Site.Preferences -< Site.LocalTemplates Site.RecentChanges -< Site.LocalTemplates Site.Search -< Site.LocalTemplates Site.SideBar -< Site.LocalTemplates Site.Site -< Site.LocalTemplates Site.UploadQuickReference

#pages

A simple bullet list of page title and summary.

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

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

(:template each:)

#randomimage

display a random image

>>comment<<
[[#randomimage]]
(:template default order=random count=1
group=gallery if="attachments":)
(:template each:)
(:thumblist {=$FullName} order=random
count=1 px={$$px} link=2:)
[[#randomimageend]]
>><<

(:pagelist fmt=#randomimage list=normal
count=8 px=128:)

(:template default order=random count=1 group=gallery if="attachments":) (:template each:)

2009-11-07 13.07.57 P1000487 Simon.jpeg: 4000x3000, 6354k (2009 Nov 12 21:25)
ks1969band.jpeg: 4050x2414, 1195k (2009 Mar 29 12:48)
196809_khndh_derail.jpeg: 5721x4413, 2285k (2009 Mar 29 15:28)
ks1965standard2flux.jpeg: 3507x2061, 654k (2009 Mar 24 20:49)
ks1969roadpatrol.jpeg: 4742x2894, 1010k (2009 Mar 29 12:55)
ks1962primer2.jpeg: 3440x2239, 708k (2009 Mar 24 18:01)

fmt=#recentchanges

>>comment<<
[[#recentchanges]]
(:template defaults order=-time:)
(:template first:)
||width=* style="font-size:smaller;"
||!Page ||!Time ||!By ||!Change ||
(:template each:)
||''[[{=$FullName} |
{=$Groupspaced}.{=$Namespaced}]]''
||[[{=$FullName}?action=diff |
{=$LastModified}]]
||[[~{=$LastModifiedBy}]]
||{=$LastModifiedSummary} ||
[[#recentchangesend]]
>>smaller<<

(:pagelist group={*$Group}
fmt=#recentchanges count=7:)

(:template defaults order=-time:) (:template first:)

PageTimeByChange

(:template each:)

{=$Groupspaced}.{=$Namespaced}?{=$LastModified}{=$LastModifiedBy}?{=$LastModifiedSummary}

#simpletitle

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

>>comment<<
[[#simpletitle]]
* [[{=$Group}/{=$Name} |
{=$Titlespaced}]]
[[#simpletitleend]]
>>smaller<<

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

#sitemap

Site map? showing number of pages

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

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

(:template first {=$Group}:) #{=$Group}

{=$Groupspaced}? (0 pages)  {{=$Group}/$:Summary}

(:template each:)

{=$Namespaced}?  {=$:Summary}

Site (15 pages)  Site Configuration

Edit Form  contains the edit page layout form
Edit Quick Reference  quick reference for editing pages
Image Template  Thumblist image template
Page List Templates  Templates for PmWiki's Page lists directive
Page Not Found  Page displayed when PmWiki can't find the requested page
Preferences  Preferences for access keys and edit form
Search  Search wiki

#titlename

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

>>comment<<
[[#titlename]]
(:if equal "{=$Title}" "Home Page":)
[[{=$FullName} | {=$Groupspaced}]]
(:else:)
[[{=$FullName} | {=$Titlespaced}]]
(:ifend:)
[[#titlenameend]]
>>smaller<<

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

#titlespaced

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

>>comment<<
[[#titlespaced]]
-< [[{=$FullName} |
{=$Titlespaced}]]
[[#titlespacedend]]
>>smaller<<

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

#titlesummary

A simple bullet list of page title and summary.

>>comment<<
[[#titlesummary]]
(:template each:)
(:if equal "{=$Title}" "Home Page":)
* [[{=$FullName} | {=$Groupspaced}]]
[-&nbsp;{=$:Summary}-]
(:else:)
* [[{=$FullName} | {=$Titlespaced}]]
[-&nbsp;{=$:Summary}-]
(:ifend:)
[[#titlesummaryend]]
>>smaller<<

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

(:template each:)

Edit - History - Recent Changes - WikiHelp - Search
Page last modified on 2009 Jul 16 21:45