#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:)
|
|
fmt=#grouptrail
>>comment<<
[[#grouptrail]]
(:template each:)
%comment%-< [-- {*$FullName}
{=$FullName} --]
(:if equal {*$FullName} {=$FullName}:)
%wikitrail%[[ {<$FullName} |
« prev ]] |
[[{*$Groupspaced}]] |
[[{>$FullName}| next » ]]
(: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}]]
[- {=$:Summary}-]
(:else:)
* [[{=$FullName}|{=$Titlespaced}]]
[- {=$:Summary}-]
[-- ([[{=$Groupspaced}]])--]
(:ifend:)
[[#pagesend]]
>>smaller<<
(:pagelist group=Site fmt=#pages
list=normal count=8:)
|
|
#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:)
|
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:)
(:template each:)
|
#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 (15 pages) Site Configuration
Page Not Found Page displayed when PmWiki can't find the requested page
|
#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:)
|
|