Recent Changes - Search:

ChuckG Wiki Home

ChuckG Page List

APCU Wiki Home

APCU's web Home - Leave this wiki

Page Categories

Wiki Tools (restricted)

Basic Editing

My SandBox

(Try things)

APCU SandBox

(Try things)

pmwiki-2.2.62
PHP: 5.5.38

edit SideBar

Chuck's Page List Templates

fmt=#NameTitle

Display list of names by group (toggle-able). Also show titles where specified.

(:if10 false:)
[[#NameTitle]]
(:template defaults order=name tog=0 set=0 credit=0:)
(:template first {=$Group}:)

!!!(:if [ enabled Toggle && ( ! equal {$$tog} 0 ) ] :)(:toggle hide ID-{*$Group}-{$$tog}-{=$Group} set={$$set} :)(:ifend:) Pages in group [[{=$Group}/]] ({{=$Group}/$Titlespaced}):

(:div10(:if ! equal {$$tog} 0:) id="ID-{*$Group}-{$$tog}-{=$Group}"(:ifend:):)
(:template each:)
(:if equal "{=$Name}" "{=$Title}":)
* [[({=$Group}/){=$Name}]]
(:else:)
* [[({=$Group}/){=$Name}]]
** %item list-style=none%{=$Title}
(:ifend:)
(:template last {=$Group}:)

(:div10end:)
->[[{=$Group}/]] group contains (:if equal {$$GroupPageCount} 1 :)one page(:else:){$$GroupPageCount} pages(:ifend:).
(:template last:)

!!!(:if equal {$$PageCount} 1 :)One page(:else:){$$PageCount} pages(:ifend:) in (:if equal {$$GroupCount} 1 :)one group(:else:){$$GroupCount} groups(:ifend:).
(:if ! equal {$$credit} 0:)
[@


@]
[-The actual brains for this page are in the [[ {$FullName}#tmplNameTitle | #NameTitle template ]].-](:ifend:)
[[#NameTitleend]]
(:if10end:)

Example:

(:pagelist name=b* fmt=#NameTitle count=10 tog=ex1 set=1 credit=1:)

Pages in group APCU (<=== you probably want "meeting notes" to the left.):

APCU group contains 2 pages.

Pages in group ChuckG (Chuck Goldstein's Wiki Group):

  • BriaTV
    • Bria Westmont TV Channels
ChuckG group contains one page.

Pages in group PmWiki (Pm Wiki):

PmWiki group contains 4 pages.

7 pages in 3 groups.



The actual brains for this page are in the #NameTitle template.

fmt=#TitleName

Display list of titles by group (toggle-able). Show all page names for each title.

(:if10 false:)
[[#TitleName]]
(:template defaults order=group,$Titlespaced,name tog=0 set=0 credit=0:)
(:template first {=$Group}:)

!!!(:if [ enabled Toggle && ( ! equal {$$tog} 0 ) ] :)(:toggle hide ID-{*$Group}-{$$tog}-{=$Group} set={$$set} :)(:ifend:) Pages in group [[{=$Group}/]] ({{=$Group}/$Titlespaced}):

(:div10(:if ! equal {$$tog} 0:) id="ID-{*$Group}-{$$tog}-{=$Group}"(:ifend:):)
(:template each:)
(:if ! equal "{=$Titlespaced}" "{<$Titlespaced}":)
* {=$Titlespaced}
(:ifend:)
** %item list-style=none%[[({=$Group}/){=$Name}]]
(:template last {=$Group}:)

(:div10end:)
->[[{=$Group}/]] group contains (:if equal {$$GroupPageCount} 1 :)one page(:else:){$$GroupPageCount} pages(:ifend:).
(:template last:)

!!!(:if equal {$$PageCount} 1 :)One page(:else:){$$PageCount} pages(:ifend:) in (:if equal {$$GroupCount} 1 :)one group(:else:){$$GroupCount} groups(:ifend:).
(:if ! equal {$$credit} 0:)
[@


@]
[-The actual brains for this page are in the [[ {$FullName}#tmplTitleName | #TitleName template ]].-] (:ifend:)
[[#TitleNameend]]
(:if10end:)

Example:

(:pagelist name=b* fmt=#TitleName count=10 tog=ex2 set=1 credit=1:)

Pages in group APCU (<=== you probably want "meeting notes" to the left.):

APCU group contains 2 pages.

Pages in group ChuckG (Chuck Goldstein's Wiki Group):

  • Bria Westmont TV Channels
ChuckG group contains one page.

Pages in group PmWiki (Pm Wiki):

PmWiki group contains 4 pages.

7 pages in 3 groups.



The actual brains for this page are in the #TitleName template.

fmt=#SimpleNameTitleTable

Display page names, titles and summaries in table form without headers / counts.

(:if10 false:)
[[#SimpleNameTitleTable]]
(:template defaults order=name credit=0:)
(:template first {=$Group}:)

[[{=$Group}/]] /
(:table border=0 :)
(:template each:)
(:cellnr:)
(:div style="white-space:pre;":)&nbsp; &nbsp;[[({=$Group}/){=$Name}]]: &nbsp;
(:divend:)
(:cell:)
-< {=$Titlespaced}(:if ! equal "{=$:Summary}" "" :): %font-size=90pct%''{=$:Summary}''%%(:ifend:)
(:template last {=$Group}:) 
(:tableend:)
(:template last:)

(:if equal {$$PageCount} 1 :)One page(:else:){$$PageCount} pages(:ifend:) in (:if equal {$$GroupCount} 1 :)one group(:else:){$$GroupCount} groups(:ifend:).
(:if ! equal {$$credit} 0:)
[@


@]
[-The actual brains for this page are in the [[ {$FullName}#tmplSimpleNameTitleTable | #SimpleNameTitleTable template ]].-](:ifend:)
[[#SimpleNameTitleTableend]]
(:if10end:)

Example:

(:pagelist name=b* fmt=#SimpleNameTitleTable count=10 set=1 credit=1:)

APCU /

   Batteries:  
Battery Discussion
   BrowserTopics:  
Browser Topics

ChuckG /

   BriaTV:  
Bria Westmont TV Channels

PmWiki /

Backup and Restore: background information and some basic backup and restore procedures
   BasicEditing:  
Basic PmWiki editing rules: PmWiki's basic edit syntax
   BasicVariables:  
Basic Variables: core variables
   Blocklist:  
Blocklist: Blocking IP addresses, phrases, and expressions to counteract spam and vandalism.

7 pages in 3 groups.



The actual brains for this page are in the #SimpleNameTitleTable template.

fmt=#NameTitleTable

Display page names and titles in table form by group (toggle-able) with options to open links in a new window and show additional info.

(:if10 false:)
[[#NameTitleTable]]
(:template defaults order=name tog=0 newwin=0 lastmod=0 set=0 credit=0 totals=1:)
(:if ! equal {$$newwin} 0 :)
%define=winopt newwin %
(:else:)
%define=winopt %
(:ifend:)
(:template first {=$Group}:)

!!!(:if3 [ enabled Toggle && ( ! equal {$$tog} 0 ) ] :)%class=hover_uline%''[-(:toggle hide ID-{*$Group}-{$$tog}-{=$Group} set={$$set} tags="pgtbl,NTTPgtbl" :)-]''%% Pages in group %winopt%[[{=$Group}/]] ({{=$Group}/$Titlespaced}):

(:div2 id="ID-{*$Group}-{$$tog}-{=$Group}" style="clear:right;"(:if enabled Toggle_feat_tags:) class="tog_hide_js"(:ifend:) :)
(:else3:)Pages in group %winopt%[[{=$Group}/]] ({{=$Group}/$Titlespaced}):

(:div2(:if ! equal {$$tog} 0:) id="ID-{*$Group}-{$$tog}-{=$Group}"(:ifend:) style="clear:right;" :)
(:if3end:)
(:table border=0 :)
(:template each:)
(:cellnr:)
(:div style="white-space:pre;" class=hover_uline:)&nbsp; &nbsp;%winopt%[[({=$Group}/){=$Name}]]: &nbsp;
(:divend:)
(:if2 ! equal {$$lastmod} 0 :)
(:div class="filevbose NTTFilevbose hover_uline" :)
-> [-\
%winopt%[[{=$Group}.{=$Name}?action=source | View source]] \
''or'' \
%winopt%[[{=$Group}.{=$Name}?action=(:if ! equal {*$:reindex} "":)reindex | Reindex(:else:)edit | Edit(:ifend:)]] &nbsp;-]
(:divend:)(:if2end:)
(:cell:)
-< {=$Titlespaced}(:if ! equal "{=$:Summary}" "" :): %font-size=90pct%''{=$:Summary}''%%(:ifend:)\
(:if ! equal {$$lastmod} 0 :)
>>class="filevbose NTTFilevbose hover_uline"<<
   @@[-(Last mod %winopt%[[{=$Group}.{=$Name}?action=diff | {(ftime "%a %F %H:%M %Z" @{=$LastModifiedTime})}]](:if2 ! equal "{=$LastModifiedBy}" "":) by %winopt%[[~{=$LastModifiedBy}]]%%(:if2end:))-]@@
>><< (:ifend:)
(:template last {=$Group}:) 
(:tableend:)

(:if [ enabled Toggle_feat_tags && ( ! equal {$$tog} 0 ) ] :)
>>rfloat<<''(:toggle hidetags=NTTPgtbl label="[hide all]" tthide="Hide all" :)''
>><<
(:ifend:)
(:div2end:)
(:if2 equal {$$totals} 1:)
->%winopt%[[{=$Group}/]] group contains (:if equal {$$GroupPageCount} 1 :)one page(:else:){$$GroupPageCount} pages(:ifend:).(:if2end:)
(:template last:)
(:if2 equal {$$totals} 1:)

!!!(:if equal {$$PageCount} 1 :)One page(:else:){$$PageCount} pages(:ifend:) in (:if equal {$$GroupCount} 1 :)one group(:else:){$$GroupCount} groups(:ifend:).(:if2end:)
(:if ! equal {$$credit} 0:)
[@


@]
[-The actual brains for this page are in the %winopt%[[ {$FullName}#tmplNameTitleTable | #NameTitleTable template ]]-](:ifend:)
[[#NameTitleTableend]]
(:if10end:)

Example:

(:if enabled Toggle_feat_tags:)
(:div2:) %apply=div rframe tog_hide_nojs font-size:smaller noprint bgcolor=#e0e0ff%
(:div3 class=hover_uline:)
(:toggle show show=More hide=Less ttshow="More verbose" tthide="Less verbose" ".NTTFilevbose" nojs=1:) verbose page info\\
(:toggle showtags=NTTPgtbl label="Show" ttshow="Show all page lists" nojs=1:) / \
(:toggle hidetags=NTTPgtbl label="Hide" tthide="Hide all page lists" nojs=1:) all page lists&nbsp;
(:div3end:)
(:div2end:)(:ifend:)
(:pagelist name=b* fmt=#NameTitleTable count=10 newwin=1 lastmod=1 tog=ex3 set=1 credit=1:)

verbose page info
/ all page lists 

Pages in group APCU (<=== you probably want "meeting notes" to the left.):

   Batteries:  
Battery Discussion
   BrowserTopics:  
Browser Topics
APCU group contains 2 pages.

Pages in group ChuckG (Chuck Goldstein's Wiki Group):

   BriaTV:  
Bria Westmont TV Channels
ChuckG group contains one page.

Pages in group PmWiki (Pm Wiki):

Backup and Restore: background information and some basic backup and restore procedures
   BasicEditing:  
Basic PmWiki editing rules: PmWiki's basic edit syntax
   BasicVariables:  
Basic Variables: core variables
   Blocklist:  
Blocklist: Blocking IP addresses, phrases, and expressions to counteract spam and vandalism.
PmWiki group contains 4 pages.

7 pages in 3 groups.



The actual brains for this page are in the #NameTitleTable template

fmt=#NameTitleIndent

Display page names and titles in indented form by group (toggle-able) with options to open links in a new window and show additional info.

(:if10 false:)
[[#NameTitleIndent]]
(:template defaults order=name tog=0 newwin=0 lastmod=0 set=0 credit=0 totals=1:)
(:if ! equal {$$newwin} 0 :)
%define=winopt newwin %
(:else:)
%define=winopt %
(:ifend:)
(:template first {=$Group}:)

-< (:if3 [ enabled Toggle && ( ! equal {$$tog} 0 ) ] :)%class=hover_uline%''[-(:toggle hide ID-{*$Group}-{$$tog}-{=$Group} set={$$set} tags="pgtbl,NTIPgtbl" :)-]''%% [+Pages in group %winopt%[[{=$Group}/]] ({{=$Group}/$Titlespaced}): +]

(:div2 id="ID-{*$Group}-{$$tog}-{=$Group}" style="clear:right;"(:if enabled Toggle_feat_tags:) class="tog_hide_js"(:ifend:) :)
(:else3:)[+Pages in group %winopt%[[{=$Group}/]] ({{=$Group}/$Titlespaced}): +]

(:div2(:if ! equal {$$tog} 0:) id="ID-{*$Group}-{$$tog}-{=$Group}"(:ifend:) style="clear:right;" :)
(:if3end:)
(:template each:)
(:div5 style="line-height: 98%;":)
(:div4 style="float: left;" :)
(:div style="font-weight:500; white-space:pre;" class=hover_uline:)&nbsp; &nbsp;%winopt%[[({=$Group}/){=$Name}]]: &nbsp;
(:divend:)
(:div4end:)
(:div4 style="float:right; width:75%;" :)
-< %font-weight=500%{=$Titlespaced}%%(:if ! equal "{=$:Summary}" "" :): %font-size=90pct%''{=$:Summary}''%%(:ifend:)
(:div4end:)
(:if44 ! equal {$$lastmod} 0 :)
(:div44 class="filevbose NTIFilevbose hover_uline" style="clear:both; font-size:83%; line-height: 98%; ":)
(:div4 style="clear: both; padding-top: 0.5em;":)
(:div4end:)
(:div4 style="clear: both; float: left; " :)
-> [==]\
%winopt%[[{=$Group}.{=$Name}?action=source | View source]] \
''or'' \
%winopt%[[{=$Group}.{=$Name}?action=(:if ! equal {*$:reindex} "":)reindex | Reindex(:else:)edit | Edit(:ifend:)]] &nbsp;
(:div4end:)
(:div4 style="float:right; clear:right; width:70%; " :)
-< Last mod %winopt%[[{=$Group}.{=$Name}?action=diff | {(ftime "@@%a@@ %F %H:%M %Z" @{=$LastModifiedTime})}]]\
(:if2 ! equal "{=$LastModifiedBy}" "":) by %winopt%[[~{=$LastModifiedBy}]]%%(:if2end:)\
(:if2 ! equal "{=$LastModifiedSummary}" "":)@@:@@ \
(:if21 le {(strlen "{=$LastModifiedSummary}")} 60:)%white-space=nowrap%(:else21:)\\
(:if21end:){=$LastModifiedSummary}%%
(:if2end:)(:comment Summary wrapping better if Cookbook.ConditionalExtensions is installed.:)
(:div4end:)
(:div44end:)
(:if44end:)
(:div5end:)
(:div5 style="clear:both; margin-bottom:8px; " :)
(:div5end:)
(:template last {=$Group}:)

(:if [ enabled Toggle_feat_tags && ( ! equal {$$tog} 0 ) ] :)
>>rfloat<<''(:toggle hidetags=NTIPgtbl label="[hide all]" tthide="Hide all" :)''
>><<
(:ifend:)
(:div2end:)
(:if2 equal {$$totals} 1:)
->%winopt%[[{=$Group}/]] group contains (:if equal {$$GroupPageCount} 1 :)one page(:else:){$$GroupPageCount} pages(:ifend:).(:if2end:)
(:template last:)
(:if2 equal {$$totals} 1:)

!!!(:if equal {$$PageCount} 1 :)One page(:else:){$$PageCount} pages(:ifend:) in (:if equal {$$GroupCount} 1 :)one group(:else:){$$GroupCount} groups(:ifend:).(:if2end:)
(:if ! equal {$$credit} 0:)
[@


@]
[-The actual brains for this page are in the %winopt%[[ {$FullName}#tmplNameTitleIndent | #NameTitleIndent template ]]-](:ifend:)
[[#NameTitleIndentend]]
(:if10end:)

Example:

(:if enabled Toggle_feat_tags:)
(:div2:) %apply=div rframe tog_hide_nojs font-size:smaller noprint bgcolor=#e0e0ff%
(:div3 class=hover_uline:)
(:toggle show show=More hide=Less ttshow="More verbose" tthide="Less verbose" ".NTIFilevbose" nojs=1:) verbose page info\\
(:toggle showtags=NTIPgtbl label="Show" ttshow="Show all page lists" nojs=1:) / \
(:toggle hidetags=NTIPgtbl label="Hide" tthide="Hide all page lists" nojs=1:) all page lists&nbsp;
(:div3end:)
(:div2end:)(:ifend:)
(:pagelist name=b* fmt=#NameTitleIndent count=10 newwin=1 lastmod=1 tog=ex4 set=1 credit=1:)

verbose page info
/ all page lists 

Pages in group APCU (<=== you probably want "meeting notes" to the left.):
   Batteries:  
Battery Discussion
   BrowserTopics:  
Browser Topics
Last mod Tue 2010-12-21 22:56 CST by Ward Christensen: add Ward's flash block
APCU group contains 2 pages.
Pages in group ChuckG (Chuck Goldstein's Wiki Group):
   BriaTV:  
Bria Westmont TV Channels
Last mod Sat 2015-09-05 14:51 CDT by ChuckG: Add icon for WCIU.
ChuckG group contains one page.
Pages in group PmWiki (Pm Wiki):
Backup and Restore: background information and some basic backup and restore procedures
   BasicEditing:  
Basic PmWiki editing rules: PmWiki's basic edit syntax
   BasicVariables:  
Basic Variables: core variables
   Blocklist:  
Blocklist: Blocking IP addresses, phrases, and expressions to counteract spam and vandalism.
Last mod Sat 2013-06-08 02:14 CDT by Petko?: update MoinMoin url
PmWiki group contains 4 pages.

7 pages in 3 groups.



The actual brains for this page are in the #NameTitleIndent template

fmt=#NameTitleTableTog

Display group names with toggles to display each group's page names and titles in table form. (Obsolete)

(:if10 false:)
[[#NameTitleTableTog]]
(:template defaults order=name tog=1 set=0 credit=0:)
(:template first {=$Group}:)

!!!(:toggle hide ID-{*$Group}-{$$tog}-{=$Group} set={$$set} :) Pages in group [[{=$Group}/]] ({{=$Group}/$Titlespaced}):
(:table border=0 id="ID-{*$Group}-{$$tog}-{=$Group}" :)
(:template each:)
(:cellnr:)
(:div style="white-space:pre;":)&nbsp; &nbsp;%newwin%[[({=$Group}/){=$Name}]]: &nbsp;
(:divend:)
(:cell:)
-< {=$Titlespaced}(:if ! equal "{=$:Summary}" "" :): %font-size=90pct%''{=$:Summary}''%%(:ifend:)
(:template last {=$Group}:) 
(:tableend:)
->[[{=$Group}/]] group contains (:if equal {$$GroupPageCount} 1 :)one page(:else:){$$GroupPageCount} pages(:ifend:).
(:template last:)

!!!(:if equal {$$PageCount} 1 :)One page(:else:){$$PageCount} pages(:ifend:) in (:if equal {$$GroupCount} 1 :)one group(:else:){$$GroupCount} groups(:ifend:).
(:if ! equal {$$credit} 0:)
[@


@]
[-The actual brains for this page are in the [[ {$FullName}#tmplNameTitleTableTog | #NameTitleTableTog template ]].-](:ifend:)
[[#NameTitleTableTogend]]
(:if10end:)
Categories: Pagelist


Edit - History - Print - Recent Changes - Search
Page last modified on January 12, 2015, at 01:03 AM CST