This is the
talk page for discussing improvements to the
Infobox prison template. |
|
Infoboxes | ||||
|
Correction and Detention Facilities Unassessed ( defunct) | |||||||
|
There 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)
I would like to add a "famous prisoners" parameter. Does anyone know how to do that? SlimVirgin talk| contribs 05:56, 22 September 2009 (UTC)
When 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. — Quicksilver T @ 00:25, 27 April 2014 (UTC)
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. —
Quicksilver
T
@ 00:56, 27 April 2014 (UTC)Add 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)
{{
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)
Hi @ 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)