Forum:Empty Cells In Gallery Templates

Since the new gallery template, Portrait Gallery was created, we have had many edit wars because of the new extensions of that template. To be more specific, some users, but mostly MasterDeva have centered the portraits in almost all the gallery templates, even though the majority of the users, according to this talk page, don't like them. But since not more than ten people have commented there and since many people will claim that what was decided there is not the same for all the templates, I'm making this forum. And the issue is not just the empty cells. Those people have also reduced the colspan of many gallery templates, in order to reduced the empty cells. However, despite the fact that the empty cells are indeed reduced (most of the times), those changes make the templates longer and worse looking. So, I'm making this forum in order to decide whether or not we allow those parameters because I'm sick of all those edit wars. Please share your opinion. 08:45, July 18, 2013 (UTC)

Discussion
As I've started a discussion on this talk page ,.. I'll just repost the same: "IDK 'bout others but the template looks awful(>_<) and too damn big ... how 'bout we split it?..and I think some thing like this might be considered(a lot of work needs to be done on it.) "--

Let me correct some inaccuracies made by Staw-Hat Luffy above first. The comments here are mostly for that template alone and they do not speak about the EMPTYCELL parameter of the Portrait Gallery template code. That's why this forum was made. Secondly, reducing the number of columns doesn't necessarily increase the number of rows. These are some things to keep in mind for the remainder of this discussion. MasterDeva (talk) 09:00, July 18, 2013 (UTC)

As I said I made this forum because some people would claim that the discussion made in that talk page only concerns that specific template. And reducing the columns does create more rows, most of the time. Of course I don't mind using that extension here, sine it made the template look better, but that's just an exception. 09:07, July 18, 2013 (UTC)

Moving on the discussion of the topic at hand, the use of the EMPTYCELL parameter. As you probably know in the use of it is described and explained in the documentation of the template. In it the following is written: "Sometimes one needs to center a cell in a section. It can be done using empty cells:" followed by an example of its use. Notice the use of the word 'centered' in the sentence.The intended use of it is to center the portraits in a template. That much is a fact. The use of it is backed up by the documentation itself. Examples of proper of the EMPTYCELL parameter are plentiful: #1, #2, #3 #4, #5, #6, #7, #8, #9 and #10 to list a few.

With that out of the way the next thing to discuss is the number of columns a template should have. As described in the documentation there are certain limits to the Portrait Gallery code. More specifically, here it is mentioned that "Each section is limited to 100 portraits. The number of columns is 2, 3, 4, or 5, with 5 the default." which means that according to the number of portraits a template has the number of columns changes. Putting in layman's terms, the number of columns by default will always be equal to the number of portraits used, with the minimum and maximum number of columns being two and five respectively. The exception to that is when the number of portraits used is higher than five the template cannot use more than five columns. You can manually change the number of columns used (always abiding to the limitations of the template's code though) by using the cols= parameter and assigning a value from 2 to 4. The advantage of using this parameter is when you want to eliminate empty cells (in other words empty space) from a template.

For example, if you have a template that contains six portraits by default five columns will be used for it. However, since every row can have a maximum of five cells only the first row will be completely filled and from the second row only one of the five portraits will be used with the rest being wasted space. That can be fixed however by manually choosing the number of columns by adding cols=3 and forcing the template to use thee columns with each row. That way the template becomes more balanced and no extra rows or cells are created. Templates that make use of this logic are also plentiful: 1# manual vs. default, 2# manual vs. default, 3# manual vs. default, 4# manual vs. default 5# manual vs. default, 6# manual vs. default, 7# manual vs. default, 8# manual vs. default, 9# manual vs. default, 10# manual vs. default to mention some. Apparently they aren't an exception to the "rule" like Staw-Hat Luffy believes. MasterDeva (talk) 10:44, July 18, 2013 (UTC)

This, this and this are exceptions, because by reducing the columns you both eliminate all the empty cells and you don't create more rows. If you do that, nobody will revert you. But this template is both longer and still has many empty cells, so, instead of making it better, you actually make it worse. And of course you must not reduce the columns of an already long template.

About centering portraits, well they just look awful. Pictures in the center of a gallery look awful. And they look even more awful when there are spaces between the portraits. Yeah, the documentation says that sometimes we might need to center portraits. And? Somebody wrote the documentation and the user who wrote it probably likes the EMPTYCELL parameter. You have yet to give actual reasons why you want to use those extensions. You only give me opinions, which, according to you are not a real argument. 11:06, July 18, 2013 (UTC)