Template talk:Infobox hospital/Archive 4

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Archive 3 Archive 4 Archive 5

Location, region and country formatting

Entering the information as recommended by the template results in

1873 Rama IV Road, Pathum Wan Bangkok (Thailand)

I don't understand why the country should be in parenthesis rather than after a comma, nor why some countries are shown as two-letter codes and some not. I also think a comma should be automatically inserted between the location and region parameters when both are used. --Paul_012 (talk) 11:14, 18 February 2009 (UTC)

I removed the parentheses and small font, added the comma and changed two-letter code displays to full country names. --Paul_012 (talk) 08:55, 21 February 2009 (UTC)
It was done for compactness, as generally the reader will know which country the article relates to, but need both some mention just in case, and also that the template performs some reformating and autolinks depending upon the provided country details. Hence (UK) or (US) was just a gentle reminder :-) But if people wish to see fuller address with more correct comma separator - fair enough :-) David Ruben Talk 00:43, 5 March 2009 (UTC)

Display of specialty

With the change, I can't get the specialty to display for a US hospital. Anyone know of a working example? Vegaswikian (talk) 17:06, 22 May 2009 (UTC)

The specialty wasn't displaying for "Specialist" hospitals, but it was working for "Teaching" hospitals...it was not unique to US hospitals. It should be working now. --Scott Alter 20:32, 22 May 2009 (UTC)
Thanks. Looks OK in the one I had been working on. Vegaswikian (talk) 20:43, 22 May 2009 (UTC)

US/UK spelling and usage

Since Emergency Room is the common term in the US and this is explained in the main hospital article, can we change the display for US hospitals to use the commonly used term and not Emergency Department? Vegaswikian (talk) 17:06, 22 May 2009 (UTC)

I don't think this should be changed. Although "emergency room" may be a common term among laypeople in the US, it is not the technically correct term. The place in the hospital that cares for emergencies is not just a room, rather an entire department. Emergency department is the term US hospitals use to describe the facility. I think this example is like the heart attack article redirecting to myocardial infarction. Even though heart attack is a more common term, MI is more accurate. --Scott Alter 20:39, 22 May 2009 (UTC)

Move Name into the box

I've been asked if the hospital name can be shown inside the top of the box, rather than above and outside of it,

Hence from:

Up Here
Rest of infobox


In Here
Rest of infobox

This would then make the infobox consistant with other infoboxes and allow it to be used alongside other infoboxes (where the hospital of a university might not warrent full article), per example of User talk:Davidruben#Infobox Hospital: Question. In example given to me, University of Washington Medical Center already exists, so I'm not sure needs be used in University of Washington article, but for now question of outer or inner header remains. Any good thoughts for or against this ? David Ruben Talk 21:40, 9 June 2009 (UTC)

Inside seems to make more sense, since the name is displayed as part of the infobox. I think it looks better to have it inside. And if other infoboxes do this, it makes sense to remain consistent unless a compelling reason can be given otherwise, no? --JBC3 (talk) 22:18, 9 June 2009 (UTC)
Leaving the {{{Name}}} field blank (not omitting it: including it, but leaving it blank) allows for the template to fit flush with others. The argument that the title should be moved inside the template because that's where it is on other infobox templates doesn't hold because both styles are commonly used; for instance, {{infobox building}}. Using an HTML caption for the title instead of an embiggened table header element is also more semantically valuable in my opinion. Chris Cunningham (not at work) - talk 23:22, 9 June 2009 (UTC)
I made the request; for context, my aim is to create a new page for the UW Medicine health-care system, to align its components (encompassing two hospitals, the UW School of Medicine and other properties) on one page, so they appear related (as they are). The medical school infobox template places the name within, so I'm simply seeking consistency with the other infoboxes on the page. Visually, I think any such box of information looks more cohesive with the title inside. My opinion is informed by several years as a newspaper page designer, for what it's worth, but I am admittedly a wiki novice.UWM scribe (talk) 19:27, 10 June 2009 (UTC)


Does anyone know how to get rid of the titles on this template? History, geography, services, links etc. They're not always appropriate and yet they appear on the template no matter what's filled in, taking up space and looking odd. SlimVirgin TALK contribs 18:27, 10 February 2010 (UTC)

No one replied here; but the issue appears to be resolved now - correct? --- Barek (talkcontribs) - 22:03, 15 May 2010 (UTC)
Sorry, I didn't see this reply. No, the template is still problematic. There's a parameter at the end called Lists, but it's not filled in, and I can't see how to remove it. See here. SlimVirgin talk|contribs 23:13, 19 August 2010 (UTC)
The best thing to do would be to convert this template to use {{Infobox}}. Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 00:29, 20 August 2010 (UTC)

Map location

does not works. See Institute of Mental Health (Belgrade) Aleksa Lukic (talk) 21:34, 15 May 2010 (UTC)

It works, but the use in the article was incorrect (the template should probably spell out examples of how to correctly use those so as to avoid confusion). I've corrected the article so that the error is eliminated. --- Barek (talkcontribs) - 22:02, 15 May 2010 (UTC)


How can I remove the Lists parameter when it's not filled in? SlimVirgin talk|contribs 11:45, 15 November 2010 (UTC)

WikiProject Hospitals

I have added this infobox to Wikiproject Hospitals. Please help out if you are interested. Ng.j (talk) 19:13, 25 November 2010 (UTC)


Would anyone object to using {{URL}} in the |website= field per WP:UF? Mhiji (talk) 08:02, 22 November 2010 (UTC)

I've reverted the addition of {{URL}} because it results in the url being displayed twice in articles. --AussieLegend (talk) 01:57, 27 November 2010 (UTC)
If we use {{URL}}, it must be to replace the present code. Otherwise it will display twice.Ng.j (talk) 02:08, 27 November 2010 (UTC)


I would like to add a Helipad option, but I am not that great with editing infoboxes. Anybody want to help? Ng.j (talk) 19:14, 25 November 2010 (UTC)

Added. Optional, use Yes, No, or Location identifier. Only list if verifiable, leave blank if unknown. Ng.j (talk) 19:58, 27 November 2010 (UTC)


This is the new usage message: "Copy-paste the entire unpopulated template below. It will display the infobox on the right. All fields and invisible text should be left intact for future editors, even if currently unused."

Most users copy an infobox from one page to another. Most of the time information that should be put in the new article isn't, simply because people don't know that it is an option. Also the invisible text should be left if possible, as it will aid in guiding new users of this infobox. Ng.j (talk) 21:12, 29 November 2010 (UTC)

I've reformatted the documentation so as to avoid this. We don't need the entire template usage notes being copied into article. Chris Cunningham (user:thumperward: not at work) - talk 15:01, 7 December 2010 (UTC)

Lists parameter

Does anyone know how to make the lists parameter optional, so that when it's not filled in it doesn't appear? SlimVirgin talk|contribs 16:16, 4 December 2010 (UTC)

There is no lists parameter to make optional. It's driven by "|Country=", which needs to be plain text. At Kfar Shaul Mental Health Center the country was wikilinked, which I've now fixed, along with a few other things. --AussieLegend (talk) 16:53, 4 December 2010 (UTC)
That's great, many thanks. SlimVirgin talk|contribs 16:59, 4 December 2010 (UTC)
Sorry not been watch this as perhaps I should - yes List automatically shows list of hospitals by country (full name or 2-letter codes) if such a list article exists. For US it tries to show list of hospitals by state first. David Ruben Talk 06:16, 7 December 2010 (UTC)

Removal of comments

A proposal has been put forward to remove the invisible comments. Please comment below:

Strongly oppose I am opposed to this because most users do not read the instructions on the template page. Most editors will copy paste from another page rather than from the source page, leading to improperly filled out and missing fields. I know this first hand, having edited several hundred hospital articles. The trend recently by other WikiProjects has been to put instructions using invisible comments in order to help editors unfamilar with the infobox to fill it out properly.Ng.j (talk) 20:07, 18 December 2010 (UTC)

I don't really see an issue with including the comments in the blank, as it makes it easier for people who actually take time to use a fresh copy than just cut and paste from another article. I've seen this done at other templates (don't ask me where - I can't remember - I do a lot of edits!) but in the process of converting Australian school articles to use the generic {{Infobox school}} we're doing this to identify the fields applicable to Australian schools. --AussieLegend (talk) 09:30, 19 December 2010 (UTC)

