Community Central


Back to page

114,678pages on
this wiki

Ugly and inadequate documentation Edit

The concept for info box tags seems like a start, but boy are they ugly. There definitely needs to be much more styling flexibility. Also, the documentation for these tags is woefully, horribly inadequate. There is no way I'm going to dredge through comment replies to a blog post to figure out how this works. -- Fandyllic (talk · contr) 21 Jul 2015 6:57 PM Pacific

In what way are they ugly? What kind of things do you think are missing from the documentation? This is not exactly a short help page :) What kind of styling flexibility is missing? You can set a custom class on infoboxes (and even a custom class based on a variable), which should allow a fair amount of styling targeting - described further in the 'Custom theming' section. Kirkburn  talk  contr  @Wikia  16:22, July 22, 2015 (UTC)
Contributors aren't used to adding complicated tags to a document, especially some that depend on each other and have a clear hierarchy. The biggest limitation of this help page is that it just jumps into talking about tags,css and xml and so forth assuming that a wikian would actually know what it all means. There isn't any clear example about how exactly the styles are applied to css page to make the potbox change appearance.
Although the portboxbuilder will likely change impressions once it is added. Advanced users will still want to have an idea about how it all works.
As far as the ugliness is concerned, as I noted in the potbox discussion thread, the problem is that the default theme is just too bland. A person with an "amazing" styling on an original infobox will simply be disappointed by an infobox that just looks plain, especially if they don't understand css well enough. That's why I suggested that the default one should look a bit better so users aren't immediately disappointed, or at least it should be easy to change to another "cute" one without fighting with css and stylesheets and stuff.
The ugly response that Wikia Staff are getting is just a result of user ignorance (relating to css styling).
Dessamator (talk) 19:28, July 23, 2015 (UTC)

Collapsibility Edit

Can we add a basic collapsibility function with CSS class mw-collapsible? FishTank (wall/email) 03:47, July 30, 2015 (UTC)

I second this motion.  Would love to make certain groups collapsible. 'ᴥ' Zergrinch 02:17, September 2, 2015 (UTC)

Multiple classes? Edit

Is it possible to have two or more classes on the infobox? Ex:

<infobox layout="stacked" theme="class_number_one class_number_two">

I would like to have a master theme for all infoboxes that are then modified by a second theme. I realize I can modify the core infobox css but I don't want all the infoboxes to look like the "master" theme. So you would have vanilla, master and then secondary themes.

--FireDart (talk) 04:16, July 31, 2015 (UTC)

I'm not sure I understand the two levels you want - but there have been tweaks to how styling works since you asked this question (see Help:PortableInfoboxes/CSS. If you still desire this, let us know. Kirkburn  talk  contr  @Wikia  12:26, September 3, 2015 (UTC)

How do you revert this back into the classic infobox. and i cant make any empty info invisible - Spirits of nature (talk) 02:17, August 22, 2015 (UTC)

Why would you want to revert? Empty info being invisible is one of the core features of portable infoboxes. Kirkburn  talk  contr  @Wikia  12:26, September 3, 2015 (UTC)

This page has been made technically useful Edit

I hope you weren't thinking of copying this page over the previous one, because it seemed like a really poor fork of Help:Infoboxes with minimal information. I have not touched the coding parts but I have added a lot of useful information for the coding-inclined users who actually maintain these templates and want to make sure they still work; but have no idea how this relates to the current state of affairs. That is now what the current intro describes. Apologies in advance if it inconveniences you (not really) – but it seems like the decision to spread this around the community has not been prepared for very well. Techhead7890Talk Contribs 06:28, September 2, 2015 (UTC)

I made some more tweaks based on your edits. This page will very likely go through some more revisions before it replaces Help:Infoboxes, especially to integrate any info it's skipping over. Kirkburn  talk  contr  @Wikia  12:23, September 3, 2015 (UTC)


I honneslty have no clue what's happening right now.

I'm trying to get this page to have an info box. I've copy/pasted all the coding crap in and filled it in with my own stuff, but nothing's happening. I can only get the title to appear.

There should just be an option to make an infobox and to edit all the details and such without having to go into a source code for it.

Cool2001 (talk) 10:50, September 3, 2015 (UTC)cool2001

