ListPages: Horizontal?

By ErichSteinboeckErichSteinboeck

Description

Have you ever wondered whether ListPages output can be shown horizontally instead of a boring (vertical) list?

Here's how it can be done!

As shown in below code sample, use a backslash (“\”) line continuation character as the last character in the [[module ListPages ...]] body, or, if you wish also as the last character in the appendLine parameter.

Code

[[module ListPages category="category" separate="false" limit="3" \
order="dateEditedDesc" prependLine="* Pages from ``category'' \"]]
• %%linked_title%% \
[[/module]]

In action

Find the three most recently edited pages of each category.

  • Pages from “template” • Snippet

Rate this solution

If you think this solution is useful — rate it up! Or dump it otherwise.

rating: +20+x
wow!
SulfrumSulfrum 1218937104|%e %b %Y, %H:%M %Z|agohover

It must be insert in the documentation page of the module!

Ent


You'll pay for all your sins. If you already paid, please disregard this message.

unfold wow! by SulfrumSulfrum, 1218937104|%e %b %Y, %H:%M %Z|agohover
Re: wow!
leigerleiger 1246800156|%e %b %Y, %H:%M %Z|agohover

I second this. Very useful.

unfold Re: wow! by leigerleiger, 1246800156|%e %b %Y, %H:%M %Z|agohover
gerdamigerdami 1254173175|%e %b %Y, %H:%M %Z|agohover

… and make a chart with this technique !

unfold by gerdamigerdami, 1254173175|%e %b %Y, %H:%M %Z|agohover
Re: Chart
ErichSteinboeckErichSteinboeck 1254229031|%e %b %Y, %H:%M %Z|agohover

Gerdami, this is an incredibly nice application of the “Horizontal” idea!

unfold Re: Chart by ErichSteinboeckErichSteinboeck, 1254229031|%e %b %Y, %H:%M %Z|agohover
Add a new comment
page_revision: 0, last_edited: 1218914351|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License