Search:

Tararua Tramping Club

Te rōpū hikoi o te pae maunga o Tararua   -   Celebrating 100 years of tramping

Site 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 defaults order=$Name:)
(:template first {=$Group}:)

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

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

(:template defaults order=$Name:) (:template first {=$Group}:)

{=$Groupspaced}? /

(:template each:)

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

Site /
All Group Header  Common header page for website
Auth Form  form displayed when requesting a password or username/password
Auth User  
Edit Form  contains the edit page layout form
Edit Quick Reference  quick reference for editing pages
Footer  Website page footer
Header  Website page header

#groupname

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

>>comment<<
[[#groupname]]
(:template defaults order=$Group:)
(:template first {=$Group}:)
[[{=$FullName} | {=$Groupspaced}]]&nbsp;
(:template each:)
[[#groupnameend]]
>>smaller<<

(:pagelist name=SideBar fmt=#groupname list=normal count=8:)

(:template defaults order=$Group:) (:template first {=$Group}:) {=$Groupspaced}?  (:template each:)

#grouptrail

Use the parameter TrailPage to set the return or parent page. If not set it will default to the group of the pagelist.

>>comment<<
[[#grouptrail]]
(:template defaults wrap=inline TrailPage="{*$Groupspaced}" order="$Name":)
(:template first:)
(:template each:)
(:if equal "{*$FullName}" "{=$FullName}":)
%wikitrail%[[ {<$FullName} | {<$Namespaced} ]] < [[ {$$TrailPage} ]] > [[ {>$FullName} | {>$Namespaced} ]]
(:ifend:)
[[#grouptrailend]]
>>smaller<<

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

(:template defaults wrap=inline TrailPage="Site" order="$Name":) (:template first:) (:template each:)

#pages

A simple bullet list of page title and summary.

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

(:pagelist group={*$Group} fmt=#pages list=normal count=8:)

(:template defaults order=$Name:) (:template each:)

#pagetrail

Use the parameter TrailPage to set the return or parent page. If not set it will default to the group of the pagelist.

>>comment<<
[[#pagetrail]]
(:template defaults wrap=inline TrailPage="{*$Groupspaced}" name=-HomePage,-RecentChanges,-RecentUploads,-SideBar,-Template,-GroupHeader,-GroupFooter,-GroupAttributes:)
(:template each:)
(:if false:)-< [-- *'{*$FullName}' ='{=$FullName}' --](:ifend:)
(:if equal "{*$FullName}" "{=$FullName}":)
%wikitrail%[[{<$FullName} | {<$Namespaced}]] < [[{$$TrailPage}]] > [[{>$FullName}| {>$Namespaced}]]
(:ifend:)
[[#pagetrailend]]
>>smaller<<

(:pagelist group={*$Group} list=all fmt=#pagetrail:)

(:template defaults wrap=inline TrailPage="Site" name=-HomePage,-RecentChanges,-RecentUploads,-SideBar,-Template,-GroupHeader,-GroupFooter,-GroupAttributes:) (:template each:)

#photosummary

A list of page photo thumbnails, title and summary.

>>comment<<
[[#photosummary]]
(:template defaults order=$Name ThumbCount=4 ThumbSize=40 wrap=inline:)
(:template first:)
||width=* style="display:inline-block; clear:left;"
(:template each:)
||[----(:thumblist {=$FullName} name="*.jpeg|*.jpg" count={$$ThumbCount} order=random height={$$ThumbSize} link=2 titlefmt="?x_ttctitle ?n {=$Titlespaced}":)----] \
||[[{=$FullName} | {=$Titlespaced}]] [[<]] [-{=$:Summary}-] ||
[[#photosummaryend]]
>>smaller<<

(:pagelist group=Photos fmt=#photosummary list=normal count=8:)

(:template defaults order=$Name ThumbCount=4 ThumbSize=40 wrap=inline:) (:template first:)

(:template each:)

{=$Titlespaced}?
{=$:Summary}

Late afternoon return to French Hut
; '2024 Jul 07 11:37'
Original size: 1,744 x 950; 403 kB 
 1978-12-25-Aspiring National Park
2
; '2024 Jul 07 11:40'
Original size: 1,515 x 838; 531 kB 
 1978-12-25-Aspiring National Park
3
; '2024 Jul 07 11:34'
Original size: 1,328 x 1,210; 315 kB 
 1978-12-25-Aspiring National Park
5
; '2024 Jul 07 11:31'
Original size: 726 x 480; 64 kB 
 1978-12-25-Aspiring National Park
1978-12-25-Aspiring National Park
Photos from TTC trip to Aspiring National Park from 25 December 1978
Aa  0 002

Original size: 1,536 x 1,024; 821 kB 
 2004-01-16-Whanganui River-Family
Aa  0 012

Original size: 1,536 x 1,024; 642 kB 
 2004-01-16-Whanganui River-Family
Aa  0 004

Original size: 1,536 x 1,024; 783 kB 
 2004-01-16-Whanganui River-Family
Whakahoro Location

Original size: 370 x 706; 27 kB 
 2004-01-16-Whanganui River-Family
2004-01-16-Whanganui River-Family
Photos from the 2004 Wellington Anniversary weekend family trip from Whakahoro to Pipiriki
Cameo 2

Original size: 500 x 175; 25 kB 
 2005-And Earlier
Bushcraft river

Original size: 336 x 225; 26 kB 
 2005-And Earlier
Cameo 4

Original size: 500 x 175; 22 kB 
 2005-And Earlier
K Hut 1

Original size: 600 x 393; 52 kB 
 2005-And Earlier
2005-And Earlier
Photos from the TTC website and family egroup from 2005 and earlier
Crib Goch Snowdonia

Original size: 1,426 x 1,200; 169 kB 
 2005-Photo Competition Results
Albatross Argument

Original size: 2,240 x 1,488; 290 kB 
 2005-Photo Competition Results
Cool Kapiti Reflection

Original size: 734 x 542; 41 kB 
 2005-Photo Competition Results
2005-Photo Competition Results
Photographic competition and results
-Morison Bush Campsite 1
2006-03-12
Original size: 1,536 x 722; 242 kB 
 2006-03-11-Morison Bush
2006-03-11-Morison Bush
Family camping weekend at Morison Bush on the Ruamahanga River
-Lunch Spot
2006-04-14
Original size: 1,536 x 1,024; 254 kB 
 2006-04-13-Easter-Sixtus Lodge-Family
-Limestone Creek
2006-04-15
Original size: 512 x 768; 120 kB 
 2006-04-13-Easter-Sixtus Lodge-Family
-Limestone Creek Exit
2006-04-15
Original size: 768 x 512; 64 kB 
 2006-04-13-Easter-Sixtus Lodge-Family
-Heritage Bridge
2006-04-16
Original size: 1,536 x 728; 194 kB 
 2006-04-13-Easter-Sixtus Lodge-Family
2006-04-13-Easter-Sixtus Lodge-Family
Family lodge trip at Easter to Sixtus Lodge in the Rangitikei
10-Down-To-Balloon-Hut-Small
; '2006 Oct 21 17:27'
Original size: 1,200 x 801; 271 kB 
 2006-10-Cobb Trip
10-The-Climb-To-The-Tablelands
; '2006 Oct 21 15:43'
Original size: 900 x 600; 247 kB 
 2006-10-Cobb Trip
2006-10-Cobb Trip
Photos from the Cobb Valley and Tablelands
-Dinner Table
2006-12-02
Original size: 1,024 x 1,536; 231 kB 
 2006-12-02-Morison Bush
-Dinner Time
2006-12-02
Original size: 1,536 x 1,024; 676 kB 
 2006-12-02-Morison Bush
-Collapsing Camp
2006-12-03
Original size: 1,536 x 1,024; 639 kB 
 2006-12-02-Morison Bush
-Kayaking Kids
2006-12-03
Original size: 1,536 x 1,024; 440 kB 
 2006-12-02-Morison Bush
2006-12-02-Morison Bush
Photos from Morison Bush in December 2006

#randomimage

Select an image randomly from all pages with images and display

>>comment<<
[[#randomimage]]
(:template defaults order=random order2=name count=1 if="attachments" thumbskip="*.gif|*.png|*_omit*" list=normal thumblink=2 thumbcount=1 titlefmt="click to see gallery?N?N?x_ttctitle" $:omitpage=-yes:)
(:template first:)
%comment%-< ''[- First: FullName="{=$FullName}"; group="{$$group}"; name="{$$name}"; thumbname="{$$thumbname}"; thumbskip="{$$thumbskip}"; order="{$$order}"; order2="{$$order2}"; count="{$$count}"; thumbcount="{$$thumbcount}" -]''
(:template each:)
(:thumblist captionfmt="?x_ttccaption" {=$FullName} name="{$$thumbname}" skip="{$$thumbskip}" px="{$$px}" width="{$$width}" height="{$$height}" link="{$$thumblink}" order="{$$order}"  order2="{$$order2}" count="{$$thumbcount}" titlefmt="{$$titlefmt}":)
(:template none:)
-< ''[- None: FullName="{=$FullName}"; group="{$$group}"; name="{$$name}"; thumbname="{$$thumbname}"; thumbskip="{$$thumbskip}"; count="{$$count}"; thumbcount="{$$thumbcount}" -]''
[[#randomimageend]]
>><<

(:pagelist group="photos" fmt=#randomimage list=normal count=8 px=128 titlefmt="image mouse over tip":)

(:template defaults order=random order2=name count=1 if="attachments" thumbskip="*.gif|*.png|*_omit*" list=normal thumblink=2 thumbcount=1 titlefmt="click to see gallery?N?N?x_ttctitle" $:omitpage=-yes:) (:template first:) -< First: FullName="{=$FullName}"; group="{$$group}"; name="{$$name}"; thumbname="{$$thumbname}"; thumbskip="{$$thumbskip}"; order="{$$order}"; order2="{$$order2}"; count="{$$count}"; thumbcount="{$$thumbcount}" (:template each:) (:template none:)

None: FullName="{=$FullName}"; group="{$$group}"; name="{$$name}"; thumbname="{$$thumbname}"; thumbskip="{$$thumbskip}"; count="{$$count}"; thumbcount="{$$thumbcount}"

-< First: FullName="Photos.2016-01-01-ArawhataExploration"; group="photos"; name=""; thumbname=""; thumbskip="*.gif|*.png|*_omit*"; order="random"; order2="name"; count="8"; thumbcount="1"

image mouse over tip
 
image mouse over tip
On Route To Gardener Hut
image mouse over tip
Summit Walk!
image mouse over tip
 

Photo: Mike Wespel-Rose

image mouse over tip
 
image mouse over tip
 
image mouse over tip
Mt Philistine

#recentchanges

>>comment<<
[[#recentchanges]]
(:template defaults order=-time name=-GroupAttributes,-Site.AllRecentChanges,-Site.LastChanged,-RecentChanges,-RecentUploads,-SiteAdmin.Blocklist-*:)
(:template first:)
||width=* style="font-size:smaller;"
||!Page ||!Time ||!By ||!Change ||
(:template each:)
||''[[{=$FullName} | {=$Groupspaced}.{=$Namespaced}]]'' ||[-[[{=$FullName}?action=diff | {=$LastModified}]]-] ||(:if !equal {=$LastModifiedBy}:)[[~{=$LastModifiedBy}]](:ifend:) ||{=$LastModifiedSummary} ||
[[#recentchangesend]]
>>smaller<<

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

(:template defaults order=-time name=-GroupAttributes,-Site.AllRecentChanges,-Site.LastChanged,-RecentChanges,-RecentUploads,-SiteAdmin.Blocklist-*:) (:template first:)

PageTimeByChange

(:template each:)

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

PageTimeByChange
Site.Template Fixture Card Include2025 Feb 16 09:21Simon(+0)
Site.Local Templates2025 Jan 30 04:59simon-< First: FullName="{=$FullName}"; group=""; name=""; thumbname=""; thumbskip=""; order=""; order2=""; count=""; thumbcount="" -< None: FullName="{=$FullName}"; group=""; name=""; thumbname=""; thumbskip=""; count=""; thumbcount="" (+268)
Site.Edit Form2024 Aug 19 07:34Petko 
Site.Template Fixture Card Include Next2024 Jun 26 07:10simonupdate (+38)
Site.Side Bar2024 Jun 14 04:13  
Site.Inter Map2024 Apr 17 06:09simonTeAka (+50)
Site.Auth Form2024 Apr 05 04:17simonadd more password protected pages (+25)

#simplename

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

>>comment<<
[[#simplename]]
(:template defaults order=$Name:)
* [[({=$Group}/){=$Namespaced}]]
[[#simplenameend]]
>>smaller<<

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

(:template defaults order=$Name:)

#simpletitle

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

>>comment<<
[[#simpletitle]]
(:template defaults order=$Name:)
(:if equal "{=$Title}" "Home Page":)
* [[{=$FullName}|{=$Groupspaced}]]
(:else:)
* [[{=$FullName}|{=$Titlespaced}]]
(:ifend:)
[[#simpletitleend]]
>>smaller<<

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

(:template defaults order=$Name:)

#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 (25 pages)  redirects to Site.Site

All Group Header  Common header page for website
Auth Form  form displayed when requesting a password or username/password
Edit Form  contains the edit page layout form
Edit Quick Reference  quick reference for editing pages
Footer  Website page footer
Header  Website page header
Image Template  Thumblist image template
Include Page  An error message for when an include fails
Inter Map  Custom InterMap link definition to other wikis, directories, and protocols

#titlename

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

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

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

(:template defaults order=$Name:) {=$Titlespaced}?

#titlespacedlist

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

>>comment<<
[[#titlespacedlist]]
(:template defaults Indent=-< order=$Name:)
{$$Indent} [[{=$FullName} | {=$Titlespaced}]]
[[#titlespacedlistend]]
>>smaller<<

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

(:template defaults Indent=-< order=$Name:) {$$Indent} {=$Titlespaced}?

#titlesummary

A simple bullet list of page title and summary.

>>comment<<
[[#titlesummary]]
(:template defaults order=$Name:)
(: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 defaults order=$Name:) (:template each:)

#titlesummarylist

A simple list of page title and summary.

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

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

(:template defaults order=$Name:) (:template each:)

{=$Titlespaced}?  {=$:Summary}

All Group Header  Common header page for website
Auth Form  form displayed when requesting a password or username/password
Edit Form  contains the edit page layout form
Edit Quick Reference  quick reference for editing pages
Footer  Website page footer
Header  Website page header
Site  redirects to Site.Site

Based on original at https://kiwiwiki.nz/pmwiki/pmwiki.php/Administration/

Page last modified on 2025 Jan 30 04:59

Edit - History - Recent changes - Wiki help - Search     About TTC     Contact us     About the website     Site map     email page as link -> mailto:?Subject="TTC: Local Templates"&Body="From the TTC website: Local Templates (https://ttc [period] org [period] nz/pmwiki/pmwiki [period] php/Site/LocalTemplates) Add to or override PmWiki's [[PmWiki/page list templates." ]]