Template:Infobox hospital
Hospital / From Wikipedia, the free encyclopedia
Infobox hospital |
---|
This template is used on approximately 6,400 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template adds an automatically generated short description. If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article. |
This template uses Lua: |
The {{Infobox hospital}}
template formats a right-side infobox to display many data items about a hospital, with the typical labels listed down the left side, and the corresponding data values on the right side of the box.
The template uses several specialized arcane CSS format classes, which makes it very difficult to determine the styles applied to each data item in the infobox.
Usage
Copy-paste the entire unpopulated template below. It will display the infobox on the right. All relevant fields and invisible comments should be left intact for future editors, even if currently unused. All information in the infobox should originate in the article and be cited there.
{{{name}}} | |
---|---|
{{{org/group}}} | |
[[File:{{{logo}}}|{{{logo_size}}}|alt={{{logo_alt}}}]] | |
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}]] | |
Geography | |
Location | {{{location}}}, {{{region}}}, {{{state}}}, {{{country}}} |
Coordinates | 0°N 0°E / 0; 0 |
Organisation | |
Care system | {{{healthcare}}} |
Funding | {{{funding}}} |
Type | {{{type}}} |
Religious affiliation | {{{religious_affiliation}}} |
Affiliated university | {{{affiliation}}} |
Patron | {{{patron}}} |
Network | {{{network}}} |
Services | |
Standards | {{{standards}}} |
Emergency department | {{{emergency}}} |
Beds | {{{beds}}} |
Helipad | {{{helipad}}} |
Public transit access | {{{publictransit}}} |
History | |
Former name(s) | {{{former-names}}} |
Construction started | {{{constructed}}} |
Opened | {{{opened}}} |
Closed | {{{closed}}} |
Demolished | {{{demolished}}} |
Links | |
Website | {{{website}}} |
Other links | {{{other_links}}} |
{{{module}}} or: {{{embedded}}} or: {{{nrhp}}} |
Blank
{{Infobox hospital
| name = {{subst:PAGENAMEBASE}}
| org/group =
| logo =
| logo_size =
| logo_alt =
| image =
| image_size = 225
| alt =
| caption =
| coordinates = <!-- {{coord|LAT|LON|type:landmark|display=inline,title}} -->
| location =
| region =
| state =
| country =
| healthcare = <!-- UK: NHS; AU/CA: Medicare; ELSE free-form text, e.g. Private -->
| funding =
| type =
| religious_affiliation =
| affiliation =
| patron =
| network =
| standards =
| emergency =
| beds =
| speciality =
| helipad =
| h1-number =
| h1-length-f =
| h1-length-m =
| h1-surface = <!-- up to h12 -->
| publictransit =
| former-names =
| constructed =
| opened = <!-- cite in article as well -->
| closed =
| demolished =
| website = <!-- {{URL|www.example.com}} -->
| other_links =
| module =
}}
Template with guidelines
{{Infobox hospital
<!-- All parameters and comments should be left intact for future editors -->
<!-- All parameters are optional, but please copy the entire template -->
<!-- Full documentation: http://en.wikipedia.org/wiki/Template:Infobox_hospital -->
| name = {{subst:PAGENAMEBASE}}
| org/group = <!-- org or group that owns/manages the hospital -->
| logo = <!-- please conform to copyright -->
| logo_size = <!-- logo size or width in pixels -->
| logo_alt = <!-- alternative text for logo, see [[WP:ALT]] -->
| image = <!-- preferably photo of the main building or entrance -->
| image_size = <!-- 220 is the default image size or width in pixels (225 matches default map_size). Leave blank per [[MOS:ACCESSIBILITY]] unless special size is needed. -->
| alt = <!-- alternative text for image, see [[WP:ALT]] -->
| caption = <!-- text displayed below image -->
| map_type = <!-- uses the [[Template:Location map]] format; defines value for {{{1}}} parameter; must have latitude and longitude if using this -->
| relief = <!-- any non-blank value (yes, 1, etc.) will cause the template to display a relief map image, where available -->
| map_size = <!-- map size or width of map named in map_type, in pixels (do not include "px"); default is 225 -->
| map_alt = <!-- alternative text for map image, see WP:ALT for details -->
| map_caption = <!-- a small caption under the map such as "Shown in region, country" -->
| location = <!-- optional – displayed before region, state, country -->
| region = <!-- e.g. City or County -->
| state = <!-- optional – UK: England, Wales, Scotland, Northern Ireland; US: the US state name; CA: province name -->
| country = <!-- country name or two-letter code – use UK for United Kingdom or US for United States -->
| coordinates = <!-- Use {{coord}} template with 'display=inline,title' -->
| healthcare = <!-- UK: NHS; AU/CA: Medicare; ELSE free-form text, e.g. Private -->
| funding = <!-- use: Non-profit, For-profit, Government, Public – will generate links -->
| type = <!-- use: Community, District, General, District general, Teaching, Specialist -->
| religious_affiliation = <!-- religion the hospital is associated with -->
| affiliation = <!-- medical school / university affiliations (medical or paramedical) -->
| patron = <!-- the individual who acts as the hospital patron -->
| network = <!-- hospital network, non-owner -->
| standards = <!-- optional if no national standards -->
| emergency = <!-- UK/IR/HK/SG: Yes/No, in CA/IL/US: I/II/III/IV/V for Trauma certification level -->
| beds = <!-- cite in article as well -->
| speciality = <!-- if devoted to a speciality (i.e. not a broad spectrum); ONLY displayed if type=Specialist or type=Teaching -->
| helipad = <!-- [[Template:Airport codes]] with p=n; leave blank if unknown or not verifiable -->
| h1-number = <!-- The designation of the helipad (up to h12) -->
| h1-length-f = <!-- Helipad length in feet -->
| h1-length-m = <!-- Helipad length in metres -->
| h1-surface = <!-- Helipad surface type, such as: Concrete, Asphalt, etc -->
| publictransit = <!-- Public transit agency and route with nearby stops -->
| former-names = <!-- Former name(s) of used by the hospital if different from its current name -->
| constructed = <!-- date construction started; cite in article as well -->
| opened = <!-- cite in article as well -->
| closed = <!-- if defunct, please also add to Category:Defunct hospitals -->
| demolished = <!-- if demolished at a different time from closure -->
| website = <!-- use {{URL|www.example.com}} -->
| other_links = <!-- link(s) to related articles -->
| module = <!-- or 'embedded' or 'nrhp' -->
}}
Attributes
None of the fields are obligatory.
Fill in as many of the values as possible. Hence, if |image=
is not defined then it will default to blank.
Don't worry about getting all the fields -- just do your best, and if you have any questions or suggestions, feel free to ask at Template talk:Infobox hospital.
Parameter | Free-form Text (F/T), Wikified (W), Processed (P) | Comments |
---|---|---|
name | F/T | |
org/group | F/T | UK: NHS=Trust/Health board, ELSE multiple-hospital organisation or group |
logo | P | Logo file name only. Used in [[File:logo|logo_size]] . |
logo_size | P | Logo size in pixels. Used in [[File:logo|logo_size]] . |
logo_alt | P | Alternative text for images. Used in [[File:logo|logo_size|logo_alt=logo_alt|logo_alt]] . |
image | P | Image file name only. Used in [[File:image|image_size|alt=alt|alt]] . |
image_size | P | Image size in pixels. Used in [[File:image|image_size|alt=alt|alt]] . |
alt | P | Alternative text for image. Used in [[File:image|image_size|alt=alt|alt]] . |
caption | F/T | Text displayed below image. |
map_type | P | See Map and coordinates section. |
coordinates | P | See Map and coordinates section. |
location | F/T | This parameter not wikified, but please move County/City & State details to Region & State parameters. |
region | F/T | This parameter is not wikified. |
state | F/T, P | This parameter is not wikified. For Canada use province name. For UK use England, Wales, Scotland, or Northern Ireland. For US use the full state name. See #Links for additional functionality related to this parameter for UK and US. |
country | F/T, P | This parameter is not wikified. See #Links for additional functionality related to this parameter. |
healthcare | F/T, P | Wikifies if UK=NHS. AU/CA=Medicare. ELSE non-wikified free-form text, e.g. 'Private' |
funding | F/T, P | 'Non-profit', 'For-profit', 'Government', or 'Public' are wiki-linked. |
type | F/T, P | 'General', 'District' or 'District General', 'Specialist' & 'Teaching' are wiki-linked. |
affiliation | F/T | University or Medical School association, may set to 'None' if no affiliation |
religious_affiliation | F/T | Religion associated with the hospital, e.g. Roman Catholic |
standards | F/T | e.g. international ISO where absence of national standards |
certification | F/T | please switch US hospitals to Emergency parameter setting as relevant I, II, III, IV, or V level |
emergency | F/T, P, W | UK/Ireland/Hong Kong/Singapore: if =Yes/No adds 'Accident & Emergency' US/Canada/Israel: I/II/III/IV/V links to Trauma certification level; else Yes/No |
beds | F/T | |
speciality | F/T | Only shown if type=Specialist or type=Teaching |
helipad | F/T | Optional, use {{Airport codes}} . Only list if verifiable, leave blank if unknown. |
h1-number | F/T | Optional, the designation of the helipad. In the United States this is usually the letter "H" followed by a number, i.e. "H1", "H2", etc. Repeat up to h12-number. |
h1-length-f | F/T | Optional, helipad length in feet. Repeat up to h12-length-f. |
h1-length-m | F/T | Optional, helipad length in metres. Repeat up to h12-length-m. |
h1-surface | F/T | Optional, helipad surface type, such as: Concrete, Asphalt, etc. Avoid the generic type "Paved" if possible. Repeat up to h12-surface. |
former-names | F/T | |
constructed | F/T | |
opened | F/T | |
closed | F/T | |
website | F/T, P | Use {{URL}} if applicable. Processed to prevent display of the following: N/A, n/a, None, or none. |
other_links | F/T, P | NB automatically added is 'List on hospitals in...' link for State or Country if defined above and if List article exists |
Any parameter indicated as free-form text is not automatically wikified/wiki-linked, but may be manually wiki-linked within a particular article that uses this template:
|affiliation =
[[Kings College]]
Article subject
- name
- The hospital name. When not specified, it defaults to the Wikipedia article's title ({{PAGENAME}}).
- org/group
- Optional; used if the hospital is part of a wider organisation or group. Examples would be the name of a private company owning and running a number of different hospitals, in the UK may be used to specify the NHS Trust (these may operate several hospitals in a locality), other organisations might include Aga Khan Hospital or Aga Khan Health Services.
Images
- logo
- Optional; an image name for the hospital's logo or crest.
- logo_size
- Optional; a width for the logo. When not specified, it defaults to frameless which uses the size in each user's Preferences (ranges from 120px to 300px).
- logo_alt
- Alt text for the logo, see Wikipedia:Alternative text for images.
- image
- Optional; image name for an illustration or photograph of the hospital.
- image_size
- Optional; a width for the image. When not specified, it defaults to frameless which uses the size in each user's Preferences (ranges from 120px to 300px).
- alt
- Alt text for the image, see Wikipedia:Alternative text for images.
- caption
- Optional; caption text displayed below the image.
| image = ACME_hospital.png
| image_size = 280px
| caption = The 2006 rebuilt hospital
Location
The parameter location was originally used to specify manually wiki-linked (or unlinked) location details because region (city or county), state (or province), and country used automatic wiki-linking. That is no longer the case, so any of those parameters can be used. They will display in the infobox as: location, region, state, country.
- location
- Optional location details displayed before region (city or county), state, and country. This is not automatically wiki-linked.
- region
- The city or county. This is not automatically wiki-linked.
- state
- The state or province. This is not automatically wiki-linked.
- For Canada this is the relevant Province
- For the UK this is either England, Northern Ireland, Scotland or Wales.
- For the US this is the relevant US State.
- country
- The country name. This is not wiki-linked. The template also recognizes the following two-letter abbreviations and will display the associated country name as shown: AU = Australia, CA = Canada, HK = Hong Kong, IE = Ireland, IN = India, IL = Israel, KE = Kenya, NZ = New Zealand, NO = Norway, PH = Philippines, PK = Pakistan, SA = South Africa, TZ = Tanzania, UK = United Kingdom, US = United States.
- Note: The country parameter is also used in the Links section of the infobox to display a link to [[List of hospitals in Country]] if such a page exists. For hospitals in the UK or US, the state parameter is used to display a link to [[List of hospitals in State]] if such a page exists, or the country list if not (works only when country is one of the following: UK, United Kingdom, US, United States).
Organisation
(displayed as 'Organization' if country set as Canada or United States, to maintain spelling consistency within articles)
Country | HealthCare value | wiki-linked to | Displayed text |
---|---|---|---|
Australia | Medicare | Medicare (Australia) | Public Medicare (AU) |
Canada | Medicare | Medicare (Canada) | Public Medicare (Canada) and wiki-link to abbreviated Provincial plans where article exists |
United Kingdom | NHS | National Health Service | Public (NHS) |
- healthcare
- This indicates the insurance status of the hospital. This is generally a free-form text item.
- However for certain countries, specific values of healthcare are wiki-linked:
- All countries (including those above) will accept free-form text for this parameter
- Useful markups include Public ([[Ontario Health Insurance Plan|OHIP]])
- funding
- The hospital funding source; may be one of the following
- 'Non-profit' which displays as Non-profit hospital
- 'For-profit' which displays as For-profit hospital
- 'Government' which displays as Government hospital
- 'Public' which displays as Public hospital
- any other value is displayed as free-form text, which may be manually wiki-linked
- type
- The hospital type; may be one of the following:
- 'General', 'District', 'District General' which are automatically wiki-linked to Hospital#General
- 'Specialist' which is automatically wiki-linked to Hospital#Specialized
- 'Teaching' which is automatically wiki-linked to Teaching hospital (also known as a University hospital).
- any other value is displayed as free-form text, which may be manually wiki-linked
- religious_affiliation
- This free-form text gives the religion that the hospital is associated with. Hidden if undefined.
- affiliation
- This free-form text gives the Medical School that may be associated with the hospital. Hidden if undefined and may be set to 'None' if known that there is no affilication for that hospital.
- network
- This free-form text gives the hospital network to which the hospital may belong. This is different from an entity that may own the hospital (which belongs in org/group).
Services
- standards
- This optional parameter provides details of Quality Standards that the hospital may have achieved and is meant to be used for hospitals where there are no automatic national standards and external internal organisations (e.g. ISO) have been invited in to provide certification.
- Emergency Department and Trauma provision
- The deprecated certification parameter was US-centric and referred to the externally assessed level of trauma care that the hospital is rated to manage. However, for hospitals outside of the US, editors confused this for Quality Standards certification, for which the standards parameter is now provided.
Country | Emergency value | Displayed text |
---|---|---|
United Kingdom Ireland Hong Kong Singapore | Yes No | Yes Accident & Emergency No Accident & Emergency |
else free-form text | ||
Canada United States | I II III IV V | Level I trauma center Level II trauma center Level III trauma center Level IV trauma center Level V trauma center |
else free-form text |
- emergency
- is the new more generic parameter. It is generally free-form text, however certain countries have tended to use the alternative name of "Accident & Emergency" for this service, and all but Canada and the US generally specify whether or not an Emergency Department is operational or not. Canada, Israel, and the US have 5 levels of trauma care provision assessible.
- beds
- The number of inpatient beds.
- speciality
- specialty
- Where type=Specialist, this parameter is used to specify the particular medical or surgical speciality (leave the parameter undefined if the hospital has a broad spectrum of specialities and one happens to be more famous than the rest). Where type=Teaching, this parameter is optional, since teaching hospitals may encompass the full spectrum of clinical specialities or be a single specialist centre.
- Link to a medical speciality, other useful links are pediatric hospital or psychiatric hospital.
- Note: This will only be displayed in the infobox when type=Specialist or type=Teaching.
- Either speciality (UK spelling) or specialty (US spelling) may be used. The infobox label is automatically adjusted based on which parameter is used.
- helipad
- Optional parameter to denote helipad for Medevac. Use location identifiers using {{Airport codes}}. Only list if verifiable, leave blank if unknown.
These parameters specify details for each helipad in the "Helipads" section. Parameters start with h1- for the first helipad, h2- for the second helipad, up to h12- for the twelfth helipad. This section is optional and only appears if the h1- parameters are specified.
- hn-number(h1-number, h2-number, ...)
- The designation of the helipad. In the United States this is usually the letter "H" followed by a number, i.e. "H1", "H2", etc.
- hn-length-f (h1-length-f, h2-length-f, ...)
- Helipad length in feet.
- hn-length-m (h1-length-m, h2-length-m, ...)
- Helipad length in metres.
- hn-surface (h1-surface, h2-surface, ...)
- Helipad surface type, such as: Concrete, Asphalt, etc. Avoid the generic type "Paved" if possible.
History
- former-names
- Optional; names that were used by the hospital before its current name.
- constructed
- The date the construction of the hospital started.
- opened
- The year or full date that the hospital opened.
- closed
- Optional; year or date when a hospital closed.
- demolished
- Optional; year or date when demolished, if different from closure.
Links
- website
- Please give the full URL address using the {{URL}} template. If the hospital has no web presence, then leave this blank. Also will not display if set to N/A, n/a, None, or none.
| website = Does not display the parameter at all
| website = None Does not display the parameter at all
| website = {{URL|example.com}} Displays as: example.com
- other_links
- Used to specify free-form text links to related material. Must be manually wiki-linked.
- The template automatically generates a link to [[List of hospitals in Country]] based on the '''country''' parameter (if such a page exists). For the UK or US, the '''state''' parameter is used to display a link to <nowiki>[[</nowiki>List of hospitals in ''State''<nowiki>]]</nowiki> if such a page exists, or the country list if not (works only when '''country''' is one of the following: UK, United Kingdom, US, United States). :: (This works even if '''country''' parameter is set to the 2-letter ISO code for Australia, Canada, Ireland, India, Kenya, New Zealand, Pakistan, South Africa, Tanzania, United Kingdom or United States. Also note that the wording of the Wikipedia 'List' article has additional definite article 'the' added for 'the United Kingdom' and 'the United States' and Ireland's list is for 'the Republic of Ireland'). : Any free-form text passed by '''other_links''' parameter are shown on a new line if an autolink has already been displayed. ===Map and coordinates=== ==== Mapframe parameters ==== A [[Template:Mapframe|Mapframe]] map is automatically included if: * There are coordinates specified on the page's Wikidata item * It has not been turned off by setting <code class="tpl-para" style="word-break:break-word; ">|mapframe=no</code> The following optional parameters can then be used to adjust the map <templatestyles src="Hlist/styles.css"></templatestyles><templatestyles src="Module:Navbar/styles.css"></templatestyles><div class="navbar plainlinks hlist" style="float: right;"><ul><li class="nv-view">[[Template:Infobox mapframe/doc/parameters|<span title="View this template">view</span>]]</li><li class="nv-talk">[[Template talk:Infobox mapframe/doc/parameters|<span title="Discuss this template">talk</span>]]</li><li class="nv-edit">[[Special:EditPage/Template:Infobox mapframe/doc/parameters|<span title="Edit this template">edit</span>]]</li></ul></div><nowiki></nowiki> *Basic parameters:<nowiki></nowiki> **'''mapframe''' – Specify yes or no to show or hide the map, overriding the default. ''Default:'' <kbd style="background:#EEEEEE; letter-spacing:0.05em; padding-left:0.25em; padding-right:0.2em;" >no</kbd> if a pushpin map or map image is specified, <kbd style="background:#EEEEEE; letter-spacing:0.05em; padding-left:0.25em; padding-right:0.2em;" >yes</kbd> otherwise **'''mapframe-caption''' – Caption for the map. ''Default'': ''blank'' (or if <code class="tpl-para" style="word-break:break-word; ">|mapframe-geomask=</code> is set, "Location in <kbd style="background:#EEEEEE; letter-spacing:0.05em; padding-left:0.25em; padding-right:0.2em;" >geomask's label</kbd>") **'''mapframe-custom''' – Use a custom map instead of the automatic mapframe. Specify either a <code>{{[[Template:Maplink|maplink]]}}</code> template, or another template that generates a mapframe map, or an image name. If used, the subsequent mapframe parameters will be ignored. ''Default'': ''not specified'' **'''mapframe-id''' or '''id''' or '''qid''' – Id (Q-number) of Wikidata item to use. ''Default:'' ''item for current page'' **'''mapframe-coordinates''' or '''mapframe-coord''' or '''coordinates''' or '''coord''' – Coordinates to use, instead of any on Wikidata. Use the <span class="nowrap">{{</span>[[Template:Coord|Coord]]<span class="nowrap">}}</span> template, e.g. <code class="tpl-para" style="word-break:break-word; ">|coord=<code>{{[[Template:Coord|Coord]]|12.34|N|56.78|E}}</code></code>. ''Default:'' ''coordinates from Wikidata'' **'''mapframe-wikidata''' – Set to <syntaxhighlight lang="text" class="" id="" style="" inline="1">yes</syntaxhighlight> to show shape/line features from the wikidata item, if any, when <code class="tpl-para" style="word-break:break-word; ">|coord=</code> is set. ''Default:'' ''not specified'' *Customise which features are displayed: **'''mapframe-shape''' – Turn off display of shape feature by setting to <syntaxhighlight lang="text" class="" id="" style="" inline="1">none</syntaxhighlight>. Use an inverse shape (geomask) instead of a regular shape by setting to <syntaxhighlight lang="text" class="" id="" style="" inline="1">inverse</syntaxhighlight>. ''Default:'' ''not specified'' **'''mapframe-point''' – Turn off display of point feature by setting to <syntaxhighlight lang="text" class="" id="" style="" inline="1">none</syntaxhighlight>. Force point marker to be displayed by setting to <syntaxhighlight lang="text" class="" id="" style="" inline="1">on</syntaxhighlight>. ''Default:'' ''not specified'' **'''mapframe-line''' – Turn off display of line feature by setting to <syntaxhighlight lang="text" class="" id="" style="" inline="1">none</syntaxhighlight>. ''Default:'' ''not specified'' **'''mapframe-geomask''' – Wikidata item to use as a geomask (everything outside the boundary is shaded darker). Can either be a specific Wikidata item (Q-number), or a property that specifies the item to use (e.g. <code>P17</code> for [[d:Special:EntityPage/P17|country <small>(P17)</small>]], <code>P131</code> for [[d:Special:EntityPage/P131|located in the administrative territorial entity <small>(P131)</small>]]). ''Default:'' hospital **'''mapframe-switcher''' – set to <syntaxhighlight lang="text" class="" id="" style="" inline="1">auto</syntaxhighlight> or <syntaxhighlight lang="text" class="" id="" style="" inline="1">geomasks</syntaxhighlight> or <syntaxhighlight lang="text" class="" id="" style="" inline="1">zooms</syntaxhighlight> to enable [[Template:Switcher]]-style switching between multiple mapframes. ''Default:'' ''not specified'' ***<syntaxhighlight lang="text" class="" id="" style="" inline="1">auto</syntaxhighlight> – switch geomasks found in [[d:Special:EntityPage/P276|location <small>(P276)</small>]] and [[d:Special:EntityPage/P131|located in the administrative territorial entity <small>(P131)</small>]] statements on the page's Wikidata item, searching recursively. E.g. an item's city, that city's state, and that state's country. ***<syntaxhighlight lang="text" class="" id="" style="" inline="1">geomasks</syntaxhighlight> – switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the '''mapframe-geomask''' parameter ***<syntaxhighlight lang="text" class="" id="" style="" inline="1">zooms</syntaxhighlight> – switch between "zoomed in"/"zoomed midway"/"zoomed out", where "zoomed in" is the default zoom (with a minimum of <syntaxhighlight lang="text" class="" id="" style="" inline="1">3</syntaxhighlight>), "zoomed out" is <syntaxhighlight lang="text" class="" id="" style="" inline="1">1</syntaxhighlight>, and "zoomed midway" is the average *Other optional parameters: **'''mapframe-frame-width''' or '''mapframe-width''' – Frame width. ''Default:'' 250 **'''mapframe-frame-height''' or '''mapframe-height''' – Frame height. ''Default:'' 200 **'''mapframe-shape-fill''' – Color used to fill shape features. ''Default:'' #606060 **'''mapframe-shape-fill-opacity''' – Opacity level of shape fill, a number between 0 and 1. ''Default:'' 0.5 **'''mapframe-stroke-color''' or '''mapframe-stroke-colour''' – Color of line features, and outlines of shape features. ''Default:'' #ff0000 **'''mapframe-stroke-width''' – Width of line features, and outlines of shape features; default is "5". ''Default:'' 5 **'''mapframe-marker''' – Marker symbol to use for coordinates; see [[mw:Help:Extension:Kartographer/Icons]] for options. ''Default:'' hospital ***Can also be set to <syntaxhighlight lang="text" class="" id="" style="" inline="1">blank</syntaxhighlight> to override any default marker symbol **'''mapframe-marker-color''' or '''mapframe-marker-colour''' – Background color for the marker. ''Default:'' #5E74F3 **'''mapframe-geomask-stroke-color''' or '''mapframe-geomask-stroke-colour''' – Color of outline of geomask shape. ''Default:'' #555555 **'''mapframe-geomask-stroke-width''' – Width of outline of geomask shape. ''Default:'' 2 **'''mapframe-geomask-fill''' – Color used to fill outside geomask features. ''Default:'' #606060 **'''mapframe-geomask-fill-opacity''' – Opacity level of fill outside geomask features, a number between 0 and 1. ''Default:'' 0.5 **'''mapframe-zoom''' – Set the zoom level, from "1" (map of earth) to "18" (maximum zoom in), to be used if the zoom level cannot be determined automatically from object length or area. ''Default:'' 10 **'''mapframe-length_km <templatestyles src="Nobold/styles.css"/><span class="nobold">or</span> mapframe-length_mi <templatestyles src="Nobold/styles.css"/><span class="nobold">or</span> mapframe-area_km2 <templatestyles src="Nobold/styles.css"/><span class="nobold">or</span> mapframe-area_mi2''' – Determine zoom level by passing in object's length (in kilometres or miles) or area (in square kilometres or square miles). ''Default:'' ''not specified'' **'''mapframe-frame-coordinates''' or '''mapframe-frame-coord''' – Alternate latitude and longitude coordinates for initial placement of map, using <span class="nowrap">{{</span>[[Template:coord|coord]]<span class="nowrap">}}</span>. ''Default:'' ''derived from item coordinates'' ====Location map==== If a location map is specified, the <code>coordinates=</code> parameter, used with <span class="nowrap">{{</span>[[Template:Coord|Coord]]<span class="nowrap">}}</span>, will display the location on a map. For details on how to add the latitude and longitude of the building, see the documentation for <span class="nowrap">{{</span>[[Template:Coord|Coord]]<span class="nowrap">}}</span>. * To display coordinates at the top of the page only, set <code>display=title</code> within <span class="nowrap">{{</span>[[Template:Coord|Coord]]<span class="nowrap">}}</span>; to display them in the infobox and the title, set <code>display=inline,title</code>. Otherwise, coordinates will appear only in the infobox. <syntaxhighlight lang="wikitext" style="overflow: auto;"> {{Infobox hospital ... | coordinates = <!-- Use template {{Coord}}. --> | map_type = <!-- location name used for Template:Location map --> | relief = <!-- any non-blank value (yes, 1, etc.) will cause the template to display a relief map image, where available --> | map_size = <!-- width of map named in map_type, in pixels (do not include "px"); default is 225 --> | map_alt = <!-- alternative text for map image, see WP:ALT for details --> | map_caption = <!-- text displayed below map; for no caption enter "map_caption="; if omitted the caption will be "Marker text (location map name)" --> ... }} </syntaxhighlight> === Embedding other templates === The <code>module=</code>, <code>embedded=</code>, or <code>nrhp=</code> parameters can be used for embedding other templates into this infobox (see [[Wikipedia:Infobox modules]]): <syntaxhighlight lang="wikitext" style="overflow: auto;"> {{Infobox hospital | name = ... | module = <!-- or 'embedded' or 'nrhp' --> {{Infobox ABC | embed = yes <!-- or child=yes or subbox=yes--> ... }} }} </syntaxhighlight > == Example == <div class="shortdescription nomobile noexcerpt noprint searchaux" style="display:none">Hospital in Maryland, United States</div><templatestyles src="Module:Infobox/styles.css"></templatestyles><table class="infobox vcard"><tr><th colspan="2" class="infobox-above fn org">The Johns Hopkins Hospital</th></tr><tr><td colspan="2" class="infobox-subheader category">[[Johns Hopkins Medicine]]</td></tr><tr><td colspan="2" class="infobox-full-data"><templatestyles src="Module:Location map/styles.css"></templatestyles><div class="center"><div class="locmap" style="width:250px;float:none;clear:both;margin-left:auto;margin-right:auto"><div style="width:250px;padding:0"><div style="position:relative;width:250px">[[File:Baltimore osm-mapnik location map.png|250px|A map of Baltimore with a dot showing location of Johns Hopkins Hospital|class=notpageimage]]<div class="od notheme" style="top:44.881%;left:60.838%;font-size:91%"><div class="id" style="left:-4px;top:-4px">[[File:Red pog.svg|8x8px|Infobox hospital|link=|alt=A map of Baltimore with a dot showing location of Johns Hopkins Hospital|class=notpageimage]]</div></div></div><div style="padding-top:0.2em">Location of hospital on map of Baltimore</div></div></div></div></td></tr><tr><th colspan="2" class="infobox-header" style="background-color: #efefef">Geography</th></tr><tr><th scope="row" class="infobox-label">Location</th><td class="infobox-data">1800 Orleans Street, [[Baltimore]], [[Maryland]], United States</td></tr><tr><th scope="row" class="infobox-label">[[Geographic coordinate system|Coordinates]]</th><td class="infobox-data"><span class="geo-inline"><templatestyles src="Module:Coordinates/styles.css"></templatestyles><span class="plainlinks nourlexpansion load-gadget" data-gadget="WikiMiniAtlas">[https://geohack.toolforge.org/geohack.php?pagename=Template:Infobox_hospital¶ms=39.29738_N_76.59239_W_region:US-MD_type:landmark <span class="geo-default"><span class="geo-dms" title="Maps, aerial photos, and other data for this location"><span class="latitude">39°17′51″N</span> <span class="longitude">76°35′33″W</span></span></span><span class="geo-multi-punct"> / </span><span class="geo-nondefault"><span class="geo-dec" title="Maps, aerial photos, and other data for this location">39.29738°N 76.59239°W</span><span style="display:none"> / <span class="geo">39.29738; -76.59239</span></span></span>]</span></span></td></tr><tr><th colspan="2" class="infobox-header" style="background-color: #efefef">Organization</th></tr><tr><th scope="row" class="infobox-label">[[Health system|Care system]]</th><td class="infobox-data">Nonprofit</td></tr><tr><th scope="row" class="infobox-label">[[Hospital#Types|Type]]</th><td class="infobox-data category">[[Teaching hospital|Teaching]]</td></tr><tr><th scope="row" class="infobox-label">[[University|Affiliated university]]</th><td class="infobox-data">[[Johns Hopkins School of Medicine|Johns Hopkins University School of Medicine]]</td></tr><tr><th colspan="2" class="infobox-header" style="background-color: #efefef">Services</th></tr><tr><th scope="row" class="infobox-label">[[Emergency department]]</th><td class="infobox-data">[[Level I trauma center]]</td></tr><tr><th scope="row" class="infobox-label">Beds</th><td class="infobox-data">1,059</td></tr><tr><th scope="row" class="infobox-label">[[Helipad]]</th><td class="infobox-data">[[Federal Aviation Administration|FAA]] [[Location identifier|LID]]: '''0MD3 <templatestyles src="Nobold/styles.css"/><span class="nobold">and</span> 17MD'''</td></tr><tr><th colspan="2" class="infobox-header" style="background-color: #efefef">History</th></tr><tr><th scope="row" class="infobox-label">Opened</th><td class="infobox-data">1889</td></tr><tr><th colspan="2" class="infobox-header" style="background-color: #efefef">Links</th></tr><tr><th scope="row" class="infobox-label">Website</th><td class="infobox-data"><span class="url">[http://hopkinshospital.org hopkinshospital<wbr/>.org]</span><br /><span class="url">[http://hopkinsmedicine.org hopkinsmedicine<wbr/>.org]</span></td></tr><tr><th scope="row" class="infobox-label">Lists</th><td class="infobox-data">[[List of hospitals in Maryland|Hospitals in Maryland]]</td></tr><tr><th scope="row" class="infobox-label">Other links</th><td class="infobox-data">[[Johns Hopkins Bayview Medical Center]]</td></tr><tr><td colspan="2" class="infobox-full-data"><templatestyles src="Module:Infobox/styles.css"></templatestyles></td></tr><tr><td colspan="2" class="infobox-subheader" style="padding:0; border:none;"><templatestyles src="Module:Infobox/styles.css"></templatestyles></td></tr><tr><td colspan="2" class="infobox-full-data"><div style="width:100%; font-size:110%; font-weight:bold; background:<nowiki> #A8EDEF</nowiki>; line-height:1.5">Johns Hopkins Hospital Complex</div></td></tr><tr><td colspan="2" class="infobox-full-data"><div style="width:100%; text-align:center; line-height:1.5; background:<nowiki> #A8EDEF</nowiki>;">[[National Register of Historic Places|U.S. National Register of Historic Places]]</div></td>[[Category:Infobox templates|hospital]]</tr><tr style="display:none"><td colspan=2> </td></tr><tr><td colspan="2" class="infobox-image">[[File:Johns Hopkins Hospital.jpg|frameless|upright=1.136]]<div class="infobox-caption">Photograph as of September 2012</div></td></tr><tr><th scope="row" class="infobox-label" style="font-weight:bold; border: 0;">Location</th><td class="infobox-data" style="border: 0;">601 North Broadway, [[Baltimore]], Maryland</td></tr><tr><th scope="row" class="infobox-label" style="font-weight:bold; border: 0;">Area</th><td class="infobox-data" style="border: 0;">8 acres (3.2 ha)</td></tr><tr><th scope="row" class="infobox-label" style="font-weight:bold; border: 0;">Built</th><td class="infobox-data" style="border: 0;">1889</td></tr><tr><th scope="row" class="infobox-label" style="font-weight:bold; border: 0;">Architect</th><td class="infobox-data" style="border: 0;">Cabot & Chandler; Et al.</td></tr><tr><th scope="row" class="infobox-label" style="font-weight:bold; border: 0;">Architectural style</th><td class="infobox-data" style="border: 0;">Queen Anne</td></tr><tr><th scope="row" class="infobox-label" style="font-weight:bold; border: 0;">NRHP reference <abbr title="<nowiki>number">No.
{{Infobox hospital
| name = The Johns Hopkins Hospital
| org/group = [[Johns Hopkins Medicine]]
| logo =
| logo_size = 250
| image =
| image_size = 200
| alt =
| caption = Johns Hopkins new clinical building
| map_type = Baltimore
| map_size = 250
| map_alt = A map of Baltimore with a dot showing location of Johns Hopkins Hospital
| map_caption = Location of hospital on map of Baltimore
| coordinates = {{coord|39.29738|-76.59239|region:US-MD|format=dms|display = inline}}
| location = 1800 Orleans Street
| region = [[Baltimore]]
| state = [[Maryland]]
| country = US
| healthcare = Nonprofit
| type = Teaching <!--infobox generates link to [[Teaching hospital]]-->
| affiliation = [[Johns Hopkins School of Medicine|Johns Hopkins University School of Medicine]]
| standards =
| emergency = I <!--infobox generates link to [[Level I trauma center]] -->
| helipad = {{airport codes|||0MD3 {{nobold|and}} 17MD|p=n}}
| beds = 1,059
| speciality =
| opened = 1889
| closed = <!-- optional -->
| website = {{URL|hopkinshospital.org}}<br />{{URL|hopkinsmedicine.org}}
| other_links = [[Johns Hopkins Bayview Medical Center]]
| nrhp =
{{Infobox NRHP | embed = yes
| name = Johns Hopkins Hospital Complex
| image = Johns Hopkins Hospital.jpg
| caption = Photograph as of September 2012
| location = 601 North Broadway, [[Baltimore]], Maryland
| area = {{convert|8|acre|ha|1}}
| built = 1889
| architect = Cabot & Chandler; Et al.
| architecture = Queen Anne
| governing_body = Private
| refnum = 75002094
| added = February 24, 1975
}}
}}
Microformat
The HTML markup produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.
Sub-templates
If the place or venue has "established", "founded", "opened" or similar dates, use {{start date}} for the earliest of those dates unless the date is before 1583 CE.
If it has a URL, use {{URL}}.
Please do not remove instances of these sub-templates.
Classes
hCard uses HTML classes including:
- adr
- agent
- category
- county-name
- extended-address
- fn
- label
- locality
- nickname
- note
- org
- region
- street-address
- uid
- url
- vcard
Geo is produced by calling {{coord}}, and uses HTML classes:
- geo
- latitude
- longitude
Please do not rename or remove these classes nor collapse nested elements which use them.
Precision
When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name=
parameter.
TemplateData
TemplateData for Infobox hospital
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name Name | The hospital name. When not specified, it defaults to the Wikipedia article's title | Page name | required |
Org/group | org/group Org/Group | Used if the hospital is part of a wider organisation or group. Examples would be the name of a private company owning and running a number of different hospitals, in the UK may be used to specify the NHS Trust (these may operate several hospitals in a locality), other organisations might include Aga Khan Hospital or Aga Khan Health Services. | String | optional |
Logo | logo Logo | An image name for the hospital's logo or crest. | String | optional |
Logo size | logo_size Logo Size | A width for the logo. When not specified, it defaults to frameless which uses the size in each user's Preferences (ranges from 120px to 300px). | Unknown | optional |
Image | image Image | Image name for an illustration of photograph of the hospital. | File | optional |
Image size | image_size Image_size Width | A width for the image. When not specified, it defaults to frameless which uses the size in each user's Preferences (ranges from 120px to 300px). | Unknown | optional |
Alt | alt image alt | Alternative text for image | Unknown | optional |
Caption | caption Caption | Caption text displayed below the image | String | optional |
Map type | map_type pushpin_map | Location name used for Template:Location map | String | optional |
Map alt | map_alt pushpin_map_alt | alternative text for map | String | optional |
Relief | relief pushpin_relief | any non-blank value (yes, 1, etc.) will cause the template to display a relief map image, where available | Unknown | optional |
Coordinates | coordinates Coordinates | Use {{coord}} template with 'display=inline, title' | Unknown | optional |
pushpin_label | pushpin_label | no description | Unknown | optional |
Map caption | map_caption pushpin_map_caption | no description | Unknown | optional |
Map size | map_size pushpin_mapsize | no description | Unknown | optional |
Location | location Location | optional – displayed before region, state, country | Unknown | optional |
Address | address Address | no description | Unknown | optional |
Region | region Region | no description | Unknown | optional |
State | state State | optional – UK: England, Wales, Scotland, Northern Ireland; US: the US state name; CA: province name | Unknown | optional |
Country | country Country | Country name or two-letter code – use UK for United Kingdom or US for United States | Unknown | optional |
Healthcare | healthcare HealthCare | UK: NHS; AU/CA: Medicare; ELSE free-form text, e.g. Private | Unknown | optional |
Funding | funding Funding | use: Non-profit, For-profit, Government, Public | Unknown | optional |
Type | type Type | use: Community, District, General, District General, Teaching, Specialist | Unknown | optional |
Religious affiliation | religious_affiliation | religion associated with the hospital | Unknown | optional |
Affiliation | affiliation Affiliation | medical school / university affiliations (medical or paramedical) | Unknown | optional |
Patron | patron Patron | the individual who acts as the hospital patron | Unknown | optional |
Network | network Network | hospital network, non-owner | Unknown | optional |
Standards | standards Standards | no description | Unknown | optional |
Certification | certification Certification | no description | Unknown | deprecated |
Emergency | emergency Emergency | UK/IR/HK/SG: Yes/No, in CA/IL/US: I/II/III/IV/V for Trauma certification level | Unknown | optional |
Beds | beds Beds | The number of inpatient beds | Number | optional |
Helipad | helipad Helipad | To denote helipad for Medevac. Use Yes, No, or enter location identifiers using {{Airport codes}}. Only list if verifiable, leave blank if unknown. | Unknown | optional |
Speciality | speciality Speciality Specialty specialty | Where type=Specialist, this parameter is used to specify the particular medical or surgical speciality (leave the parameter undefined if the hospital has a broad spectrum of specialities and one happens to be more famous than the rest). Where type=Teaching, this parameter is optional, since teaching hospitals may encompass the full spectrum of clinical specialities or be a single specialist centre. Link to a medical speciality, other useful links are pediatric hospital or psychiatric hospital. Note: This will only be displayed in the infobox when type=Specialist or type=Teaching. Either speciality (UK spelling) or specialty (US spelling) may be used. The infobox label is automatically adjusted based on which parameter is used. | Unknown | optional |
Opened | opened Founded founded | The year or full date that the hospital opened. | Unknown | optional |
Closed | closed Closed | Optional; year or date when a hospital closed. | Unknown | optional |
Demolished | demolished Demolished | Optional; year or date when demolished, if different from closure | Unknown | optional |
Constructed | constructed | Optional; year or date when construction began | Unknown | optional |
publictransit | publictransit | no description | Unknown | optional |
Former names | former-names | Any previous names of the hospital, separate with <br />s | Unknown | optional |
Website | website Website | The full URL address using the {{URL}} template. If the hospital has no web presence, then leave this blank. Also will not display if set to N/A, n/a, None, or none. | Unknown | optional |
Other links | other_links Wiki-Links | Used to specify free-form text links to related material. Must be manually wiki-linked. The template automatically generates a link to [[List of hospitals in Country]] based on the '''country''' parameter (if such a page exists). For the UK or US, the '''state''' parameter is used to display a link to [[List of hospitals in State]] if such a page exists, or the country list if not (works only when country is one of the following: UK, United Kingdom, US, United States). | String | optional |
NRHP | nrhp NRHP embedded module | To embed {{Infobox NRHP}} | Unknown | optional |
h1-number | h1-number | no description | Unknown | optional |
h1-length-m | h1-length-m | no description | Unknown | optional |
h1-length-f | h1-length-f | no description | Unknown | optional |
h1-surface | h1-surface | no description | Unknown | optional |
metric-rwy | metric-rwy | no description | Unknown | optional |
h2-number | h2-number | no description | Unknown | optional |
h2-length-m | h2-length-m | no description | Unknown | optional |
h2-length-f | h2-length-f | no description | Unknown | optional |
h2-surface | h2-surface | no description | Unknown | optional |
Tracking category
See also
- WP:HOSPITAL for WikiProject page
- Subtemplates
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.