Test /
About This Site
Here are samples of custom formats for (:pagelist:)
#forum
forum topics in table format
(:pagelist fmt=PagelistTemplateSamples#forum order=-time group=Main:) |
- Using the pagelist option trail=<Group>.RecentChanges:
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.
- Setting up a group for 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:) | |||
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.4.0.
Hello WorldTitlesub headinganother title? |
Notes
- This recipe requires at least PmWiki version: 2.1.beta15
Comments
See Also
Contributors
Category: