Topic on Extension talk:CategoryTree

Split a long list into Multi-Column Lists

4
Samuel Goujon (talkcontribs)

Hi all,

Would it be possible to split a long list into multiple horizontal columns?

For example, every 50 categories, a new list is created on the right (keeping the alphabetical order)

Thanks for your help!

Cmjohannes (talkcontribs)

I would also like to know if this functionality is possible. I have a category with 300 member pages, which I would like to display on my main page. Currently, the CategoryTree extension displays one page per line. I would like to use a four or five column table to improve site aesthetics and make the list more readable.

Something like:

<table>

<tr><td>Page A</td><td>Page B</td><td>Page C</td><td>Page D</td></tr>

<tr><td>Page E</td><td>Page F</td><td>Page G</td><td>Page H</td></tr>

</table>

Where/how could/should such display output be implemented?

5.29.23.15 (talkcontribs)

Use template:columns from wikipedia. Just put the categorytree inside the template:columns.

2001:A61:51DC:AA00:341C:D807:FF72:F043 (talkcontribs)

You could use <categorytree style="column-count:5;-moz-column-count:5;-webkit-column-count:5"> CategoryXY </categorytree>

Reply to "Split a long list into Multi-Column Lists"