#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:)
|
|
#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 default wrap=inline
TrailPage={*$Groupspaced} :)
(:template each:)
%comment%-< [-- {*$FullName}
{=$FullName} --]
(:if equal {*$FullName} {=$FullName}:)
%wikitrail%[[ {<$FullName} |
{<$Namespaced} ]] |
[[{$$TrailPage}]] | [[{>$FullName}|
{>$Namespaced} ]]
(:ifend:)
[[#grouptrailend]]
>>smaller<<
(:pagelist group={*$Group}
fmt=#grouptrail:)
|
(:template default wrap=inline TrailPage=Site :)
(:template each:)
-< Site.LocalTemplates {=$FullName}
-< Site.LocalTemplates Site.AllGroupHeader
-< Site.LocalTemplates Site.AllRecentChanges
-< Site.LocalTemplates Site.AuthForm
-< Site.LocalTemplates Site.AuthUser
-< Site.LocalTemplates Site.EditForm
-< Site.LocalTemplates Site.EditQuickReference
-< Site.LocalTemplates Site.Footer
-< Site.LocalTemplates Site.GroupAttributes
-< Site.LocalTemplates Site.ImageTemplate
-< Site.LocalTemplates Site.InterMap
-< Site.LocalTemplates Site.LastChanged
-< Site.LocalTemplates Site.LocalTemplates
Last Changed | Site | Other
-< Site.LocalTemplates Site.Other
-< 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.TTCPageListTemplates
-< 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}]]
[- {=$:Summary}-]
(:else:)
* [[{=$FullName}|{=$Titlespaced}]]
[- {=$:Summary}-]
[-- ([[{=$Groupspaced}]])--]
(:ifend:)
[[#pagesend]]
>>smaller<<
(:pagelist group=Site fmt=#pages
list=normal count=8:)
|
|
#randomimage
Select an image randomly from all pages with images and display
>>comment<<
[[#randomimage]]
(:template default order=random count=1
if="attachments" skip="*.gif|*.png"
list=normal:)
(:template each:)
(:thumblist {=$FullName} skip={$$skip}
px={$$px} link=2 order=random count=1:)
[[#randomimageend]]
>><<
(:pagelist fmt=#randomimage list=normal
count=8 px=128:)
|
(:template default order=random count=1 if="attachments" skip="*.gif|*.png" list=normal:)
(:template each:)
|
#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:)
(:template each:)
|
#simplename
Simple bullet list of spaced page names, without the Group name.
>>comment<<
[[#simplename]]
* [[({=$Group}/){=$Namespaced}]]
[[#simplenameend]]
>>smaller<<
(:pagelist group=Site 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=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)--]
[- {{=$Group}/$:Summary} -]
(:template each:)
(:if ! equal {=$Name} {$DefaultName} :)
-< [[{=$Group}/{=$Namespaced}]]
[- {=$:Summary} -]
(:ifend:)
[[#sitemapend]]
>>smaller<<
(:pagelist group={$Group} fmt=#sitemap
list=normal count=12:)
|
(:template first {=$Group}:)
#{=$Group}
(:template each:)
Site (19 pages) Site Configuration
|
#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}]]
[- {=$:Summary}-]
(:else:)
* [[{=$FullName} | {=$Titlespaced}]]
[- {=$:Summary}-]
(:ifend:)
[[#titlesummaryend]]
>>smaller<<
(:pagelist group=Site fmt=#titlesummary
list=normal count=8:)
|
|
#titlesummarylist
A simple list of page title and summary.
>>comment<<
[[#titlesummarylist]]
(:template each:)
(:if equal "{=$Title}" "Home Page":)
-< [[{=$FullName} |
{=$Groupspaced}]]
[- {=$:Summary}-]
(:else:)
-< [[{=$FullName} |
{=$Titlespaced}]]
[- {=$:Summary}-]
(:ifend:)
[[#titlesummarylistend]]
>>smaller<<
(:pagelist group=Site
fmt=#titlesummarylist list=normal
count=8:)
|
|