Site » Local Templates

Local pagelist templates


(See Site.PageListTemplates for more details and formats.)

fmt=#grouptrail

This format defines a pagelist suitable for use in wiki trail type markup.

(:if false:)
[[#grouptrail]]
(:template each :)
(:if equal {*$FullName} {=$FullName}:)
(:table border=0 width=100%:)
(:cellnr align=left:)
[--&laquo; [[{<$FullName}| +]]--]
(:cell:)
[--&nbsp;--]
(:cell align=right:)
[--[[{>$FullName}| +]] &raquo;--]
(:tableend:)
(:ifend:)
[[#grouptrailend]]
(:ifend:)

To use it, include something like:

(:pagelist group={$Group} fmt=#grouptrail list=trail:)

in a group header or footer.

fmt=#grouptitlesummary

This is useful for the site map and the category page lists.

>>comment<<
[[#grouptitlesummary]]
(:template first {=$Group}:)

:[[{=$Group}/]] /:
(:template each:)
: :[[{=$FullName} | {=$Title}]]
&nbsp; [-{=$:Summary}-]
[[#defaultend]]
[[#grouptitlesummaryend]]
>><<

(:pagelist group=Site
fmt=#grouptitlesummary list=normal
count=8:)

(:template first {=$Group}:)

{=$Group}? /

(:template each:)

{=$Title}?   {=$:Summary}

Site /
AuthForm   form displayed when requesting a password or username/password
AuthUser  
EditForm   contains the edit page layout form
EditQuickReference   quick reference for editing pages
GroupPageList  
PageActions   Contains the 'action' links (like Browse, Edit, History, etc.), placed at the top of the page, see site page actions
PageFooter   stuff that appears at the bottom of every wiki page
PageListTemplates   Templates for PmWiki's Page lists directive



Page last modified at September 19, 2011, at 07:30 PM by Profiles. (History). (Talk?)

Portfolio

Copyright © 2011- Tamara Temple Web Development. Code is licensed GPLv3. Content is all rights reserved.
Built using PmWiki version pmwiki-2.2.36.