User talk:Renegade54

From Wikipedia, the free encyclopedia

[edit] Babel-X

Hi Conrad. I'm attempting to implement your nice Babel-X template here on Memory Alpha, and I'm not having any luck in getting it to work. For some reason, the HTML <tr> and <td> tags don't seem to be working (but if I recall correctly, they did work before the latest MediaWiki upgrade). As far as I can tell, both MA and Wikipedia are running the same software versions, so I'm not sure where to look. I also noticed that the title line isn't centering properly, either. Thanks in advance for any help you might be able to provide! -- Renegade54 15:54, 13 April 2006 (UTC)

Hi. There were three problems. First the '{{#if:' format relies on new features that were just implemented for Wikipedia yesterday. I confirmed that Memory Alpha isn't using those and then reverted back to the '{{{if|' format. The centering difference was due to CSS differences between the two sites - basically, Wikipedia has predefined formatting at MediaWiki:Common.css and Memory Alpha doesn't have exactly the same pre-defined formats. I put in the centering manually to get around this. Finally the HTML tags were behaving oddly. I have no idea what was causing this... the first few sets were displaying as text, but then they were kicking in and evaluating correctly. Normal wiki table markup (i.e. |-, |, !, et cetera) can't be used because the '|' character confuses the '{{{if|' logic. To get around that I created a 'Template:!' which just inserts a '|' character. This allows wiki-markup to be mimicked and doesn't interfere with the other logic. I wrote up a version using that methodology and copied it out for up to 20 babel boxes. Can be extended if need be. --CBDunkerson 16:59, 13 April 2006 (UTC)