Wikipedia talk:Manual of Style/Infoboxes/Archive 13

Archive 10 Archive 11 Archive 12 Archive 13 Archive 14 Archive 15 Archive 18

Display with left-floating thumbnails

 
First image
 
Second image
 
Third image

Has there been a change to the way infoboxes behave on the page? I feel like one used to be able to put a float:left image opposite an infobox, but now the image is rendered after the bottom of the infobox. Ibadibam (talk) 21:33, 11 February 2018 (UTC)

@Ibadibam: Please give an example of a page where you are experiencing difficulty. --Redrose64 🌹 (talk) 11:33, 12 February 2018 (UTC)
On closer examination, the issue seems to be caused by a sidebar or second infobox. As an example, Lazistan Sanjak has a long navbox, immediately followed by a sidebar, and an left-floating image in the "History" section. But that image doesn't render until the start of the sidebar. You can reproduce this issue with two infoboxes as well, so it's apparently common to both the sidebar and navbox modules. Ibadibam (talk) 00:58, 14 February 2018 (UTC)
I tried it with the old (pre-Lua) implementation, and it still behaves the same way. I wish I were better at understanding CSS. Ibadibam (talk) 01:14, 14 February 2018 (UTC)
@Ibadibam: What browser and operating system are you using? What scripts and gadgets do you have installed? The problem you are suggesting exists probably does not exist for everyone else we would be likely to have more complaints. :) For example, I do not see an issue using Firefox 58 on Windows 10. --Izno (talk) 01:26, 14 February 2018 (UTC)
To answer your original question, no, there have been no changes to styling on Wikipedia affecting infoboxes, nor do I believe there have been changes to image styling. --Izno (talk) 01:29, 14 February 2018 (UTC)
@Ibadibam: It is not a problem with any template, module, CSS or Javascript that is under our control. It is simply the way that all floated objects behave if they follow the CSS documentation rigidly (rule 5 is particularly relevant here). When you have two (or more) floated objects on a page, the order in which they appear in the HTML source is a key factor in their relative vertical positioning. When two consecutive objects are both floated to the same side, it is clear that the second of the two will be shown below the first. When two consecutive objects are floated to opposite sides, the upper edge of the second one cannot be any higher than the upper edge of the first. The three images that I've dropped into the top of this section should demonstrate that the vertical alignment of the third image is constrained by the position of the second. A few browsers - certain versions of Microsoft IE for example - will allow the third image to move to the top of the section above the second image, but browsers shouldn't do that if they claim compliance with the CSS specs. --Redrose64 🌹 (talk) 10:27, 14 February 2018 (UTC)

Salvation Army page

an infobox is a good place to provide important summary information about a subject. I have a question, is the information in an infobox limited to a specific set of tags. I’m having trouble with the Salvation Army page where I edited the infobox text to include “sacred_text = Bible” but that edit was not visible in the finished page. What’s wrong? ThanksAdrian816 (talk) 00:25, 8 March 2018 (UTC)

@Adrian816: You refer, I believe, to these two edits. Items such as |theology=[[Wesleyan]] and |sacred_text=[[Bible]] are called parameters, not tags; and every infobox template has a defined set of valid (recognised) parameters, which should be listed in the template's documentation. The article The Salvation Army uses {{Infobox Christian denomination}}, and if you follow that link you will see that a large part of the page has a pale green background - this is the documentation, in which you will find |theology= but not |sacred_text=, which indicates that the former is recognised, but the latter is not. Instead, I see that |scripture= is shown as a valid parameter: perhaps this would suit your needs. If not, and you feel that |sacred_text= should be added as a recognised parameter, the best place to suggest it is at the talk page for the infobox template - Template talk:Infobox Christian denomination. --Redrose64 🌹 (talk) 13:15, 8 March 2018 (UTC)

Discussion notice: Observe MOS:FONTSIZE in infobox templates

You may be interested in the proposal/discussion at Wikipedia:Village pump (proposals)#Observe MOS:FONTSIZE in infobox templates. ―Mandruss  00:15, 17 March 2018 (UTC)

Suggested width

According to the Consistency between infoboxes section: A width of 22 ems (22em in CSS) is suggested... How does one check to see if an infobox complies with this?--Gibson Flying V (talk) 04:09, 20 February 2018 (UTC)

User:Thumperward, User:Plastikspork and User:PC78, in light of your input at Wikipedia_talk:Manual_of_Style/Infoboxes/Archive_5#Recommended_width, perhaps you could help with an answer to this?--Gibson Flying V (talk) 20:28, 24 February 2018 (UTC)
Fixing the ping to User:Plastikspork and User:PC78 -- John of Reading (talk) 07:42, 25 February 2018 (UTC)
Gibson Flying V, if you use {{infobox}} then it the default, and is only different if you override it, or put big image in it, or something else. Another way to check is to look at the page source and search for the 'width' inline css statement. Thanks! Plastikspork ―Œ(talk) 03:22, 28 February 2018 (UTC)
Thanks, User:Plastikspork. But I'm not having any luck with that. The infobox I'm trying to check is {{Infobox rugby league biography}}.--Gibson Flying V (talk) 02:06, 22 March 2018 (UTC)
Gibson Flying V, if you look at the source code for that infobox, you will find bodystyle = width: 25em, so it is overriding the default. Thanks! Plastikspork ―Œ(talk) 02:53, 22 March 2018 (UTC)
Oh gosh. Silly me. It's like the first tab at the top. Don't know why I missed that. Thanks!--Gibson Flying V (talk) 03:02, 22 March 2018 (UTC)

Editing an Infobox

I am trying to learn how to make some edits to the Template:Infobox Province of China (PRC). I want to add the category "|HighestPoint =". Do you know anyone that edits infoboxes that can help me add this to the Province of China Infobox? I have never added a parameter to an infobox and don't want to simultaneously screw up the infoboxes of every province in China. Thanks for any help. Geographyinitiative (talk) 12:25, 7 April 2018 (UTC)

This is, I think, the wrong venue. This talk page is for the discussion of issues related to the infobox portion of the Manual of Style. The proper venue to gain consensus for your proposed change is at Template talk:Infobox Province of China (PRC), where, I see, you have already started a discussion. One discussion in one place.
Trappist the monk (talk) 13:38, 7 April 2018 (UTC)

Wikipedia:Wikidata/2018 Infobox RfC

An RfC on the use of Wikidata in infoboxes has just started. Please !vote and/or comment on the RfC page. --Moxy (talk) 18:00, 7 April 2018 (UTC)