Official Resources CLAWs Online Recent wiki updates |
Site /
PageListTemplatesThis page contains "templates" for PmWiki's Brief Syntax Explaination:See also Pagelist Explained, Page Variables, Conditional Markup 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=#includeThis format includes whole pages, with titles as links to the pages, seperated by a horizontal rule underneath each page's content. An edit link appears if authorised as editor. [[#include]] (:if auth edit:) %rfloat%[[{=$FullName}?action=edit|[-edit-]]](:if:) !!![[{=$FullName}|[+{=$Title}+]]] (:include {=$FullName}:) ---- (:if equal {>$Group}:) (:title {$Title}:)(:if:) [[#includeend]] |