#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}]] [- {=$:Summary} -]
[[#defaultend]]
>>smaller<<
(:pagelist group={*$Group} fmt=#default list=normal count=7:)
|
|
#groupspaced
A bullet list of groups (will not work with count=...).
>>comment<<
[[#groupspaced]]
(:template default order=title name={$DefaultName}:)
(:template first {=$Group}:)
(:if09 equal "{=$Title}" "Home Page":)
* [[{=$Group}/ | {=$Groupspaced}]]
(:else09:)
* [[{=$Group}/ | {=$Titlespaced}]]
(:if09end:)
[[#groupspacedend]]
>><<
(:pagelist fmt=#groupspaced list=normal count=16:)
|
(:template default order=title name=HomePage:)
(:template first {=$Group}:)
|
#grouptrail
Use the parameter trail
to set the return or parent page.
If not set it will default to the group of the pagelist.
>>comment<<
[[#grouptrail]]
(:template default wrap=inline trail="{*$Groupspaced}" :)
(:template first:)
%comment%** [-"{$$trail}" '''{*$FullName}'''-]
(:template each:)
%comment%-> [-- {=$FullName} --] (:if equal "{*$FullName}" "{=$FullName}":)✓(:ifend:) [-(:if ontrail {$$trail} {=$FullName}:)''ontrail''(:ifend:)-]
(:if09 equal "{*$FullName}" "{=$FullName}":)
%wikitrail%[[ {<$FullName} | {<$Titlespaced} ]] < '*[[{$$trail}]]*' > [[{>$FullName} | {>$Titlespaced} ]]
(:if09end:)
(:template none:)
%wikitrail%#grouptrail: group={$$group} name={$$name} trail={$$trail}
[[#grouptrailend]]
>>smaller<<
(:pagelist group={*$Group} list=all fmt=#grouptrail:)
|
(:template default wrap=inline trail="Site" :)
(:template first:)
** "{$$trail}" Site.LocalTemplates
(:template each:)
-> {=$FullName}
(:template none:)
#grouptrail: group={$$group} name={$$name} trail={$$trail}
#grouptrail: group=Site name= trail=Site
|
#pages
A simple bullet list of page title and summary.
>>comment<<
[[#pages]]
(:template each:)
(:if09 equal "{=$Title}" "Home Page":)
* [[{=$FullName}|{=$Groupspaced}]] [- {=$:Summary}-]
(:else09:)
* [[{=$FullName}|{=$Titlespaced}]] [- {=$:Summary}-] [-- ([[{=$Groupspaced}]])--]
(:if09end:)
[[#pagesend]]
>>smaller<<
(:pagelist group={*$Group} fmt=#pages list=normal count=8:)
|
|
#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 default wrap=inline TrailPage="{*$Groupspaced}" name=-HomePage,-RecentChanges,-RecentUploads,-SideBar,-*Template*,-GroupHeader,-GroupFooter,-GroupAttributes:)
(:template each:)
(:if00 false:)-< [-- *'{*$FullName}' ='{=$FullName}' --](:if00end:)
(:if09 equal "{*$FullName}" "{=$FullName}":)
%wikitrail%[[{<$FullName} | {<$Titlespaced}]] < '*[[{$$TrailPage}]]*' > [[{>$FullName}| {>$Titlespaced}]]
(:if09end:)
(:template none:)
%wikitrail%pagetrail: group={$$group} name={$$name} trail={$$trail} TrailPage={$$TrailPage}
[[#pagetrailend]]
>>smaller<<
(:pagelist group={*$Group} list=all fmt=#pagetrail:)
|
(:template default wrap=inline TrailPage="Site" name=-HomePage,-RecentChanges,-RecentUploads,-SideBar,-*Template*,-GroupHeader,-GroupFooter,-GroupAttributes:)
(:template each:)
(:template none:)
pagetrail: group={$$group} name={$$name} trail={$$trail} TrailPage={$$TrailPage}
|
#randomimage
display a random image
>>comment<<
[[#randomimage]]
(:template default order=random count=1 group=Trips if="attachments" list=normal:)
(:template each:)
(:thumblist captionfmt='?x_kwcaption' titlefmt='?x_kwtitle' {=$FullName} px={$$px} link=2 order=random count=1 skip="*.png|*.gif":)
[[#randomimageend]]
>><<
(:pagelist fmt=#randomimage list=normal count=8 px=128:)
|
(:template default order=random count=1 group=Trips if="attachments" list=normal:)
(:template each:)
Jim at the top of Yakebitaiyama Gondola number 1
Photo: Simon
Winter-17-18 Theodulgletscher
Simon at the top of Yokoteyama 3rd sky lift
Photo: Adrian
Mountain Daisy
Photo: Philip
|
#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]]
>><<
(:pagelist fmt=#recentchanges count=10:)
|
(:template defaults order=-time name=-GroupAttributes,-Site.AllRecentChanges,-Site.LastChanged,-RecentChanges,-RecentUploads,-SiteAdmin.Blocklist-*:)
(:template first:)
(:template each:)
Page | Time | By | Change |
Trips.2025-02-24 Washington, Day 02 | 2025 Apr 02 07:08 | skiwi | new (+1126) |
Trips.2025-02-24 Washington | 2025 Apr 01 18:18 | skiwi | (:div99999end:) ---- !! Wednesday 26 Feb? 2025, day 03 (:div99999end:) ---- !! Thursday 27 Feb? 2025, day 04 (+391) |
Trips.2025-02-24 Washington, Maps | 2025 Apr 01 18:16 | skiwi | /2025-02-27 nzm Crystal Mountain day 3 final.gpx Δ (:gpxstat gpx="/2025-02-27 nzm Crystal Mountain day 3 final" display='ski' timezone= :) (+1231) |
Kidz.Morison Bush, 2015 | 2025 Apr 01 08:41 | skiwi | ! Morison Bush? camping (+156) |
Kidz.Morison Bush, 2014 | 2025 Apr 01 08:40 | skiwi | ! Morison Bush? camping (+156) |
Kidz.Morison Bush, 2013 | 2025 Apr 01 08:39 | skiwi | ! Morison Bush? camping (+156) |
Kidz.Morison Bush, 2012 | 2025 Apr 01 08:38 | skiwi | ! Morison Bush? camping (+156) |
Kidz.Morison Bush, 2011 | 2025 Apr 01 08:38 | skiwi | ! Morison Bush? camping (+156) |
Kidz.Morison Bush, 2010 | 2025 Apr 01 08:37 | skiwi | ! Morison Bush? camping (+151) |
Kidz.Morison Bush, 2009 | 2025 Apr 01 08:36 | skiwi | ! Morison Bush? camping (+151) |
|
#recentlychanged
>>comment<<
[[#recentlychanged]]
(:template defaults trail=Site.AllRecentChanges:)
(: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} ||
[[#recentlychangedend]]
>><<
(:pagelist fmt=#recentlychanged count=10:)
|
(:template defaults trail=Site.AllRecentChanges:)
(:template first:)
(:template each:)
Page | Time | By | Change |
Trips.2025-02-24 Washington, Day 02 | 2025 Apr 02 07:08 | skiwi | new (+1126) |
Trips.2025-02-24 Washington | 2025 Apr 01 18:18 | skiwi | (:div99999end:) ---- !! Wednesday 26 Feb? 2025, day 03 (:div99999end:) ---- !! Thursday 27 Feb? 2025, day 04 (+391) |
Trips.2025-02-24 Washington, Maps | 2025 Apr 01 18:16 | skiwi | /2025-02-27 nzm Crystal Mountain day 3 final.gpx Δ (:gpxstat gpx="/2025-02-27 nzm Crystal Mountain day 3 final" display='ski' timezone= :) (+1231) |
Trips.Recent Uploads | 2025 Apr 01 18:16 | | |
Kidz.Morison Bush, 2015 | 2025 Apr 01 08:41 | skiwi | ! Morison Bush? camping (+156) |
Kidz.Morison Bush, 2014 | 2025 Apr 01 08:40 | skiwi | ! Morison Bush? camping (+156) |
Kidz.Morison Bush, 2013 | 2025 Apr 01 08:39 | skiwi | ! Morison Bush? camping (+156) |
Kidz.Morison Bush, 2012 | 2025 Apr 01 08:38 | skiwi | ! Morison Bush? camping (+156) |
Kidz.Morison Bush, 2011 | 2025 Apr 01 08:38 | skiwi | ! Morison Bush? camping (+156) |
Kidz.Morison Bush, 2010 | 2025 Apr 01 08:37 | skiwi | ! Morison Bush? camping (+151) |
|
#simplename
Simple bullet list of spaced page names, without the Group name.
>>comment<<
[[#simplename]]
* [[({=$Group}/){=$Namespaced}]]
[[#simplenameend]]
>>smaller<<
(:pagelist group={*$Group} fmt=#simplename list=normal count=8:)
|
|
#simpletitle
Simple bullet list of page titles, without the Group name.
>>comment<<
[[#simpletitle]]
* [[{=$Group}/{=$Name} | {=$Titlespaced}]]
[[#simpletitleend]]
>>smaller<<
(:pagelist group={*$Group} 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)--] [- {{=$Group}/$:Summary} -]
(:template each:)
(:if09 ! equal {=$Name} {$DefaultName} :)
-< [[{=$Group}/{=$Name}|{=$Titlespaced}]] [- {=$:Summary} -]
(:if09end:)
[[#sitemapend]]
>>smaller<<
(:pagelist group={*$Group} fmt=#sitemap list=normal count=12:)
|
(:template first {=$Group}:)
#{=$Group}
(:template each:)
Site (24 pages) Website configuration
Header Wiki website page header
|
#titlename
Outputs wiki page titles with spaces between the words in the title.
>>comment<<
[[#titlename]]
(:if09 equal "{=$Title}" "Home Page":)
[[{=$FullName} | {=$Groupspaced}]]
(:else09:)
[[{=$FullName} | {=$Titlespaced}]]
(:if09end:)
[[#titlenameend]]
>>smaller<<
(:pagelist group={*$Group} 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={*$Group} fmt=#titlespaced list=normal count=8:)
|
|
#titlesummary
A simple bullet list of page title and summary.
>>comment<<
[[#titlesummary]]
(:template each:)
(:if09 equal "{=$Title}" "Home Page":)
* [[{=$FullName} | {=$Groupspaced}]] [- {=$:Summary}-]
(:else09:)
* [[{=$FullName} | {=$Titlespaced}]] [- {=$:Summary}-]
(:if09end:)
[[#titlesummaryend]]
>>smaller<<
(:pagelist group={*$Group} fmt=#titlesummary list=normal count=8:)
|
|