A template is made up of two parts: the template itself, and then how it is used on an article. You've only dealt with the second part. This page describes in detail how to do the first part: you need to create a new character infobox for your characters, using the new code.
The reason you saw anything appear on your article is because Template:Infobox already exists, using the older style of infobox code - but it is not appropriate for your character.
I hope this helps! Kirkburn  talk  contr  @Wikia  12:22, September 3, 2015 (UTC)

Migrate this infoboxEdit

Is there another, more elegant way to get rid of the "Migrate this infobox" message than this:

 <!--Suppress the annoying "Migrate this infobox" message-->

Documentalist (talk) 09:13, October 7, 2015 (UTC)

You should be able to click the 'This is not an infobox' link at the bottom of the module. Is this not working for you? Kirkburn  talk  contr  @Wikia  16:08, October 15, 2015 (UTC)
This helps only once. Every next edit, even a null-edit, makes the message reappear. I miss the 'This is not an infobox and don't ask again' link.Documentalist (talk) 08:07, October 18, 2015 (UTC)
Yeah, it should not be coming back like that. I'll make sure it's the team's radar to fix. Kirkburn  talk  contr  @Wikia  20:17, October 19, 2015 (UTC)

The magic behind Edit

Could somebody tell me the origin of these infoboxes? Is it extension, MW update, MW fork… what? Трамвай Ядерный (talk) 13:39, October 31, 2015 (UTC)

It's a MediaWiki extension.
骑士盔甲 13:48, October 31, 2015 (UTC)
And one specifically written for Wikia, by Wikia. You won't find it elsewhere. Kirkburn  talk  contr  @Wikia  21:57, November 2, 2015 (UTC)
I already linked you to the code on Russian Help talk page. Wild @Wikia 22:05, November 2, 2015 (UTC)

Parser functionsEdit

Can I use the if function? XP Mai (talk) 10:42, November 17, 2015 (UTC)

Yup! See Help:Infoboxes#Parser functions. Kirkburn  talk  contr  @Wikia  15:07, November 17, 2015 (UTC)

How to control image size?Edit

This is the syntax for old infobox:

{{#if: {{{image|}}} |
       {{!}} class="wikia-infobox-image" colspan="2" {{!}} [[File:{{{image}}}|{{{imagewidth|210}}}px|{{{imagecaption|}}}]]
       | }}

What about the new one?

Tried this but doesn't work:

<image source="image" width="210px"/>

XP Mai (talk) 11:37, November 20, 2015 (UTC)

Portable infoboxes do not include a specific image width option at the moment, as it's designed to scale images for you. For what kind of reasons would you need this option? Kirkburn  talk  contr  @Wikia  12:55, November 20, 2015 (UTC)
What? Hey! This is my template: Imagine if flag of every nation are of different size, how disorganised would it be? Some big, some small. I NEED FIXED SIZE! I love the new infobox syntax, but I NEED FLEXIBILITY! XP Mai (talk) 13:05, November 20, 2015 (UTC)
That's why they scale to fit the width of the infobox - to be consistent (width-wise). Is your concern about the height being different between flags as a result? Otherwise, I'm not quite sure of the visual issue. Kirkburn  talk  contr  @Wikia  16:22, November 20, 2015 (UTC)
Yeah, my concern is height difference too... XP Mai (talk) 17:49, November 20, 2015 (UTC)
Hrm, that's an interesting concern, and one that we don't really have a solution for at the moment. That said - I do personally feel that a consistent width + variable height would be less jarring than a consistent height + variable width, since the width is what 'fits' it into the infobox space. If you have some particular examples we can look at, could you possibly send them in to Special:Contact/feedback? We can get them passed on to the development team. Thanks! Kirkburn  talk  contr  @Wikia  19:14, November 20, 2015 (UTC)
I don't like to submit feedback because I always don't get replies so I'm discouraged. Anyway, I've submitted now. XP Mai (talk) 21:45, November 20, 2015 (UTC)
It is extremely rare that we don't answer a Special:Contact ticket, so I'm not sure why you'd have that impression. I see the ticket you send in about this - we'll try and get it answered soon. Kirkburn  talk  contr  @Wikia  17:17, November 23, 2015 (UTC)

Around Wikia's network

Random Wiki