Pagelist Template Samples

Here are samples of custom formats for (:pagelist:)

#forum

forum topics in table format

(:pagelist fmt=PagelistTemplateSamples#forum order=-time group=Main:)
Use this option if you want to track the same contents as the real RecentChanges and you want a quicker rendering. If you do not use this option, the pagelist directive will read every page in your group which may take some time. This may also provide different information for pages modified externally to pmwiki. In either case, some info on deleted pages will not match the real RecentChanges.
If you want to change the layout for RecentChanges for all your groups, you can create a group called RecentChanges and insert a pagelist in the GroupHeader. This pagelist would use the group={$Name} option. Thereafter, instead of looking at Foo.RecentChanges, one would go to RecentChanges.Foo instead to see the custom RecentChanges.

#teasers

include the first five lines of every page preceded by and edit link for that page

[[#teasers]]
|| '''[[{=$FullName}]]''' - [[Edit -> {=$FullName}?action=edit]]||

(:include {=$FullName} lines=5:)

(:if ! equal {>$Group}:)
-----
(:if:) 
[[#teasersend]]
(:pagelist fmt=PagelistTemplateSamples#teasers group=Main count=3:)
Main.AboutThisSite - Edit

PmWiki is a WikiWikiWeb system developed by Patrick Michaud as a tool to support easy collaborative authoring and maintenance of web sites. PmWiki is freely available under the GNU General Public License (GPL). See the documentation index for more information.

This site is running pmwiki-2.7.10.


Main.GroupAttributes - Edit

Main.HelloWorld - Edit

Hello World

Title

sub heading

another title?

Notes

  • This recipe requires at least PmWiki version: 2.1.beta15

Comments

See Also

Contributors


Category:

Peak memory: 1,852,736 bytes