Forum:Two template problems

I have two problems: I have a navbox that does not have the outer border (please see link) and I cannot get a good internal grid in succession boxes (please see link). I'm sure it's fairly simple, so simple that the notes at wikipedia don't help one little bit. Any advice is appreciated. TR 17:48, June 11, 2010 (UTC)
 * Ok, do not use wikipedia syntax unless you are a pro because they use complicated stuff. Try finding other wikia's with navboxes because the wikipedia's navbox will not work unless you know what your doing.--Andrew Schlieffen Executive Administrator of Modern Wikia and Valkyrie Movie Wikia 20:07, June 11, 2010 (UTC)
 * You have to be careful when transferring over a template from Wikipedia (especially that template). It won't work with just a mere copy and paste. You have to watch out for internal templates, other Wikipedia functions, etc. I would advise just building one from scratch with that as a navigational aid. Max21 20:56, June 11, 2010 (UTC)


 * Well, I've already put that template to work. I'm really not excited about the prospect of starting from scratch. TR 21:14, June 11, 2010 (UTC)


 * Ah, I see the problem. You are going to have to define a class or style for the    tag. You will have to define whatever    within Monaco.css or just define it manually with the style setting. Max21  21:20, June 11, 2010 (UTC)


 * Ok, thanks! TR 22:04, June 11, 2010 (UTC)

While I'm pottering with the Navbox, what about the Succession box issue? Any reason why the borders aren't showing up within the box? TR 22:27, June 11, 2010 (UTC)


 * Here is the css from my wiki that came from wikipedia and works with the complate navbox suite that i have from wikipedia. Add it to your MediaWiki;common.css file should solve the problem.

/* default skin for navigation boxes */ table.navbox {           /* navbox container style */ border:1px solid #aaa; width:100%; margin:auto; clear:both; font-size:88%; text-align:center; padding:1px; } table.navbox + table.navbox { margin-top:-1px;       /* single pixel border between adjacent navboxes (doesn't work for IE6, but that's okay) */ } .navbox-title, .navbox-abovebelow, table.navbox th { text-align:center;     /* title and above/below styles */ padding-left:1em; padding-right:1em; } .navbox-group {          /* group style */ white-space:nowrap; text-align:right; font-weight:bold; padding-left:1em; padding-right:1em; } .navbox, .navbox-subgroup { background:#fdfdfd;    /* Background color */ } .navbox-list { border-color:#fdfdfd;  /* Must match background color */ } .navbox-title, table.navbox th { background:#ccccff;    /* Level 1 color */ } .navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title { background:#ddddff;    /* Level 2 color */ } .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { background:#e6e6ff;    /* Level 3 color */ } .navbox-even { background:#f7f7f7;    /* Even row striping */ } .navbox-odd { background:transparent; /* Odd row striping */ } @media print { .navbox { display: none; } }

Navboxes were a complete nightmare till wikia updated the media wiki parser then it solved most of the problems. (just the complex web of interrelated templates a lot of which relate to documentation examples calling other stuff).

Succession boxes will be a similar problem if from WP.

if you want to get rid of the template talks showing in the special:wanted pages list make a standard talk header message (to save typing a long message on each page) and just stick it on each talk page, as a template, or null edit them, but it easier just to ignore them in the list. - BulldozerD11 22:50, June 11, 2010 (UTC)


 * Awesome. It did do wonders for the nav box. Not so much for succession.  Any advice? TR 00:39, June 12, 2010 (UTC)