Template talk:Infobox prison
This is the talk page for discussing improvements to the Infobox prison template. |
|
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||
|
New edits
editThere have been edits to this info box which have meant that prisons using the box are poorly formatted, eg most NSW prisons. PLEASE DO NOT change infoboxes if you are not prepared to change the articles using them.--A Y Arktos 07:21, 26 March 2006 (UTC)
I have made a change to the template which seems to have fixed most of the formatting errors; if there are articles still with errors it is because of inconsistent use of the template.--A Y Arktos 07:27, 26 March 2006 (UTC)
Adding a parameter
editI would like to add a "famous prisoners" parameter. Does anyone know how to do that? SlimVirgin talk|contribs 05:56, 22 September 2009 (UTC)
- How about "notable prisoners"? Plastikspork ―Œ(talk) 06:05, 22 September 2009 (UTC)
- Done I've added it as "famous prisoners" for now, but it's trivial to change if that's what's decided. Chris Cunningham (not at work) - talk 07:59, 22 September 2009 (UTC)
- My preference would be "notable prisoners". Fame is a POV concept, but we have guidelines for determining notability. Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 09:35, 22 September 2009 (UTC)
- Done I've added it as "famous prisoners" for now, but it's trivial to change if that's what's decided. Chris Cunningham (not at work) - talk 07:59, 22 September 2009 (UTC)
- I've put up a test cases page to gather opinion on the preferred layout for the new feature. Chris Cunningham (not at work) - talk 08:20, 24 September 2009 (UTC)
- I prefer side-by-side, but if we use a header row, it should end in a colon. Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 09:19, 24 September 2009 (UTC)
- The prisoners section is currently broken, if anyone wants to fix it? Le Deluge (talk) 02:26, 13 September 2010 (UTC)
- How is that? Plastikspork ―Œ(talk) 02:38, 14 September 2010 (UTC)
- That's the ticket - thanks. Might be worth leaving a HTML comment warning people about the numbering issue? I think that like Andy, I have a slight preference for side-by-side, but not that fussed. Perhaps you could have side-by-side for up to 3 prisoners or something? Just as a general comment, the infobox isn't ideal for historical prisons. Even if the instructions were improved a bit - the idea of a management "company" is fairly specific to one or two countries, things like "security class" don't really apply to historical prisons although they could still have a classification as debtors, vagrants etc - and it might be useful to have the option of several populations at different times in history? Just some thoughts, it's not really my area. Le Deluge (talk) 11:05, 14 September 2010 (UTC)
- How is that? Plastikspork ―Œ(talk) 02:38, 14 September 2010 (UTC)
- The prisoners section is currently broken, if anyone wants to fix it? Le Deluge (talk) 02:26, 13 September 2010 (UTC)
- I prefer side-by-side, but if we use a header row, it should end in a colon. Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 09:19, 24 September 2009 (UTC)
ZIP code field doesn't work properly
editWhen a value is put in the "zip" field, nothing is displayed if the "postcode" field is left in the template. The postal/ZIP code only works if the "postcode" field is deleted when the template is used in an article. The usage instructions are silent on this, so I presume it's a bug. This should be fixed, so that if a null postcode is detected, but a non-null zip is detected, it displays the non-null value, and vice versa. Alternatively, the value could be constructed by concatenating the postcode and zip values and trimming leading and trailing spaces. The value that is empty will simply be "trimmed away". To make things really simple, I'd delete the "zip" field entirely since the United States ZIP code is a postal code. The infobox displays the postal code as "Postal code/ZIP" now, so a single parameter should suffice. This "simple" solution would, however, require all instances of the template to be edited to move the value from the zip field to the postcode field and delete the zip field. Since the template is used in nearly 1,000 places, this could be a tedious chore, or a job for a 'bot. — QuicksilverT @ 00:25, 27 April 2014 (UTC)
- I believe I've fixed it. It was a minor tweak of the braces to change the logic, essentially concatenating the two parameters in
data18
. Leading and trailing space stripping happens automatically. As long as nobody fills in both fields simultaneously, which would be a silly thing to do, it should work. — QuicksilverT @ 00:56, 27 April 2014 (UTC)
Map parameter
editAdd a map parameter?--Zoupan 22:49, 5 December 2016 (UTC)
I agree, it should be possible to add a map Debbiesw (talk) 15:11, 23 December 2016 (UTC)
- @Zoupan and Debbiesw: added, see the documentation for details. Frietjes (talk) 16:09, 21 January 2017 (UTC)
Mapframe maps?
edit{{Infobox building}} and {{Infobox shopping mall}} have both recently been updated to automatically show dynamic mapframe maps by default. I am proposing to similarly show such maps by default for this template, with the same optional parameters to adjust the size, frame center point, initial zoom level, and marker icon; and to similarly allow the mapframe map to be turned off using |mapframe=no
. See Template:Infobox building#Mapframe maps and Template talk:Infobox building#Change to the map parameter so Kartographer works for further information. (FYI: I'm making similar proposal for other buildings infobox templates) - Evad37 [talk] 15:36, 31 August 2018 (UTC)
- Done (yesterday) - Evad37 [talk] 03:05, 17 June 2020 (UTC)
Image size
editHi @Christian75:, you might want to look at MOS:IMGSIZE again - it clarifies that for consistency, templates such as infoboxes are more than welcome to use consistent image sizes, using pixel widths. As well, 220px is established for image defaults in the article body, but it's not a set standard for infoboxes. Many infoboxes, if not most, specify a larger default size, to avoid ugly white space on the sides of images (which usually form because infoboxes are wider than 220px, including this one). I suggest making the default size match the widths of the map options (and both set to match the smallest width of infobox prison possible), to make images and maps match in size in articles without white space. Mismatched sizing looks terrible. Thank you --ɱ (talk) 17:48, 23 December 2021 (UTC)
- Why not use upright for that? I.e. "upright=1.14" (=250px). I would say most infobox do not use a forced image size. I get a lot of ugly white space with small images in the infobox (my zoom level is 160 percent in the browser, and the thumbnail size is 300px in the preferences) Christian75 (talk) 19:05, 23 December 2021 (UTC)
- Ok I will. I'm just saying that IMGSIZE says pixels are fine for infoboxes in order to standardize infobox widths. ɱ (talk) 17:06, 24 December 2021 (UTC)
Defunct slave jails?
editHi! I sometimes write bios of American slave traders (<1865) and sometimes they had their own slave jails. Would it make more sense to use this template or infobox building if I was going to create info boxes for them. The main issue is that they're all defunct. We do sometimes have info about max capacity or number of floors or where they were located. Let me know your thoughts. Best, jengod (talk) 05:03, 26 June 2024 (UTC)