@import url(http://bgd.lariennalibrary.com/pub/skins/sinorca/basic.css); @import url(http://bgd.lariennalibrary.com/pub/skins/sinorca/layout.css); @import url(http://bgd.lariennalibrary.com/pub/skins/sinorca/sinorca.css);
A board game designer's web site
Copyright Eric Pietrocupo
E-Mail: ericp[AT]lariennalibrary.com
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.
See also: PageLists, Page Variables, Page Text Variables, Conditional Markup, and Cookbook:PagelistTemplateSamples.
Use with page variables:
= current item < previous item > next item
Conditionals used to structure pagelist output:
(:if equal {<$Group}:)At beginning of list(:if equal {>$Group}:)At end of list(:if ! equal {=$Group} {<$Group}:)First item in group(:if ! equal {=$Group} {>$Group}:)Last item in group
The default template for pagelists when fmt= isn't specified.
[[#default]]
(:template first {=$Group}:)
:[[{=$Group}/]] /:
(:template each:)
: :[[{=$Group}/{=$Name}]]
[[#defaultend]]
Display pages by group/name.
[[#bygroup]]
(:template first {=$Group}:)
:[[{=$Group}/]] /:
(:template each:)
: :[[{=$Group}/{=$Name}]]
[[#bygroupend]]
A simple bullet list of page names.
[[#simple]]
* [[{=$FullName}]]
[[#simpleend]]
A simple bullet list of page titles.
[[#title]]
(:template defaults order=title:)
* [[{=$FullName}|+]]
[[#titleend]]
Outputs wiki page titles with spaces between the words in the title.
[[#titlespaced]]
(:template defaults order=title:)
* [[{=$FullName}|{=$Titlespaced}]]
[[#titlespacedend]]
A bullet list of groups.
[[#group]]
(:template first {=$Group}:)
* [[{=$Group}/]]
[[#groupend]]
Concatenate the text of pages in the list. (Note, this can be an expensive operation!)
[[#include]]
(:include {=$FullName} self=0:)
[[#includeend]]
Include 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 [[#faq]] anchor!)
[[#includefaq]]
!![[{=$FullName}|+]]
>>faq<<
(:include {=$FullName}#faq#faqend self=0:)
>><<
[[#includefaqend]]
List pages and append the page's description if it exists.
[[#description]]
*[[{=$FullName}|+]]
(:if ! equal {=$Description} '':)
->'-''description:'' {=$Description}-'
(:if:)
[[#descriptionend]]
Simple bullet list of page names, without the Group name.
[[#simplename]]
* [[({=$Group}/){=$Name}]]
[[#simplenameend]]
Simple bullet list of spaced page names, without the Group name.
[[#simplenamespaced]]
* [[({=$Group}/){=$Namespaced}]]
[[#simplenamespacedend]]
New format, List pages and append the page's description if it exists. No bullets and no description tags
[[#descriptionnewdate]]
'''[[{=$FullName}|+]]''' ({=$LastModifiedShort})
(:if ! equal {=$Description} '':)
->{=$Description}
(:if:)
[[#descriptionnewdateend]]
New format, List pages and append the page's description if it exists. No bullets and no description tags
[[#descriptionnew]]
'''[[{=$FullName}|+]]'''
(:if ! equal {=$Description} '':)
->{=$Description}
(:if:)
[[#descriptionnewend]]
A simple bullet list of page titles and the date. Use order=title to have them sorted by title (the default sort is by name).
[[#titledate]]
* [[{=$FullName}|+]] ({=$LastModifiedShort})
[[#titledateend]]
New format, List pages and append the page's description if it exists. No bullets and no description tags
[[#descriptionnewstars]]
'''[[{=$FullName}|+]]''' [--(modified on {=$LastModifiedShort})--] {(rater {{=$FullName}$:Rating1} stars blue)}
(:if ! equal {=$Description} '':)
->{=$Description}
(:if:)
[[#descriptionnewendstars]]
Powered by PmWiki and the Sinorca skin