FANDOM

WikitableEdit

I personally don;t know how to do it... but if you know how, it would be appreciated. DMighton 16:40, 4 April 2008 (UTC)

You should be able to take the part of the WP Common.css that refers to wikitable:
/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
    margin: 1em 1em 1em 0;
    background: #f9f9f9;
    border: 1px #aaa solid;
    border-collapse: collapse;
}
 
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
    border: 1px #aaa solid;
    padding: 0.2em;
}
 
table.wikitable th,
table.prettytable th {
    background: #f2f2f2;
    text-align: center;
}
 
table.wikitable caption,
table.prettytable caption {
    margin-left: inherit;
    margin-right: inherit;
    font-weight: bold;
}
 
table.prettytable code,
table.wikitable code {
    background-color: transparent;
}
And then just copy-paste it into our Common.css. I'd do it myself, but changing the Common.css is restricted to admins since it could change every page.
DVasi 06:43, 5 April 2008 (UTC)


Sorry for stepping in the conversation, but I have had the same problem with a lot of pages of mine that I moved over from Wikipedia. I think if you change the first two lines of your table to:
{|class="wikitable" border="1" Style="color: black"
|- bgcolor="#dddddd"
I think this will give you a style similar to what you may be looking for. Just a suggestion. DustStorm 17:49, 4 April 2008 (UTC)
PS: also if you are copying an article directly form Wikipedia be sure to add the {{Wikipedia}} to the bottom.
DustStorm 17:53, 4 April 2008 (UTC)
Thanks DustStorm, something like that table style would indeed work. I'd just rather fix things so the problem goes away in the future, instead of needing to change every table.
Is it appropriate to add the {{Wikipedia}} template even though it's a m:Transwiki of a deleted article? The article and page history links it generates won't work, since the page has essentially been transfered from WP to here, not copied.
DVasi 06:43, 5 April 2008 (UTC)
I don't think you need one for material rejected from Wikipedia... but if you were to copy from a wikipedia page in large amounts... then yes. DMighton 10:19, 5 April 2008 (UTC)
I updated the common.css file to include these lines of code above, I checked around a bit to see if it screwed things up, and it seems alright; if anyone notice it messed up with some pages, please report it. --Yannzgob 10:35, 5 April 2008 (UTC)
Yes, you would still need to use that template because the information was still taken from wikipedia and to be GFDL compliant it still needs to be the recognized source unless you were the only one who edited the page. That being said, in the case of the few you moved, since you placed the history in the talk page then you are completely covered and don't need the template. -Djsasso 18:54, 7 April 2008 (UTC)
Community content is available under CC-BY-SA unless otherwise noted.