Community Central
Community Central
Forums: Index Support Requests Infobox Table Design
Fandom's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
Archive
Note: This topic has been unedited for 4219 days. It is considered archived - the discussion is over. Information in this thread may be out of date. Do not add to unless it really needs a response.


Hey everyone,

For a table like this: [1], is there a way to round the corners, and make it so the table defaults to a width of 100 pixels (or so)?

I'm looking for a way to make this default at 100px width so it's not a smooshed/small template in the corner.

Imdill3 (talk) 20:08, September 28, 2012 (UTC)

Oh for example, see here, if a page had a small title like "bear" the template would be super small. — Imdill3 (talk) 20:10, September 28, 2012 (UTC)
If you add style="border:1px; border-radius:5px" when you start the table, it should create the rounded corners. width="100px" should fix the width:
Example:
{|style="border:1px solid red; border-radius:5px" width="100px"
!AAA
!BBB
!CCC
|-
|aaa
|bbb
|ccc
|-
|aAa
|bBb
|cCc
|}

gives:

AAA BBB CCC
aaa bbb ccc
aAa bBb cCc

Of course, you can change the width to whatever you want, add colours, thicker borders, etc. by adjusting these parameters. MTracey1 PSN/XBL: Mackem1985 {{SUBST:MTracey1Sig}} 20:39, September 28, 2012 (UTC)

It'd be better if you also put width within style: style="border:1px solid red; border-radius:5px; width: 100px;" to avoid deprecated code. TK-999 (talk) 21:00, September 28, 2012 (UTC)
It still isn't changing anything, do you think it's the wiki's {{Infobox/Table}} code that's screwing this up? 67.220.5.167 21:21, September 28, 2012 (UTC)

(Reset indent) It may have to do with the class property of the infobox. various style parameters don't appear to work with wikitables or infoboxes. I'll take a look at it. MTracey1 PSN/XBL: Mackem1985 {{SUBST:MTracey1Sig}} 21:31, September 28, 2012 (UTC)

Are you trying to add the style tags to an infobox or to the actual Infobox template. You might need to edit the actual template itself to get the desired effect. MTracey1 PSN/XBL: Mackem1985 {{SUBST:MTracey1Sig}} 21:34, September 28, 2012 (UTC)

I tryed with the infobox, ill try with the template next. — Imdill3 (talk) 22:27, September 28, 2012 (UTC)
If you gonna try on the infobox template, here you can check the one I have already configured. Also, you can add this templates to your wiki in order to ease things: Roundy, Roundy Right, Roundy Left, Roundy Top, Roundy Bottom, Roundy Top Right, Roundy Top Left, Roundy Bottom Right, and Roundy Bottom Left  AW10  Talk  Contribs  E-Mail  23:01,9/28/2012 
Thank you very much. Cheers guys. --67.220.5.167 23:56, September 28, 2012 (UTC)