Forum:Multi-columned Infobox

Can someone please help me make an infobox for dual/triple/quadruple tracked roller coasters on Roller Coaster Wiki. It would be having multiple columns in each row in the infobox, and keeping them aligned, and a row for the names of the tracks. I'm rubbish at wiki code, so I need help. Thanks.


 * Just to help clarify, we're trying to modify this template: Template:Infobox roller coaster. We're hoping to make it possible for two or more columns side-by-side. Thanks in advance! MontagnaMagica|Talk 16:55, September 8, 2012 (UTC)


 * Can someone help?


 * Can you show me what you'd like it to look like? I'm fairly good at making Infoboxes, and I'd be happy to help.
 * DocTrain (talk) 16:47, September 13, 2012 (UTC)


 * Like this one:
 * http://en.wikipedia.org/wiki/Dragon_Challenge
 * but with support for up to four names/columns. It would be good to have it as part of the standard template we already have, but you could have extra parameters like:


 * height1=


 * height2=


 * for each column.

It looks like it could be fairly complicated, but I'll do my best to help you with it. I'll set it up with multiple entries for "Height" and "Drop" to start.

Here are some good resources:

http://www.mediawiki.org/wiki/Help:Extension:ParserFunctionsO

http://en.wikipedia.org/wiki/Wikipedia:Conditional_tables

DocTrain (talk) 19:38, September 13, 2012 (UTC)

Thanks for the helpful links, I've put something together that works how I want it, but there is one glitch to do with the length/duration parameters. You can see it at here. Can you take a look at it? Thanks again


 * That's a really complicated template you've got there! It looks like the problem was just a minor one though, you had 1 little missing pipe character | that was causing your Multicol-end template to not be placed on the page (and so all the page content ended up inside the container since the table). I made an edit here, was that able to fix things?