Macros that display lists of pages and news items format their lists in all kinds of different ways: {children} and {pageTree} are unadorned lists, {recently-updated} comes with an underlined heading, and {blog-posts} comes in a table with a heading. When trying to integrate these lists into a nicely laid out page, it ends up a hodgepodge.
It would be great to be able to ask for a set of pages (e.g. children, recent updates, recent news, etc) and specify the desired list style, possibly including some variations on the number and kinds of columns to show. At a minimum, I'd like to get any page list as an unadorned list so that I can put it in any kind of table, section, under a heading, etc.
For example:
{children:list-style=plain} – displays an unadorned list
{children:list-style=table} – displays a table
{children:list-style=heard} – displays list under a header bar of some sort (like {recently-updated} does)
Harry

Comments (3)
Aug 02, 2006
David Peterson [CustomWare] says:
I'll second this request. Might be worth creating a JIRA request for it - post i...I'll second this request. Might be worth creating a JIRA request for it - post it here and I'll vote for it.
Aug 02, 2006
Harry Saddler says:
Ok, I've posted it: http://jira.atlassian.com/browse/CONF-6711.Ok, I've posted it: http://jira.atlassian.com/browse/CONF-6711.
Aug 03, 2006
Andy Armstrong says:
I completely agree that the macros need consistency. Another macro that is diffe...I completely agree that the macros need consistency. Another macro that is different again is contentbylabel, plus there's my Metadata Plugin which is a little different again. We started talking about unification of macro keywords here:
Unified Page Searching Tags
but mostly focused upon search parameters. I'll link the pages together.
BTW, this page mentions that most macros would call this label 'style':
Macro Parameters Index