Forum:How do I create this kind of template?

Hello, all. I'll try to keep this simple. I'm building a wiki, and I can't understand how to make a ....navbox? A template like This. But every time I try, I get this. I followed all the guidelines outlined here, but I can't get it to work. Can somebody help me, please?

Lumanaru 06:16, December 9, 2011 (UTC)


 * Wikia's navbox is not like Wikipeida's navbox, it's much much less capable, and quite annoying, if you're used to Wikipedia's navbox.
 * How much of the capabilities of Wikipedia's navbox would you like? If you just want it to have rows and columns, just insert a table into the content area. ForestMonthZero 07:00, December 9, 2011 (UTC)


 * I'd like to have the collapsable rows and colums as can be seen in this page. That navbox is inserted into relevant pages as a simple collapsable table to help readers quickly jump between pages.
 * Lumanaru 19:05, December 9, 2011 (UTC)
 * Changed the template to be matching the COD wiki template. Changed navbox and it's working now, except for the links do not work. I feel like you can alter that yourself however. I added a warning on the page of the template, not to change that. The coding for that template is highly complex. Hope you like the outcome.


 * It would be nice if that were available from the Templates Wiki... (say as Template:Navbox2) ForestMonthZero 07:41, December 10, 2011 (UTC)


 * Holy crap, how did you do that?! What was I doing wrong? I'd like to learn from this one, so I don't have to rely on you guys all the time.
 * And thank you very much! It's exactly what I was trying to do.
 * Lumanaru 23:08, December 9, 2011 (UTC)


 * He replaced your Template:Navbox with the one from the COD wiki. (check your your navbox history at w:c:moderncombatgames:Template:Navbox) ForestMonthZero 07:42, December 10, 2011 (UTC)
 * I copied Navbox template and Tnavbar template from the COD wiki as well as changed the coding a bit on your navbox page. You are free to copy good material from other wiki's as long as you attribute the source in your page, either through a comment, direct link on the page or a real attribution with copyright clarification. All material on wikia is free to copy from as long as you provide a link to the source, unless stated otherwise (or you can understand that it was copyright material from a commercial source and your page is not about the picture/ document you copy).
 * You may be even nicer and tell the people at the wiki you copied from that you used their good material. That is not necessary but is nice for them to know and provides you with people who like you for doing so.


 * Forest: what is actually holding you back to placing that template on the template wiki with some clarification and a correct attribution? Do notice that the CoD wiki template navbox consists of a lot of difficult to comprehend code, which can best be copied but not be altered.
 * What's stopping me? Time, since I'd need to make the documentation page for it. I was just expressing a wishful thought. If I get enough time, I would maybe do it. It's not as hard to comprehend if you ignore the repetitive code blocks for each list entry (20 of them, for the 20 list/group pairs). It looks alot like wikipedia:en:Template:Navbox though... ForestMonthZero 10:49, December 11, 2011 (UTC)
 * Just go to another wiki and steal code :O try this 13:05, December 11, 2011 (UTC)
 * Just go to another wiki and steal code :O try this 13:05, December 11, 2011 (UTC)