Topic on User talk:Magnus Manske

Jump to navigation Jump to search
Voll (talkcontribs)

Hi Magnus, is it possible to generate templates without table code (I mean start & end of the table)? You can see here the example with templates, where table code is unnecessary, because template already have table code inside.

Magnus Manske (talkcontribs)

So the "Monument" template there generates a new table for every entry? Because Listeria will create one row/template call for reach result.

Jura1 (talkcontribs)
Nikki (talkcontribs)

That Commons page currently hides the headers using CSS, an option to not include the headers seems like it would be useful there too.

Jura1 (talkcontribs)
Voll (talkcontribs)

Hi Magnus, you are right, the "Monument" template generates a new table for every entry, but Jura1 is correct too about the number of columns. I hope I will have real data in week or two, than I will return with questions or proposals. Thank you all for ideas.

Magnus Manske (talkcontribs)
Jura1 (talkcontribs)

A table_headerrow_template parameter could be handy as well.

Magnus Manske (talkcontribs)

How about row_wrapper_template, to get around the need of having a footer (table close) template as well? Rows would all be passed as $1, like {{wrapper|{{row}}{{row}}{{row}}}}

Jura1 (talkcontribs)

I think the source might be easier to read if the wrapper doesn't span across most of the page.

Personally I'd use something like this.

Voll (talkcontribs)

Hi Magnus, thank you so much!

Jura1 (talkcontribs)
Magnus Manske (talkcontribs)

Wow!

Jura1 (talkcontribs)
Voll (talkcontribs)

Well here is a real list, generated by bot: Example. The list looks OK in general. Surely it has technology issues - it is too hard to edit the items and create new items in these lists now, so WLM community will prefer to work with original lists, as well as simpler issues - for example I can't group monuments in the same way as it was done in original list. But it is my project issues, the bot works perfectly --Voll (talk) 19:27, 28 June 2016 (UTC)