Последние изменения - Поиск:

Разделы

PmWiki

ред.

PageListDefaultTemplates

This page demonstrates the appearance of the default pagelist templates that are distributed on the Site.PageListTemplates page.

See also: Cookbook:PagelistTemplateSamples

fmt=#default

The default template for pagelists when fmt= isn't specified.

(:pagelist group={$Group} fmt=#default
count=7:)

fmt=#bygroup

Display pages by group/name.

(:pagelist group={$Group} fmt=#bygroup
count=7:)

fmt=#simple

A simple bullet list of page names.

(:pagelist group={$Group} fmt=#simple
count=5:)

fmt=#title

A simple bullet list of page titles.

(:pagelist group={$Group} fmt=#title
count=5:)

fmt=#titlespaced

Outputs wiki page titles with spaces between the words in the title.

(:pagelist group={$Group}
fmt=#titlespaced count=5:)

fmt=#group

A bullet list of groups.

(:pagelist fmt=#group count=5:)

fmt=#include

Concatenate the text of pages in the list. (Note, this can be an expensive operation!)

Not demonstrated.

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!)

(:pagelist name=$[PmWiki.AccessKeys]
fmt=#includefaq:)

AccessKeys

How can I change the keyboard shortcuts for editing and saving a page?

See Customizing access keys.

fmt=#description

List pages and append the page's description if it exists.

(:pagelist group={$Group}
fmt=#description count=7:)

fmt=#simplename

Simple bullet list of page names, without the Group name.

(:pagelist group={$Group}
fmt=#simplename count=5:)

fmt=#simplenamespaced

Simple bullet list of spaced page names, without the Group name.

(:pagelist group={$Group}
fmt=#simplenamespaced count=5:)


This page may have a more recent version on pmwiki.org: PmWiki:PageListDefaultTemplates, and a talk page: PmWiki:PageListDefaultTemplates-Talk.

Править - История - Печать - Последние изменения - Поиск
Редакция от 28.03.2009 23:56