What's new
HTML Forums | An HTML and CSS Coding Community

Welcome to HTMLForums; home of web development discussion! Please sign in or register your free account to get involved. Once registered you will be able to connect with other members, send and receive private messages, reply to topics and create your very own. Our registration process is hassle-free and takes no time at all!

Wikimedia infobox issues


New member
Hi all!

I currently co-run a Miraheze mediawiki wiki site, but I'm having some trouble with infobox layouts. At present all images and information within infoboxes across the wiki are aligning to the left, when they should be centred. The infoboxes also don't seem to recognise width limits, as text runs over and expands the box to fit. The issue started occurring after I imported some templates from Wikipedia, but after deleting and then reimporting the templates, the issue is persisting. I can't understand why. It may well be an issue with the Lua module:infobox, but I'm unsure.

For reference, this the template on the site. I know this a html forum, but here is the Lua module as well, just in case the issue isn't related to the html.

Any advice or help working out what the problem is would be greatly appreciated. Many thanks.