Active Image

Daily Inspirational Quote:

"All our dreams can come true,
if we have the courage
to pursue them."

Walt Disney
1901 - 1966,
Cartoon Artist and Filmmaker

Active Image
261 Oakwood Ave.
York, Ontario
M6E 2V3
Tel: (647)883-5436
cathy [snail] activeimage [period] ca -> mailto:cathy [snail] activeimage [period] ca

Printer-Friendly Version 

:: Home :: Site? :: Page List Templates


This page contains "templates" for PmWiki's (:pagelist:) directive.

Brief Syntax Explanation:

See also: Pagelist Explained, Page Variables, Conditional Markup, 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


fmt=#default

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

[[#default]]
(:if ! equal {=$Group} {<$Group}:)

:[[{=$Group}]] /:
(:if:)
: :[[{=$Group}/{=$Name}]]
[[#defaultend]]

fmt=#bygroup

Display pages by group/name.

[[#bygroup]]
(:if ! equal {=$Group} {<$Group}:)

:[[{=$Group}]] /:
(:if:)
: :[[{=$Group}/{=$Name}]]
[[#bygroupend]]

fmt=#simple

A simple bullet list of page names.

[[#simple]]
* [[{=$FullName}]]
[[#simpleend]]

fmt=#title

A simple bullet list of page titles. Use order=title to have them sorted by title (the default sort is by name).

[[#title]]
* [[{=$FullName}|+]]
[[#titleend]]

fmt=#group

A bullet list of groups.

[[#group]]
(:if ! equal {=$Group} {<$Group}:)
* [[{=$Group}]]
[[#groupend]]

fmt=#archive

List pagename (date) and title of newsletters

[[#archive]](:if equal {<$Group}:)
>>blogarchive<<(:if:)
* [[{=$Group}.{=$Namespaced}|'''{=$Namespaced}''']]: ''{=$Title}''
(:if equal {>$Group}:)
>><<(:if:)
[[#archive]]

fmt=#articleteasers

[[#articleteasers]]
[[{=$Group}/{=$Name}|'''[+{=$Groupspaced}: {=$Title}+]''']]
%define=leftborder border-left="2px solid #c84f00" margin-left="2px" padding="0 0 0 10px"%
>>leftborder<<
(:include {=$FullName} lines=4:)

[-[[{=$FullName}|Read More]]-]

(:if ! equal {>$Group}:)
>><<

(:if:) 
[[#articleteasersend]]

fmt=#include

[[#include]]
(:if auth edit:)
%rfloat%[[{=$FullName}?action=edit|[-edit-]]](:if:)
!!![[{=$FullName}|[+{=$Title}+]]]
(:include {=$FullName}:)
----
(:if equal {>$Group}:)
(:title {$Title}:)(:if:)
[[#includeend]]

fmt=#blogtitles

[[#blogtitles]](:if equal {<$Group}:)
>>blogtitles<<(:if:)
* [[{=$Namespaced}]]
(:if equal {>$Group}:)
>><<(:if:)
[[#blogtitlesend]]

fmt=#headerinclude

[[#headerinclude]]
(:include {=$FullName} para=1:)
!!!!Full article [[{=$FullName}|[+{=$Title}+]]]
----
(:if equal {>$Group}:)
(:title {$Title}:)(:if:)
[[#headerincludeend]]

fmt=#bloginclude

[[#bloginclude]]
(:if auth edit:)
%rfloat%[[{=$FullName}?action=edit|[-edit-]]](:if:)
!!!![[{=$FullName}|{=$BlogDate}]] - {=$BlogTitle}
(:include {=$FullName}:)

*[-[[{=$FullName}|CLICK HERE]] to read or post comments for this entry ...-]
----
(:if equal {>$Group}:)
(:title {$Title}:)(:if:)
[[#includeend]]


Privacy Policy

|

© 2006 - 2026 by Active Image - All Rights Reserved

| Site Map | RSS Web Feed |

The information contained within ActiveImage.ca is for educational purposes. It is here to help you made informed decisions about your fitness and health. It is not medical advice and is not intended to replace the advice or attention of health-care professionals. Please consult your doctor before beginning or making changes to your diet, exercise program, for diagnosis and treatment of illness and injuries, and for advice regarding medications and supplements.

In no way will Active Image or any persons associated with Active Image be held responsible for any injuries or problems that may occur due to the use of this website or the advice contained within. Active Image will not be held responsible for the conduct of any companies and websites recommended within this site.

Internet Advisor - Web design and content management systems - London / St. Thomas, Ontario
CLick to Log In