Recent Changes - Search:

PmWiki

pmwiki.org

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

SideBarList

Try to create a Page List Template that colours alternate items using wiki styles with css3 selectors

#sidebarlist

Simple bullet page list of page titles, without the Group name, formatted with every other list item being an alternate colour.

>>comment<<
[[#sidebarlist]]
(:template first:)
%define=sidebarlist apply=list color:red li:nth-child(even)%
(:template each:)
* [[{=$Group}/{=$Name} | {=$Titlespaced}]] %sidebarlist%
[[#sidebarlistend]]

(:template first:) (:template each:)

(:pagelist group=PmWiki fmt=#sidebarlist list=normal count=8:)
Edit - History - Print - Recent Changes - Search
Page last modified on September 10, 2011, at 12:03 PM
 0: 00.00 00.00 config start
 1: 00.00 00.00 config end
 2: 00.05 00.05 MarkupToHTML begin
 3: 00.06 00.05 MarkupToHTML begin
 4: 00.07 00.06 MarkupToHTML end
 5: 00.07 00.06 MarkupToHTML begin
 6: 00.07 00.06 FPLTemplate: Chain begin
 7: 00.07 00.06 FPLTemplate: FPLTemplateLoad
 8: 00.07 00.06 FPLTemplate: FPLTemplateDefaults
 9: 00.07 00.06 FPLTemplate: FPLTemplatePageList
10: 00.07 00.06 MakePageList pre
11: 00.07 00.06 PageListCache begin load key=dd7da5a29c9c26a637ce148524cdd39a
12: 00.10 00.06 PageListCache end load
13: 00.10 00.06 PageListSources begin
14: 00.10 00.06 PageListSources end count=286
15: 00.10 00.06 PageListSort pre ret=4 order=name
16: 00.10 00.06 MakePageList items count=286, filters=
17: 00.10 00.07 MakePageList post count=286, readc=0
18: 00.10 00.07 PageListSort begin
19: 00.10 00.07 PageListSort sort
20: 00.11 00.08 PageListSort end
21: 00.11 00.08 MakePageList end
22: 00.11 00.08 FPLTemplate: FPLTemplateSliceList
23: 00.11 00.08 FPLTemplate: FPLTemplateFormat
24: 00.12 00.09 MarkupToHTML begin
25: 00.14 00.11 MarkupToHTML end
26: 00.14 00.11 FPLTemplate: Chain end
27: 00.14 00.11 MarkupToHTML end
28: 00.15 00.12 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
29: 00.16 00.13 ReadApprovedUrls SiteAdmin.ApprovedUrls end
30: 00.23 00.19 MarkupToHTML end
31: 00.24 00.20 MarkupToHTML begin
32: 00.27 00.23 MarkupToHTML end
33: 00.27 00.24 MarkupToHTML begin
34: 00.28 00.25 MarkupToHTML end
35: 00.29 00.25 now