Forum:Infobox customization!

Link title

I'm having lots of trouble of customising my infobox. The default infobox is not going to work with my wikia.

I need some help on how to customize. I have no idea where even begin. I'm not good at all with is coding of css.

 I don't even know what CSS code is. http://cnc.wikia.com/wiki/MediaWiki:Common.css

What i want to do is make my mine infobox look like this ( http://cnc.wikia.com/wiki/GDI ) but with colors that match my wikia. http://michigangdi.wikia.com/wiki/Michigan_GDI_Wiki

I need a step by step on how to do this. I need it in layman's terms.

I'm only 3 days old on the wikia so im very new to all of this!

If you can even put pictures that would help! Any this to get me to understand all of this!

Can any one please help? Wildbillhdmax01 01:34, March 22, 2012 (UTC)Wildbill.


 * Please give a link to the infobox you want to customize. Do you know what an infobox is? -- Fandyllic (talk &middot; contr) 23 Mar 2012 4:00 PM Pacific


 * It's here. It relies on css styles and at least one additional local template. -- Wendy (talk ) 04:37, March 24, 2012 (UTC)


 * Yes the link is here.


 * Thank you wendy for showing me that. This does help. If you can just give a little tutorial or some kida of a guide. I don't know any thing about css. I very new to all of this. I'm 6 days old on this wikia.
 * Wildbillhdmax01


 * So i got the idea on how to do this with the FactionBox but it isn't showing up. Now what?
 * Wildbillhdmax01


 * How should i do this?
 * Wildbillhdmax01
 * Please I'm not asking for much. My wikia is 10 days old. I really need this help. I'm really behind on my wikia. This is a Project i took up for my alliance. I don't want to show it until it done. 1st i can't even get an answer on how to customize my infobox. I try to do a FactionBox but that wont even show up! So what do i do now? Should i contact support? I have no where left to go. I'm out of time. I need something. I'm 10 days old on wikia and i can't even get help.
 * Wildbillhdmax01


 * You haven't actually created the FactionBox template on you wiki yet as its an empty page!!
 * Note: Templates effectively come in 2 parts
 * 1 - The template code which you only see when editing in source mode & often calls other templates and may use css to style the output as you talk about above. This code usually has a load of 'named variables' or 'named parameters' which are used to pass the data to be displayed to it and are in the form within the template code. - see also help:templates
 * 2 - The inputs which go on the article page and are in the form:


 * which then has data put against each item to be displayed or to change how the template looks such as the size of an image. (the above example is part of the templates input list from the wiki you linked to)


 * Templates also often use other templates such as | internally. The FactionBox template example you linked to uses one called which contains


 * Note when copying templates from other Wikis say which wiki it was from in the edit summary (This is for two reasons: 1-Attribution, 2-So other uses in 6 months time (and you) know were to go back to the original if it stops working to get help to fix it.) The best place to ask for help about a specific template(s) is the wiki they are on - look at who has edited it (in the page history) and ask them about it. FactionBox is basically an infobox template.


 * Sorry not got time to copy it across for you - 88.104.134.191 17:34, March 28, 2012 (UTC)


 * Thanks for helping, but i'm still very confused. You talk about a FactionBox template page. What is that? What do i put on that? I need a step by step on how to do this. I need it in layman's terms. I'm now 11 days old to this wikia. I don't know any thing about this stuff.


 * I don't even know where to begin. I would like to still thank you!
 * Wildbillhdmax01


 * added you the template code from cnc wiki that was linked to above - see Template:FactionBox along with the other templates it uses. You need to add the relevant css from cnc wiki to your Wikia.css page (only admins can do that). Once its working (showing the borders and headers in colour) you can then look at changing the colours to suit your wiki and altering the box structure to suit your data.


 * The infobox template is made up of mainly 2 column rows.




 * The if checks if the item exist and if no it blanks the row
 * were is the variable (parameter) name for one  of the inputs from the article page. i.e | executive=
 * Executive branch is the row label
 * The 2nd is replaced in the infobox on the page by the data that was passed to it.


 * the rest of the code is the styling and the code to form the table cells


 * So to customise the box just rename the variables to suit and change the labels or add new rows if you need more.


 * Then you need to update the documentation so other users can copy the templates input list and paste it into articles and fill in the data.


 * BTW why are you sticking html code within your posts on here e.g I don't even know where to from your last post above here ?


 * IHBTD6-Drott 16:24, March 29, 2012 (UTC)

THANK YOU SO MUCH!!!!!!!!!!!!!!!!!!!!!!!!! IHBTD6-Drott Thank you so much!!!! JUST THANKS! I have no idea about this! I didn't do this! So.. :/

Now where do i put the css? is this the right place? [] If so its not showing up. I know. I'm so stupid! User:Wildbillhdmax01
 * Place

into this page. 17:28, March 30, 2012 (UTC)

Ok i did but nothing happen. <<See User:Wildbillhdmax01