|
|
|
Linux Training 1825 Monetary Lane Suite #104 Carrollton, TX Do a presentation at NTLUG. What is the Linux Installation Project? Real companies using Linux! Not just for business anymore. Providing ready to run platforms on Linux |
This page contains "templates" for PmWiki's Brief Syntax Explanation:See also: PageLists, 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} self=0:)
[[#includeend]]
fmt=#includefaqInclude just the #faq sections from pages in the list. (This can also be expensive,
especially if the list includes pages that don't have the
[[#includefaq]]
!![[{=$FullName}|+]]
>>faq<<
(:include {=$FullName}#faq#faqend self=0:)
>><<
[[#includefaqend]]
fmt=#forumUsed to produce the Artilces layout.
[[#forum]]
(:if equal {<$Group}:)
(:table class=forum width="90%" :)
(:cell id="tmplforumhead tmplforumheadtopic" :)'''Topic'''
(:cell id="tmplforumhead tmplforumheadlast" :)%thd%'''Last Posted'''
(:cell id="tmplforumhead tmplforumheadby" :)%thd%'''By''' (:if:)
(:cellnr id="tmplforumitem tmplforumitemtopic" :)[[{=$FullName}|{=$Titlespaced}]]
(:cell id="tmplforumitem tmplforumitemlast" :){=$LastModified}
(:cell id="tmplforumitem tmplforumitemby" :)[[~{=$LastModifiedBy}]]
(:if equal {>$Group}:)
(:tableend:)(:if:)
[[#forumend]]
fmt=#sitemapDisplay pages by group/title.
[[#sitemap]]
(:if ! equal {=$Group} {<$Group}:)
:[[{=$Group}]] /:
(:if:)
: :@@{=$LastModified}@@ [[{=$Group}/{=$Name}|{=$Titlespaced}]]
[[#sitemapend]]
|