|
Site /
PageListTemplatesThis page contains "templates" for PmWiki's Brief Syntax Explanation:See also: Pagelist Explained, Page Variables, Conditional Markup, Cookbook:PagelistTemplateSamples Use with page variables: = current item < previous item > next item Conditionals used to structure pagelist output:
fmt=#defaultThe default template for pagelists when [[#default]] (:if ! equal {=$Group} {<$Group}:) :[[{=$Group}]] /: (:if:) : :[[{=$Group}/{=$Name}]] [[#defaultend]] fmt=#bygroupDisplay pages by group/name. [[#bygroup]] (:if ! equal {=$Group} {<$Group}:) :[[{=$Group}]] /: (:if:) : :[[{=$Group}/{=$Name}]] [[#bygroupend]] fmt=#simpleA simple bullet list of page names. [[#simple]] * [[{=$FullName}]] [[#simpleend]] fmt=#titleA simple bullet list of page titles. Use [[#title]] * [[{=$FullName}|+]] [[#titleend]] fmt=#groupA bullet list of groups. [[#group]] (:if ! equal {=$Group} {<$Group}:) * [[{=$Group}]] [[#groupend]] fmt=#includeConcatenate the text of pages in the list. (Note, this can be an expensive operation!) [[#include]] (:include {=$FullName}:) [[#includeend]] |