Search:

Tararua Tramping Club

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.

(: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.

(: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.

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

#pages

A simple bullet list of page title and summary.

(: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.

(:template default 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.

(:template default ThumbCount=3 ThumbSize=36 wrap=inline:) (:template each:)

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

2004-01-16-Whanganui River-Family
2004-01-16-Whanganui River-Family
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
2005-And Earlier
2005-And Earlier
2005-And Earlier
2005-And Earlier   Photos from the TTC website and family egroup from 2005 and earlier
2005-Photo Competition Results
2005-Photo Competition Results
2005-Photo Competition Results
2005-Photo Competition Results   Photographic competition and results
2006-03-11-Morison Bush
2006-03-11-Morison Bush   Family camping weekend at Morison Bush on the Ruamahanga River
2006-04-13-Easter-Sixtus Lodge-Family
2006-04-13-Easter-Sixtus Lodge-Family
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
2006-10-Cobb Trip
2006-10-Cobb Trip
2006-10-Cobb Trip   Photos from the Cobb Valley and Tablelands
2006-12-02-Morison Bush
2006-12-02-Morison Bush
2006-12-02-Morison Bush
2006-12-02-Morison Bush   Photos from Morison Bush in December 2006
2006-ttc-fit
2006-ttc-fit
2006-ttc-fit
2006-ttc-fit   Photos from TTF Fit group trips

#randomimage

Select an image randomly from all pages with images and display

(:template default order=random count=1 if="attachments" skip="*.gif|*.png" list=normal thumblink=2 thumbcount=1 titlefmt="click to see gallery" $:omitpage=-yes:) (:template each:)

image mouse over tip
image mouse over tip
image mouse over tip
image mouse over tip
image mouse over tip
image mouse over tip
image mouse over tip
image mouse over tip

#recentchanges

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

PageTimeByChange

(:template each:)

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


#simplename

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

#simpletitle

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

#sitemap

Site map? showing number of pages

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

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

(:template each:)

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

Site (20 pages)  Site Configuration

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
Inter Map  Custom InterMap link definition to other wikis, directories, and protocols
Page List Templates  Templates for PmWiki's Page lists directive

#titlename

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

#titlespaced

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

#titlespacedlist

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

#titlesummary

A simple bullet list of page title and summary.

(:template each:)

#titlesummarylist

A simple list of page title and summary.

(: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
Image Template  Thumblist image template

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

Page last modified on 2019 Dec 30 08:53

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://www [period] ttc [period] org [period] nz/pmwiki/pmwiki [period] php/Site/LocalTemplates) Add to or override PmWiki's [[PmWiki/page list templates. ]]