#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}]] [- {=$:Summary} -] [[#defaultend]] >>smaller<< (:pagelist group={$Group} fmt=#default list=normal count=7:) |
|
#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}]] (:template each:) [[#groupnameend]] >>smaller<< (:pagelist name=SideBar fmt=#groupname list=normal count=8:) |
#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:) |
#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}]] [- {=$:Summary}-] (:else:) * [[{=$FullName}|{=$Titlespaced}]] [- {=$:Summary}-] [-- ([[{=$Groupspaced}]])--] (:ifend:) [[#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 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:) |
#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:) |
|
#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":) |
#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:) |
|
#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:) |
#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:) |
#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:) | Site (25 pages) redirects to Site.SiteAll Group Header Common header page for website
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
|
#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:) |
#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:) |
#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}]] [- {=$: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 defaults order=$Name:) (: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:) | All Group Header Common header page for website
Edit Form contains the edit page layout form
Edit Quick Reference quick reference for editing pages
Footer Website page footer
Header Website page header
|