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.
Page list template documentation
- PmWiki.Page Lists - Searching and listing pages by multiple criteria with templated output
- PmWiki.Page List Templates - Creating page list format templates
- PmWiki.Page Variables - variables that are associated with pages
- Page Text Variables - Page variables automatically made available through natural or explicit page markup
- PmWiki.Conditional Markup - Searching and listing pages by multiple criteria with templated output
- Cookbook:Pagelist Template Samples -
fmt=#default
The default template for pagelists when fmt=
isn't specified (and note that on the PmWiki.org wiki, this template is over-ridden by the one on the Site.LocalTemplates? page).
(:if false:) [[#default]] (:template first {=$Group}:) :[[{=$Group}/]] /: (:template each:) : :[[{=$Group}/{=$Name}]] [[#defaultend]] (:ifend:) (:pagelist group={$Group} fmt=#default count=6:) |
fmt=#title
A simple bullet list of page titles.
(:if false:) [[#title]] * [[{=$FullName}|+]] [[#titleend]] (:ifend:) (:pagelist group={$Group} fmt=#title count=3:) |
fmt=#databasesearch
A simple bullet list of page titles.
(:if false:) [[#databasesearch]] * %class=mkorange%[[{=$FullName}|+]]%%([[{=$FullName}|{{=$FullName}$:TitleE}]]) [[#databasesearchend]] (:ifend:) (:pagelist group=Database fmt=#databasesearch count=3:) |
fmt=#titlemobiletop
モバイルトップページ用
(:if false:) [[#titlemobiletop]] (:table border=0 style="border-collapse:collapse; margin: 0 auto;" cellspacing=0 cellpadding=5 width=90%:) (:cellnr align=center valign=middle height=70px width=130px style="border:0px transparent;":)%width=120px%[[{=$FullName}|Img:OGP/{=$Name}_s.png]] (:cell align=left valign=middle style="border:0px transparent;":)[[{=$FullName}|+]] (:tableend:) [[#titlemobiletopend]] (:ifend:) (:pagelist group={$Group} fmt=#titlemobiletop count=3:) |
fmt=#titlebpl
#title + start=BPL
(:if false:) [[#titlebpl]] (:template first:) %right%{$$BPLnav} (:template each:) * [[{=$FullName}|+]] (:template last:) %center% {$$BPLresults} {$$BPLfrom} - {$$BPLto} {$$BPLof} {$$BPLmax} (:if2 !equal {$$BPLlast} 1:){$$BPLprevlink} {$$BPLnumlinks} {$$BPLnextlink}(:if2end:) [[#titlebplend]] (:ifend:) (:pagelist group={$Group} fmt=#titlebpl start=BPL count=5:) |
fmt=#alltitles
全タイトル一覧
(:if false:) [[#alltitles]] (:template first:) %center%{$$BPLnav} (:template each:) (:if2 equal {<$Group}:) (:table class=forum width="95%" align=center border=0 cellpadding=5 cellspacing=1 bgcolor=#990000:) (:cellnr colspan=2 align=center bgcolor=#990000:)%color=#ff6%'+'''全タイトル一覧'''+' (:cellnr align=center valign=middle width=50% style="background:#ffcc66;padding-left:5px" :)%color=#900%'''邦題''' (:cell align=center valign=middle width=50% style="background:#ffcc66;padding-left:5px" :)%color=#900%'''英題'''(:if2end:) (:cellnr style="background:#f5deb3;padding-left:5px" :)[[{=$FullName}|+]] (:cell style="background:#ffffcc;padding-left:5px" :)[[{=$FullName}|{{=$FullName}$:TitleE}]] (:if2 equal {>$Group}:) (:tableend:)(:if2end:) (:template last:) %center%{$$BPLresults} {$$BPLfrom} - {$$BPLto} {$$BPLof} {$$BPLmax} (:if2 !equal {$$BPLlast} 1:)%center%{$$BPLprevlink} {$$BPLnumlinks} {$$BPLnextlink}(:if2end:) [[#alltitlesend]] (:ifend:) (:pagelist fmt=#alltitles group=Database start=BPL count=5:) | 382 Results – Page 61 of 77 – Go to page Previous 1 ... 58 59 60 61 62 63 64 ... 77 Next
Results 301 - 305 of 382 Previous 1 ... 58 59 60 61 62 63 64 ... 77 Next |
fmt=#alltitlesperauthor
執筆タイトル英語ページ一覧(新着順)
(:if false:) [[#alltitlesperauthor]] (:template first:) %center%{$$BPLnav} (:template each:) (:if2 equal {<$Group}:) (:table class=forum width="95%" align=center border=0 cellpadding=5 cellspacing=1 bgcolor=#990000:) (:cellnr colspan=2 align=center bgcolor=#990000:)%color=#ff6%'+'''執筆タイトル英語ページ一覧(新着順)'''+' (:cellnr align=center valign=middle width=50% style="background:#ffcc66;padding-left:5px" :)%color=#900%'''邦題''' (:cell align=center valign=middle width=50% style="background:#ffcc66;padding-left:5px" :)%color=#900%'''英題'''(:if2end:) (:cellnr style="background:#f5deb3;padding-left:5px" :)[[{=$FullName}|+]] (:cell style="background:#ffffcc;padding-left:5px" :)[[{=$FullName}|{{=$FullName}$:TitleE}]] (:if2 equal {>$Group}:) (:tableend:)(:if2end:) (:template last:) %center%{$$BPLresults} {$$BPLfrom} - {$$BPLto} {$$BPLof} {$$BPLmax} (:if2 !equal {$$BPLlast} 1:)%center%{$$BPLprevlink} {$$BPLnumlinks} {$$BPLnextlink}(:if2end:) [[#alltitlesperauthorend]] (:ifend:) (:pagelist fmt=#alltitlesperauthor $:OriginalAuthor=福光潤 group=Database start=BPL order=-ctime count=5:) | 224 Results – Page 45 of 45 – Go to page Previous 1 ... 42 43 44 45
|
fmt=#titleindexenglish
英題索引
(:if false:) [[#titleindexenglish]] (:template first:) (:template each:) * %class=mkorange%'''[[{=$FullName}|{{=$FullName}$:TitleE}]]'''%%'-([[{=$FullName}#comment | {{=$FullName}$PostCount} comment(s)]])-' (:template last:) ---- %center%{$$BPLresults} {$$BPLfrom} - {$$BPLto} {$$BPLof} {$$BPLmax} (:if2 !equal {$$BPLlast} 1:)%center%{$$BPLprevlink} {$$BPLnumlinks} {$$BPLnextlink}(:if2end:) [[#titleindexenglishend]] (:ifend:) (:pagelist fmt=#titleindexenglish group=Database name=a*,-Database,-IndexJa*,-IndexEn*,-Search,-GroupFooter,-GroupHeader,-RecentChanges,-AllTitles,-PageTemplate,-GroupAttributes order=title start=BPL count=20:) |
Results 1 - 19 of 19 |
fmt=#titleindexjapanese
邦題索引
(:if false:) [[#titleindexjapanese]] (:template first:) (:template each:) * %class=mkorange%'''[[{=$FullName}|+]]'''%%'-([[{=$FullName}#comment | コメント{{=$FullName}$PostCount}件]])-' (:template last:) ---- %center%{$$BPLresults} {$$BPLfrom} - {$$BPLto} {$$BPLof} {$$BPLmax} (:if2 !equal {$$BPLlast} 1:)%center%{$$BPLprevlink} {$$BPLnumlinks} {$$BPLnextlink}(:if2end:) [[#titleindexjapaneseend]] (:ifend:) (:pagelist fmt=#titleindexjapanese group=Database $:Furigana=あ* order=$:Furigana start=BPL count=10:) |
fmt=#tagtitlespbl
Tag用「関連のあるタイトル英語ページ」
(:if false:) [[#tagtitlespbl]] (:template each:) (:table class=forum width="95%" align=center border=0 cellpadding=5 cellspacing=0:) (:cellnr width="240px" align=center valign=middle style="border:1px solid #ff9900; border-right:transparent; background:#fffff0;":)[[{=$FullName}|Img:OGP/{=$Name}_s.png]] (:cell align=left valign=middle style="border:1px solid #ff9900; border-left:transparent; background:#fffff0;":)[[{=$FullName}|{{=$FullName}$Description}]] (:tableend:) (:template last:) %center%{$$BPLresults} {$$BPLfrom} - {$$BPLto} {$$BPLof} {$$BPLmax} (:if2 !equal {$$BPLlast} 1:)%center%{$$BPLprevlink} {$$BPLnumlinks} {$$BPLnextlink}(:if2end:) [[#tagtitlespblend]] (:ifend:) (:pagelist group=Database fmt=#tagtitlespbl start=BPL count=5:) |
Results 301 - 305 of 382 Previous 1 ... 58 59 60 61 62 63 64 ... 77 Next |
fmt=#tagbpl
Tag用「関連のあるキーワード」
(:if false:) [[#tagbpl]] (:template each:) * [[{=$FullName}|+]] (:template last:) %center% {$$BPLresults} {$$BPLfrom} - {$$BPLto} {$$BPLof} {$$BPLmax} (:if2 !equal {$$BPLlast} 1:){$$BPLprevlink} {$$BPLnumlinks} {$$BPLnextlink}(:if2end:) [[#tagbplend]] (:ifend:) (:pagelist group=Tag fmt=#tagbpl start=BPL count=5:) |
fmt=#bygroup
Display pages by group/name.
(:if false:) [[#bygroup]] (:template first {=$Group}:) :[[{=$Group}/]] /: (:template each:) : :[[{=$Group}/{=$Name}]] [[#bygroupend]] (:ifend:) (:pagelist group={$Group} fmt=#bygroup count=6:) |
fmt=#simple
A simple bullet list of page names.
(:if false:) [[#simple]] * [[{=$FullName}]] [[#simpleend]] (:ifend:) (:pagelist group={$Group} fmt=#simple count=5:) |
fmt=#titlespaced
Outputs wiki page titles with spaces between the words in the title.
(:if false:) [[#titlespaced]] (:template defaults order=title:) * [[{=$FullName}|{=$Titlespaced}]] [[#titlespacedend]] (:ifend:) (:pagelist group={$Group} fmt=#titlespaced count=5:) |
fmt=#group
A bullet list of groups.
[[#group]] (:template first {=$Group}:) * [[{=$Group}/]] [[#groupend]]
fmt=#include
Concatenate the text of pages in the list. (Note, this can be an expensive operation!)
[[#include]] (:include {=$FullName} self=0:) [[#includeend]]
fmt=#includefaq
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]]
fmt=#description
List pages and append the page's description if it exists. Creates dash by all names, but adding a nested loop to get rid of it causes markup problems (nested loops are not allowed).
(:if false:) [[#description]] * [[{=$FullName}|+]] - {=$Description} [[#descriptionend]] (:ifend:) (:pagelist group={$Group} fmt=#description count=7:) |
fmt=#simplename
Simple bullet list of page names, without the Group name.
(:if false:) [[#simplename]] * [[({=$Group}/){=$Name}]] [[#simplenameend]] (:ifend:) (:pagelist group={$Group} fmt=#simplename count=5:) |
fmt=#simplenamespaced
Simple bullet list of spaced page names, without the Group name.
(:if false:) [[#simplenamespaced]] * [[({=$Group}/){=$Namespaced}]] [[#simplenamespacedend]] (:ifend:) (:pagelist group={$Group} fmt=#simplenamespaced count=5:) |
fmt=#titlesummary
A simple bullet list of page title and summary.
>>comment<< [[#titlesummary]] * [[{=$FullName} | {=$Title}]] [-{=$:Summary}-] [[#titlesummaryend]] >>font-size:smaller<< (:pagelist group=Site fmt=#titlesummary list=normal count=8:) |
fmt=#count
Number of pages in pagelist
(:if false:) [[#count]] (:template defaults wrap=inline list=normal :) (:template last:) {$$PageCount} [[#countend]] (:ifend:) Number of pages in the {$Group} group: (:pagelist group={$Group} fmt=#count :). Number of pages in the {$Group} group: (:pagelist group={$Group} fmt=count :). There are (:pagelist group=PmWiki fmt=#count wrap=html :) pages in the PmWiki group. | Number of pages in the Site group: . Number of pages in the Site group: 32. There are pages in the PmWiki group. |