Template talk:Infobox building

Latest comment: 4 days ago by SavagePanda845 in topic Color for the status parameter

Text wrapping edit

Despite being the second- and third-longest labels in the infobox, the labels for the "construction started" and "construction stopped" parameters are unique in this template in using {{nowrap}} to prevent them from wrapping. This is in contrast to numerous shorter multi-word labels in the same template. As a result, when the infobox is used in its standard width, the labels take up nearly half the width of the box, leaving little space for the actual content. Could the {{nowrap}}s be removed? The necessary code is as follows:

Line 136: Line 136:
| data23 = {{{groundbreaking_date|}}} | data23 = {{{groundbreaking_date|}}}
| label24 = {{Nowrap|Construction started}} | label24 = Construction started
| data24 = {{{start_date|{{{construction_start_date|}}}}}} | data24 = {{{start_date|{{{construction_start_date|}}}}}}
| label25 = {{Nowrap|Construction stopped}} | label25 = Construction stopped
| data25 = {{{stop_date|{{{construction_stop_date|}}}}}} | data25 = {{{stop_date|{{{construction_stop_date|}}}}}}

Graham (talk) 04:02, 7 February 2023 (UTC)Reply

This could be deliberate. The point of nowrapping the longest labels is that everything shorter is automatically not wrapped, since they are shorter. This is a commonly used trick in bulleted lists in infoboxes: nowrap the longest item, and everything else is on a single line by default. – Jonesey95 (talk) 05:32, 7 February 2023 (UTC)Reply
Where that technique is used for content in an infobox in a particular article, that can make sense. I've even implemented that in bulleted lists myself many a time. But as not all parameters of an infobox are used in every article (and in the case of this infobox, a typical building article doesn't make use of the vast majority of parameters), one can't assume that shorter labels wouldn't wrap. In the article I was working on most recently, for instance, two other labels would wrap were construction_start_date not included (though the infobox would nonetheless be shortened substantially as there would be less content wrapping). So I don't see how the inclusion of {{nowrap}} could have been a deliberate choice intended for the entire infobox template as opposed to an ad hoc measure implemented inconsistently. Graham (talk) 05:55, 7 February 2023 (UTC)Reply
That may be an argument for more labels to be nowrapped, rather than fewer. In any event, It appears that the nowrap was added in October 2012, and I don't see a discussion about it at Template talk:Infobox building/Archive 1, so here we are. I'm fine with removing the nowrap; I just wanted to ensure that editors reading this page understood that there might be a reason for it and had a chance to give their opinions. – Jonesey95 (talk) 06:29, 7 February 2023 (UTC)Reply
Yeah, I can certainly imagine an argument for more labels to be nowrapped rather than fewer, specifically an argument for some of the shorter ones to be nowrapped. With a label of this length, however, nowrapping tends to lead both to squished content and to needlessly longer infoboxes more often than not, in my experience. But I definitely don't mind giving others a chance to weigh in first on the off-chance that someone has misgivings. Graham (talk) 06:45, 7 February 2023 (UTC)Reply
Please could you edit Template:Infobox building/sandbox with required changes and make sure the display looks okay? — Martin (MSGJ · talk) 15:46, 9 February 2023 (UTC)Reply
Done. See Template:Infobox building/testcases § image width test. Graham (talk) 00:33, 10 February 2023 (UTC)Reply
  Done — Martin (MSGJ · talk) 09:58, 10 February 2023 (UTC)Reply

Heritage Designations edit

Could the "heritage designations" from e.g. Template:infobox religious building be brought in, so that we could give e.g. a building's UK listed status as part of this infobox? UndercoverClassicist (talk) 18:57, 31 May 2023 (UTC)Reply

Use {{Infobox designation list}} with |embedded= to show heritage listing information. See Balmoral Castle for an example. There is no need to duplicate that formatting here. – Jonesey95 (talk) 19:23, 31 May 2023 (UTC)Reply
Thanks - will have a go at copying that one. UndercoverClassicist (talk) 19:30, 31 May 2023 (UTC)Reply

Number of floors edit

It's unclear if floor-count is above ground only, or combination of above and below ground. Example. Is Logan Century Center 1 82 floors or 86?

Previous: Template_talk:Infobox_building/Archive_1#Add_another_floor_count_param? (11 years ago). -- GreenC 16:01, 8 October 2023 (UTC)Reply

Adding "Weight" data and label on the Infobox building. edit

Hello. Could you please add "Weight"? Bonthefox3 (talk) 06:07, 28 December 2023 (UTC)Reply

Why? (and if you are thinking of e.g. the ISS, it would have to be mass as it is weightless right now). 𝕁𝕄𝔽 (talk) 10:42, 28 December 2023 (UTC)Reply

"Current tenant" (singular) label edit

Would it be possible to add a singular version of the "current tenants" label, for buildings with a single tenant (like headquarters)? Thanks! WikiFouf (talk) 16:49, 1 May 2024 (UTC)Reply

Color for the status parameter edit

I’ve noticed that some pages (specifically the original World Trade Center articles) use red text for “destroyed” within the status parameter. I also seem to remember some articles using blue for another entry, possibly “on hold” or “under construction”, and green for “completed”. Not every page on a building has this, however, and I can’t find any standard written here. Should one be created? I’m personally for it and think it adds a little to the infobox, though I could see others saying it’s distracting. SavagePanda845 (talk) 06:18, 6 May 2024 (UTC)Reply