Template talk:Multicol

From Wikipedia, the free encyclopedia

[edit] Related template set

I noticed the mention of this template ({{MultiCol}}) at the Village Pump (section: New_templates_for_creating_multi-column_page_sections.). I created a similar template lacking the ability to take a table width parameter back in August 2005, that being a migration into Wikipedia of a template of the same functionality in Wiktionary that had existed since at least June 2005. See Template talk:Mid4 for more information on this related template set ({{top4}}, {{mid4}}, {{bottom}}). User:Ceyockey (talk to me) 00:06, 12 June 2006 (UTC)

This looks really bad in IE 6. Everything comes out as a collumn of single words. I'm guessing it's a rendering difference issue. Megapixie 01:14, 12 June 2006 (UTC)
That seems to have done the trick. Cheers. Megapixie 03:42, 12 June 2006 (UTC)
Unfortunately, the price I had to pay to make it render in IE6 was to remove the HTML that makes Firefox render all the columns with equal width. So now in both IE6 and Firefox, the column widths are dynamically determined by the browser. I'm desperately looking for a way to force all browsers to render a table with every column having equal width (without explicitly specifying width="25%" for a 4-column table (because my templates can't know how many columns the table will have). Any suggestions? — franl | talk14:16, 12 June 2006 (UTC)
I seem to have fixed this. Now these templates give each column an equal proportion of the available horizontal space (even with IE6). — franl | talk20:28, 12 June 2006 (UTC)

[edit] I'll check to see if this template works

If the tutorial page is still to wide, I'll let you know. There's no sense in having it be 105% --Chuck Marean 23:20, 14 October 2006 (UTC)

  • Yep, 95% solves the problem using this template as well.

http://en.wikipedia.org/w/index.php?title=User:Chuck_Marean/sandbox2&oldid=81552049 -- Chuck Marean 07:36, 15 October 2006 (UTC)

  • I'll now try this:
{{MultiCol|50%}}
 This text appears in the first column.
 {{ColBreak}}
 This text appears in the second column.
 {{ColBreak}}
 This text appears in the third column.
 {{EndMultiCol}}

-- Chuck Marean 07:43, 15 October 2006 (UTC)

  • Yes, {{MultiCol|95%}} works. It's great.

http://en.wikipedia.org/w/index.php?title=User:Chuck_Marean/sandbox2&oldid=81554020 -- Chuck Marean 07:54, 15 October 2006 (UTC)

[edit] Adding Multicol to my MediaWiki install

Fran, I'm new to wiki but am enjoying it greatly. After seeing your templates at work in the Wikipedia tutorial I've tried to add the {{Multicol}}, {{Multicol-break}}, and {{Multicol-end}} templates to my MediaWiki 1.9.3 installation.

Well it wasn't what I thought it was. More exploration is needed. I can enter the template info by hand and get multicolumns working. It's something in the way I've copied the templates I guess -USAAF 18:36, 16 March 2007 (UTC)