Template talk:WPMILHIST Infobox style

From Wikipedia, the free encyclopedia

Template:WPMILHIST Infobox style is permanently protected from editing, as it is a heavily used or visible template.

Substantial changes should be proposed here, and made by administrators if the proposal is uncontroversial, or has been discussed and is supported by consensus. Use {{editprotected}} to attract the attention of an administrator in such cases.
This template does not have a documentation subpage. If the template page contains categories, interwiki links or usage notes, move these to Template:WPMILHIST Infobox style/doc. If the template does not require documentation, add |doc=no to this template ({{permprot}}).

MILHIST This non-article page is within the scope of the Military history WikiProject. If you would like to participate, please visit the project page, where you can join the project and see lists of open tasks and regional and topical task forces. To use this banner, please see the full instructions.
NA Non-article pages do not require a rating on the quality scale.

[edit] Make navbox margin conform to other navboxes

{{editprotected}} Please change the line "|nav_box_wide= margin-bottom: 0.5em;" to just be "|nav_box_wide=" (i.e., delete the style for the wide nav box). This will make these navboxes have the same formatting as all other navboxes that use the {{Navbox}} form. With this line in place, a strange gap appears that shouldn't. --CapitalR 06:57, 18 September 2007 (UTC)

Done (although, in my opinion, navboxes look much neater when they're spaced out than they do when the borders are run into each other). Kirill 10:00, 18 September 2007 (UTC)

[edit] Wide

This is an exceedingly wide infobox. I suspect that it is this wide because you guys apparently mandate 300px for all your images. In general, it is best not to overrule user thumb size preferences. If people set their thumb size preferences to smaller sizes, you should assume they have done so for a reason, and respect that.

You can defer to user thumb size preferences without putting a frame around your image by using the "frameless" argument on images. I've just implemented that on Template:Infobox Ship. [1]

That template now respects user thumb size preferences, but unfortunately it remains 315px wide even when the image is small, because of the unusually large width of this template. That means users with small thumb size preferences get presented with a small image drowning in a sea of whitespace, in an overly wide infobox. This can be fixed by reducing the width of this template to something much smaller, such as 195px. If you do so, the template will still expand in width to accommodate users with larger thumb sizes.

Hesperian 12:46, 14 January 2008 (UTC)

That's part of it, but not the entire issue. The infobox(es) using this style are meant to stack; see, for example, any article using campaignboxes (e.g. Ulm Campaign). The fixed width is necessary to ensure that this works properly; a narrower box would be stretched by a wider image, but this wouldn't stretch the other boxes below it as well, breaking the stacking effect. Kirill 13:19, 14 January 2008 (UTC)
Note that, in any case, WP:MOS considers a fixed width to be appropriate for "a lead image that captures the essence of the article (recommended not to be smaller than 300px, as this will make the image smaller for users who have set 300px in their user preferences)". So the overall point—allowing thumbnail preferences to work on the lead image—isn't necessarily one that enjoys consensus anyways. Kirill 13:27, 14 January 2008 (UTC)
Well, I don't agree with what the MOS says there - I see no reason for a lead image to defy thumb settings merely because it is the lead image. But your stacking argument is impossible to argue with. That's a shame, because I really think these infoboxes look bizarrely wide. Hesperian 13:38, 14 January 2008 (UTC)
P.S. [2] Hesperian 13:39, 14 January 2008 (UTC)
Fair enough. Personally, I'm not sure whether the image size really matters—I think that an image significantly narrower than its enclosing box can be used to good effect in some cases—but that's more of a personal preference, I suppose. Kirill 13:48, 14 January 2008 (UTC)

Yup, forcing 315 px for the whole infobox is terribly much - see how frex Albert Blithe looks now; please decrease it, and preferably use relative units like 20em. --Malyctenar (talk) 09:42, 21 February 2008 (UTC)