FANDOM


All wiki news

InfoboxBuilder update

By Ysbert
All blog posts by Ysbert


Some people may remember that I announced a major update for the infoboxes on this wiki. After hours and hours of coding and testing, there was a strange line through the image, as you still can see on the page. I cancelled the complete project.

Now, four months later, I started working with InfoboxBuilder. With this relatively new extention, my project could finally be established. I created the CSS for the new infoboxes, and they are almost the same as the previous ones. (EDIT: after some testing, the appearance of the boxes has further been simplified.) Except these infoboxes are way faster than the wikitext/ParserFunctions-based ones.

Plus, the image added to the box will automatically be resized (keeping the resolution, thus rendering in ultra HD), no matter what size you give it. This made it possible to auto-assign images to the boxes. When the weapon infobox is finished, only giving game will be enough to style the infobox and to put the right image in it.

Another application was to create automatic categories. This will likely be implemented later.

So far, {{Infobox/faction}}, {{Infobox/character}}, and {{Infobox/attachment}} are built with InfoboxBuilder. There were some image problems with {{Infobox/weapon}}, which will be hopefully fixed soon.

One more thing

If you read the thread from october, you know that I wanted to give every game its own colours. And here they are! The game argument decides which of the five styles the box will get. Visit user:ysbert/sandbox/templates to see them all.

These styles will always be easy to change with the CSS, so suggestions and comments are welcome.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.