Map tweak

I just made this tweak. Having caption={{{map_caption|Shown within {{{map_type}}} gave some interesting results, "Shown within Turkey relief" and "Shown within Canada Nova Scotia", because of the map names. There are about 70 articles using the map so they will currently be without a map caption. CambridgeBayWeather (talk) 07:12, 27 February 2011 (UTC)

Airport codes

The documentation currently states to use "Template:Airport codes" if verifiable, in the Helipad parameter. I propose these changes, so that the airport code can be entered in directly. For example, rather than entering |Helipad={{Airport codes||||CFH7|p=n}}, the code can be entered |TC LID=CFH7, to produce the same result. 117Avenue (talk) 23:58, 9 March 2011 (UTC)

Generating coord from lat/long

If I read the code right, the latitude and longitude attributes are only being used to generate the position on the map. They ought to be used to generate a {{coord|latitude|longitude|display=title}} template as well, per most other infobox templates. The main advantage is that the infobox will be generating a geocard that Google Maps etc can recognise, which will literally put the hospital articles on the map the next time Google update their database (every couple of months). It has the second advantage of complying with the Wiki convention of putting the coordinates in the top right corner with a clickable link to all the goodies at Geohack (as long as you do the display=title thing). Le Deluge (talk) 16:44, 3 April 2011 (UTC)

I agree, that can be added at the same time as my proposal. 117Avenue (talk) 22:48, 3 April 2011 (UTC)

other language

here is it in french: fr:Modèle:Infobox Hôpital - please add.--Hyronimus299 (talk) 13:18, 8 May 2011 (UTC)

Autolinking error

When this template is used with the "state=" parameter, and the state name is ambiguous, the template generates an incorrect link. For example, see Allied Hospital, which uses the template with "state=Punjab" and "country=PK". This results in an incorrect link to Punjab, a disambiguation page, instead of a correct (piped) link to Punjab, Pakistan, the article about the jurisdiction in which the hospital is located. The template either should generate the correct link, or should not autolink terms at all. --R'n'B (call me Russ) 15:17, 15 July 2011 (UTC)

Well I fixed the Hospital] but not the problem. CambridgeBayWeather (talk) 15:27, 15 July 2011 (UTC)

2 letter country code disaster -- bad idea

2 letter country code sounds like a disaster. We should require the user to spell it out. We only hold a tiny tiny list of countries in the template definition, so many are likely to fall through the cracks. Plus, users are likely to think up of an "incorrect" two letters that might be assigned to an entirely separate country in the template. --Bxj (talk) 13:59, 23 April 2011 (UTC)

I'm also shocked to see that the template actually dynamically replaces the two letter abbreviation to a longer spelling. I thought it was asking for two letters for space constraint reasons in the infobox. Instead, it's provided to supposed to make it "easier" on the user? Really?

I propose a documentation change. Currently, the documentation reads:

| Country     = <!-- 2 letter code or in full, United States must be "US" - NB autolinked -->

I propose this to be changed to:

| Country     = <!-- full spelling of the country. Two letter code support for 
           some countries also exist for backwards compatibility reasons.  -->

Asking for a two letter abbreviation is problematic for the following reasons:

  • The abbreviation isn't actually needed internally in the template because it's supposed to be swapped with the full spelling
  • Two letter abbreviation swapping is supported for only a small subset of countries.
  • It doesn't instruct the user which two letter abbreviation to use for a particular country.
  • Two letter acronym articles frequently don't redirect to a country, making this prone to breakage.

Requiring the full spelling of the country is beneficial for the following reasons:

  • Nothing breaks
  • Two letter abbreviations aren't used internally
  • The full spelling is what's supposed to be displayed in the infobox anyway
  • No more ambiguity to the user, reduces user error and makes it easier for the user to just make it work

--Bxj (talk) 14:16, 23 April 2011 (UTC)

Support and I would also get rid of {{subst:PAGENAME}}. CambridgeBayWeather (talk) 18:04, 23 April 2011 (UTC)
Support including the added change by CambridgeBayWeather. Vegaswikian (talk) 18:49, 23 April 2011 (UTC)
I disagree. ISO_3166-1_alpha-2 is the reference list of two-letter country codes, you will find that it is very thorough and complete. Spelling the country name in full is the "quick way out" here, but what really should be done is to fix the abbreviation swapping, if that doesn't work correctly. Which... would surprise me, to be honest. Can you give some examples? --HAdG (talk) 11:28, 18 July 2011 (UTC)
The only countries supported by this template are; Australia, Canada, Hong Kong, Ireland, India, Israel, Kenya, New Zealand, Norway, Philippines, Pakistan, South Africa, Tanzania, United Kingdom, United States. So if for example you use SG or FR the template automatically links them but the links go to a disambiguation pages. By the way the "state" should go as well. The only two linked there are Georgia and Washington. CambridgeBayWeather (talk) 15:26, 18 July 2011 (UTC)

Emergency departments in UK hospitals

It is increasingly common for UK hospitals to have a Minor Injuries Unit rather than a full Accident and Emergency unit. The template currently allows only "yes/no", I propose that this be changed to "yes-a&e/yes-miu/no". See e.g. St Andrews Community Hospital. --HAdG (talk) 11:28, 18 July 2011 (UTC)

Address and phone number

Currently an 'Address' field exists (as per template info page), but this is not displayed in the template. A phone number (switchboard) field does not exist. Both would be useful! --HAdG (talk) 11:49, 18 July 2011 (UTC)

WP:NOTDIRECTORY. Ng.j (talk) 19:54, 5 August 2011 (UTC)

Distinguishing Trauma Center from Pediatric Trauma Center

In the United States, emergency departments are separately ranked. That is to say, a hospital with a Level I Trauma Center may have a Level II Pediatric Trauma center, or vice versa, or only one and not the other. What's the best way to indicate this in the infobox? Meadowbrook (talk) 19:03, 14 September 2011 (UTC)

The Infobox only provides an overview, there should be a Trauma center section in the article that elaborates on capabilities and certification. I usually include air ambulance and helipad information as well if possible. Ng.j (talk) 17:20, 12 July 2012 (UTC)

Template:Location map Gibraltar

This location map is not appearing in the infoboxes at St Bernard's Hospital and Royal Naval Hospital Gibraltar. Could someone please look into this? Thanks, --Gibmetal 77talk 2 me 22:35, 6 September 2012 (UTC)

A recent edit did that. I reverted for now until it can be fixed. CambridgeBayWeather (talk) 15:36, 7 September 2012 (UTC)
Work's now, thanks! --Gibmetal 77talk 2 me 19:53, 7 September 2012 (UTC)

Latitude & Longitude parameters not providing in-article coordinates

Why do the Latitude & Longitude parameters not provide coordinates within the article, either in the infobox or at the top right of the page? Could this be changed, please, so that this template works as others to provide this info useful to the reader? thanks --Tagishsimon (talk) 10:31, 7 September 2012 (UTC)

It was discussed some time ago I think but never done and I couldn't figure out how to do it without breaking something. Right now you need the "latitude" and "longitude" lines for the map and the "coordinates" line for the title and infobox. CambridgeBayWeather (talk) 15:36, 7 September 2012 (UTC)
should work now, I will document this feature in a second. Frietjes (talk) 16:13, 8 September 2012 (UTC)
Thanks. That seems to work fine. One other request. Would it be possible to add a "| scale = "? Some places at 10000 are t0o far out and in others it will be too far in. CambridgeBayWeather (talk) 17:34, 8 September 2012 (UTC)
it uses type:landmark, which does correspond to a scale, but I can certainly add scale as well. Frietjes (talk) 17:55, 8 September 2012 (UTC)
now added with |coordinates_scale=. Frietjes (talk) 18:00, 8 September 2012 (UTC)
Thanks. It was just that sometimes the default isn't the correct scale. CambridgeBayWeather (talk) 18:48, 8 September 2012 (UTC)
Thanks both. Much appreciated. --Tagishsimon (talk) 19:47, 8 September 2012 (UTC)


"State" and "Country" fields should not be autolinked per WP:OVERLINK. --John (talk) 18:00, 5 August 2011 (UTC)

I see no-one has responded to this in a year and a half. If there is no objection, I will try to adjust the coding myself. It would have been better if someone with more skills in this area could have helped. --John (talk) 13:16, 6 January 2013 (UTC)