On Mon, 19 Feb 2007, Patrick R. Michaud wrote:

Prefixed by "pagelist-":
   (:pagelist-options ... :)
   (:pagelist-first:)
   (:pagelist-each:)
   (:pagelist-last:)
   (:pagelist-first {=$Group}:)
   (:pagelist-last {=$Group}:)
   (:pagelist-nopages:)    or  (:pagelist-empty:)

Prefixed by "pl-":
   (:pl-options ... :)
   (:pl-first:)
   (:pl-each:)
   (:pl-last:)
   (:pl-first {=$Group}:)
   (:pl-last {=$Group}:)
   (:pl-nopages:)    or  (:pl-empty:)

Prefixed by "template-":
   (:template-options ... :)
   (:template-first:)
   (:template-each:)
   (:template-last:)
   (:template-first {=$Group}:)
   (:template-last {=$Group}:)
   (:template-nopages:)    or  (:template-empty:)

I was actually going to suggest 'template-'. It's one of my favorites. Here are some more alternatives:

Prefixed by "list-":
    (:list-options ... :)
    (:list-first:)
    (:list-each:)
    (:list-last:)
    (:list-first {=$Group}:)
    (:list-last {=$Group}:)
    (:list-nopages:)    or  (:pl-empty:)

Prefixed by "item-":
    (:item-options ... :)
    (:item-first:)
    (:item-each:)
    (:item-last:)
    (:item-first {=$Group}:)
    (:item-last {=$Group}:)
    (:item-nopages:)    or  (:pl-empty:)

Or perhaps even prefixed by "listitem-":
    (:listitem-options ... :)
    (:listitem-first:)
    (:listitem-each:)
    (:listitem-last:)
    (:listitem-first {=$Group}:)
    (:listitem-last {=$Group}:)
    (:listitem-nopages:)    or  (:pl-empty:)


Finally, how about something along the following lines:

        (:template:)
        (:template first:)
        very beginning of the report
        (:template each:)
        each record in the report
        (:template last:)
        very end of the report
        (:template end:)

I think this is my favourite. (The exact details need polishing, and I haven't followed this thread close enough to say exactly what the different parts mean).

Cheers
/Christian

--
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to