Template talk:Float begin
Used for putting a table in an image frame. Possibly renamed, updated, or obsoleted by fixing the site's css (Bug 1729) in the future.
Still needs some work on the caption length screwing things up. Should maybe be renamed table_float_end or something, since it is only for pipe tables.
Template:Float begin Template:Float end
To be superseded by a table namespace with tags like [[Table:Example table|framed|right]]
someday? :-)
See also Wikipedia talk:Extended image syntax#Multiple images in one frame
Change syntax
[edit]I love this template; it's semantically much better than what I came up with at Template:Caption top.
I suggest removing the second line, that opens a table. That way we could use this template to put a frame around anything. For example, at Fork (chess), I have a template that already makes a complete table. I want a frame with caption around it. dbenbenn | talk 01:51, 26 Mar 2005 (UTC)
- Yeah, but since the framed css adds a gray border around any image inside of two divs, I had to take the table out of the second div and put the border around the table itself. So the table header needs a
border: 1px solid #CCCCCC; margin: 0.3em;
, and I figured I'd just include it in the template. Otherwise it would look like this:
- If you can figure out a way to get the same look but make the table independent, go for it. I am not a css guru. - Omegatron 02:05, Mar 26, 2005 (UTC)
- Good point. I had forgotten that I put the border in Template:Chess position itself. Let me think about it. dbenbenn | talk 02:31, 26 Mar 2005 (UTC)
- Alright, how does Fork (chess) look on your browser? In Firefox, it is not quite perfect, but it's 99%. The borders are all generated by Template:Caption top and Template:Caption bot; the chess board is just a plain table without border. dbenbenn | talk 04:34, 26 Mar 2005 (UTC)