version=pmwiki-2.2.0-beta38 ordered=1 urlencoded=1 agent=Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.0.9) Gecko/20060911 SUSE/1.5.0.9-0.2 Firefox/1.5.0.9 author=Pm csum=revert to placing search in pagelist ctime=1135725585 host=76.183.97.54 name=Site.PageListTemplates rev=36 targets=Site.LocalTemplates,PmWiki.PageLists,PmWiki.PageVariables,PmWiki.PageTextVariables,PmWiki.ConditionalMarkup text=This page contains "templates" for PmWiki's [@(:pagelist:)@] directive. The [[Site.LocalTemplates]] page can be created and used to store pagelist templates that are local to a site.%0a%0a!!!Brief Syntax Explanation:%0a%0aSee also: [[PmWiki/PageLists]], [[PmWiki/Page Variables]], [[PmWiki/Page Text Variables]], [[PmWiki/Conditional Markup]], and [[Cookbook:PagelistTemplateSamples]].%0a%0aUse with page variables:%0a = current item%0a %3c previous item%0a > next item%0a%0aConditionals used to structure pagelist output:%0a [@(:if equal {%3c$Group}:)@] At beginning of list%0a [@(:if equal {>$Group}:)@] At end of list%0a [@(:if ! equal {=$Group} {%3c$Group}:)@] First item in group%0a [@(:if ! equal {=$Group} {>$Group}:)@] Last item in group%0a%0a%0a----%0a!!!fmt=#default%0a%0aThe default template for pagelists when [@fmt=@] isn't specified.%0a%0a[@%0a[[#default]]%0a(:template first {=$Group}:)%0a%0a:[[{=$Group}/]] /:%0a(:template each:)%0a: :[[{=$Group}/{=$Name}]]%0a[[#defaultend]]%0a@]%0a%0a----%0a!!!fmt=#bygroup%0a%0aDisplay pages by group/name.%0a%0a[@%0a[[#bygroup]]%0a(:template first {=$Group}:)%0a%0a:[[{=$Group}/]] /:%0a(:template each:)%0a: :[[{=$Group}/{=$Name}]]%0a[[#bygroupend]]%0a@]%0a%0a----%0a!!!fmt=#simple%0a%0aA simple bullet list of page names.%0a%0a[@%0a[[#simple]]%0a* [[{=$FullName}]]%0a[[#simpleend]]%0a@]%0a%0a----%0a!!!fmt=#title%0a%0aA simple bullet list of page titles. %0a%0a[@%0a[[#title]]%0a(:template defaults order=title:)%0a* [[{=$FullName}|+]]%0a[[#titleend]]%0a@]%0a%0a----%0a!!!fmt=#titlespaced%0a%0aOutputs wiki page titles with spaces between the words in the title.%0a%0a[@%0a[[#titlespaced]]%0a(:template defaults order=title:)%0a* [[{=$FullName}|{=$Titlespaced}]]%0a[[#titlespacedend]]%0a@]%0a%0a----%0a!!!fmt=#group%0a%0aA bullet list of groups.%0a%0a[@%0a[[#group]]%0a(:template first {=$Group}:)%0a* [[{=$Group}/]]%0a[[#groupend]]%0a@]%0a%0a%0a----%0a!!!fmt=#include%0a%0aConcatenate the text of pages in the list. (Note, this can be an expensive operation!)%0a%0a[@%0a[[#include]]%0a(:include {=$FullName} self=0:)%0a[[#includeend]]%0a@]%0a%0a%0a----%0a!!!fmt=#includefaq%0a%0aInclude just the #faq sections from pages in the list. (This can also be expensive,%0aespecially if the list includes pages that don't have the [@[[#faq]]@] anchor!)%0a%0a[@%0a[[#includefaq]]%0a!![[{=$FullName}|+]]%0a>>faq%3c%3c%0a(:include {=$FullName}#faq#faqend self=0:)%0a>>%3c%3c%0a[[#includefaqend]]%0a@]%0a%0a----%0a!!!fmt=#description%0a%0aList pages and append the page's description if it exists.%0a%0a[@%0a[[#description]]%0a*[[{=$FullName}|+]]%0a(:if ! equal {=$Description} '':)%0a->'-''description:'' {=$Description}-'%0a(:if:)%0a[[#descriptionend]]%0a@]%0a%0a----%0a!!!fmt=#simplename%0a%0aSimple bullet list of page names, without the Group name. %0a%0a[@%0a[[#simplename]]%0a* [[({=$Group}/){=$Name}]]%0a[[#simplenameend]]%0a@]%0a%0a----%0a!!!fmt=#simplenamespaced%0a%0aSimple bullet list of spaced page names, without the Group name. %0a%0a[@%0a[[#simplenamespaced]]%0a* [[({=$Group}/){=$Namespaced}]]%0a[[#simplenamespacedend]]%0a@]%0a time=1174659257