Forum:Creating Templates for specific Wikia

I looked around, and still can't find what I am looking for. I am trying to create "Character Templates" for Gaiapedia, the wikia is a bit unorganized, and I can't seem to figure out:
 * 1) Why does the code I copied for the template, doesn't display the character table when I preview?
 * 2) How do I designate Categories, so you can see all the template on one page? I can't figure out how to phrase the question, so I hope you know what I mean.
 * 3) If I ever do figure out how to make this template work, how does one change the table color? And font color?
 * Is it only the Admins that have rights to creating template and activating codes? Cause a lot of codes on other Wikia, don't work on Gaiapedia.


 * Hey ;). Here come the answers:
 * 1) This is because Gaiapedia doesn't have the CSS on Common.css to use on the template. The code possibly contains "class = ...", so you'll have to copy the Common.css code to the Gaiapedia's code, which you can find at MediaWiki:Common.css on the Wiki.


 * 2) If you mean adding category's to a template, you can use.


 * 3) You can change the font colour by using, where #000000 is the hex colour for the font.


 * For the Wiki table colour, you can use.
 * Well; codes, no, template creation, no, template style codes, yes, because this is done in MediaWiki:Common.css.


 * Hope this helps ;). Mark (Talk) • (Contribs) 16:57, October 18, 2009 (UTC)


 * For defining the text-color and font-color, it is helpful to define the qualities at the very beginning (right after the  declaration). Mark's right that you can define font color the tag way, but it is much simpler to designate the font-color in the beginning. --DaNASCAT 17:57, October 18, 2009 (UTC)

While an admin is required to edit MediaWiki:Common.css and MediaWiki:Monaco.css etc, you can still copy over relevant CSS and debug that to your liking by editing your own personal Special:Mypage/monaco.css or Special:Mypage/common.css (case sensitive). Once you have tweaked everything to be just right you can ask an admin (or staff) to copy your CSS code to the appropriate MediaWiki message. --najevi 17:59, October 18, 2009 (UTC)

Thank you
^_^ Thank you guys, is there anything else I should know? Unicogirl 18:23, October 18, 2009 (UTC)


 * Yes. You should not use, like Tedjuh10 (Mark) said, but rather  . It might seem more complicated when you're just adding colors, but when adding other sorts of styling it is far simpler. For example,   becomes this . In addition, the use of   is technically deprecated, and the only reason it still looks as you want it is because the developers of your browser chose it to be bakwards-compatible. In short, one day,   could stop working.  22:08, October 18, 2009 (UTC)


 * Thank you, Ose. ~Joey~  ” ^Talk^ ” 06:47, November 4, 2009 (UTC)

to bump this up
I checked out the Common.css... and realized I have no idea how to get it on the Gaiapedia ^_^;;. Do I just copy the code fully, and create a new page, and paste it? -- And what should I look out for when I get Common.css on Gaiapedia? Unicogirl 00:06, November 4, 2009 (UTC)


 * If you are an administrator, when you search for MediaWiki:Common.css, it will take you to a blank page. However, you will see a header statement called "Create" Click it an you can edit the .Css file like any other wiki page. Copy and paste whatever you need in there. You'll know you are in fact editing the right page when you see a warning along the lines of "You are editing a page which is used to provide interface text for the software." Save it there, clear your cache and what is in that file will go live.