Template talk:IMOcat

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Format[edit]

<from User talk Docu>

Hey, I like the idea for this template, but I would like to work on it a bit to make it a bit less obtrusive. As it stands, it causes the images in a category to shift around if there's no material at the top of the page. Also, you may want to request for the bot to move the template to the top of the page (as I did here), rather than sitting directly on top of the IMO category line, as I'm afraid this could cause significant display issues. Cheers. Huntster (t @ c) 09:36, 3 April 2011 (UTC)[reply]

</from User talk Docu>

The layout obviously depends on the screen size, but even with empty category descriptions, the template aligns fairly well with ship name next to "Media in category "Fryderyk Chopin (ship, 1992)" (sample at Category:Fryderyk Chopin (ship, 1992)).
As it's about as much description as most categories need, I don't think it matters much that it's visible. It solves the problem we had before: IMO categories were almost invisible.
BTW, it works also on file description pages, e.g. at File:Poul Løwenørn.jpg.
It took me some time to get autotranslate to work. Thus I'm glad it already got a Finnish translation. --  Docu  at 09:55, 3 April 2011 (UTC)[reply]
Hmm, I don't know if you're using another skin, but the right-float function causes display problems on my screen with Monobook and Vector. The point is, it shouldn't align with the "Media in..." section header, but should be contained to the "lede" of the category. In any case, I'll work on it when I have a moment. Functionality certainly won't change, and the appearance will be minimally affected; it'll basically keep the category tidy. (Still your bot does need to move the template in individual categories as shown in the diff...that will handle most of the display issues.) Good functionality, though, having it work on description pages as well. I like that. (And it's making me think of building a template that would link to the FAA database for aircraft tail numbers) Huntster (t @ c) 10:13, 3 April 2011 (UTC)[reply]
You mean "it shouldn't" as in "I prefer it doesn't"? Try to make a sample for a revised version and I'll look into it.
Depending on what else there is in the description, I don't think the template works well left aligned.
It actually works better on file description pages than I had first thought ;) --  Docu  at 11:52, 3 April 2011 (UTC)[reply]
I'd prefer the display not be broken, and to do that, the template shouldn't dip below that section header. See example here. I completely agree that left-align is not an option. Huntster (t @ c) 20:04, 3 April 2011 (UTC)[reply]
I concur with Huntster that the template is currently intrusive and brakes the first row of images in the category. Also, is the File:IMOinfo.svg really needed in the template at all? The picture makes the template too visible in my opinion, and it also increases the vertical space needed. MKFI (talk) 12:25, 4 April 2011 (UTC)[reply]
The advantage of the image Heb added is that it's clickable and gets you directly to the category. The layout could probably be improved by placing the template at the beginning of the category description. This would limit the effects that can occur in some configurations. --  Docu  at 06:06, 7 April 2011 (UTC)[reply]
I reduced the size of the image. This fixed the category layout problem at least for me. MKFI (talk) 17:41, 9 April 2011 (UTC)[reply]
Ok. In the meantime, in most categories, {{IMOcat}} is placed at the beginning of the page (my bot moves it up when editing category description pages). This reduces the effect. Thus I slightly increased the size. Does this work for you? --  Docu  at 08:22, 17 April 2011 (UTC)[reply]
(Reset indent) 75px size works fine. I noticed that the template is also used on some images (eg. File:MV Blue Marlin carrying USS Cole.jpg). I do not think it is necessary to have the template in every ship image file description, just including it in the ship categories should be enough. MKFI (talk) 09:30, 17 April 2011 (UTC)[reply]