Forum:Spaces between templates

First of all, I realize that this is not wikia support or anything, but I have some questions that directly relate to how I see MA itself doing it (Although, I suppose a couple other wikia wiki's do it to...), and that is...that when multiple templates are used together (example here, the sidebars), there does not need to be a space added or of there is, it's a single space, and there is a noticeable gap between the tables. I see that Wikimedia Commons is able to do something similar, but anyway at the Dollhouse Wiki, I am trying to have the same thing done, I ultimately see how its done with the sidebars, I think, those margin things, but how do the other tables do this? Is there a code in one of the skins or common.css somewhere that allows this? I would appreciate any sort of answers I could get, either through a direct answer from how MA is able to do this, or through some sort of link that will give me an answer, and I certainly hope that I made sense in this topic. --Terran Officer 23:01, May 14, 2010 (UTC)


 * You're right, it's a CSS thing. If you have a look at MediaWiki:Common.css, you will, for example, see that the formatting definitions for a sidebar table ("table.wiki-sidebar", right at the top) contain margin definitions like "margin-bottom:1em". Similar definitions exist for many other "table" or "div" classes.
 * The above definition means that, wherever a sidebar is added to a page, it will be followed by a "gap" of 1em height (where "em" is a unit relating to font size), even if another template call follows without a line break in the wikicode. -- Cid Highwind 10:18, May 15, 2010 (UTC)