सामग्री पर जाएँ

फलकम्:Infobox hospital/doc

विकिपीडिया, कश्चन स्वतन्त्रः विश्वकोशः
This template contains one or more optional parameters: see the talk page for details.

This template employs some extremely complicated and esoteric features of template syntax.

Please do not attempt to alter it unless you are certain that you understand the setup and are prepared to repair any consequent collateral damage if the results are unexpected. Any experiments should be conducted in the template sandbox or your user space.

The Template:Infobox_hospital 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.

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.

{{Infobox hospital
<!-- Instructions: All fields and invisible comments should be left intact for future editors, even if currently unused. -->
<!--               All fields are optional, but if copying to another article, please copy the entire template. -->
<!--               Full template and instructions at: http://en.wikipedia.org/wiki/Template:Infobox_hospital -->
| Name        = {{subst:PAGENAME}}
| Org/Group   = <!-- Org or group that owns/manages the hospital -->
| Image       = <!-- Preferably photo of the main building or entrance-->
| image alt   = <!-- Inserts alternate text for picture -->
| image_size  = 225 <!-- optional width of image, also Width=225 -->
| Caption     = <!-- optional -->
| 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    = <!-- width of the map in pixels (do not include "px"); default is 225 -->
| map_alt     = <!-- alternative text for map image, see WP:ALT for details -->
| map_caption = <!-- Optional. Gives a small caption under the map such as "Shown in region, country" -->
| latitude    = <!-- used for adding a map, with map_type, and for displayed coordinates -->
| longitude   = <!-- used for adding a map, with map_type, and for displayed coordinates -->
| Logo        = <!-- Please conform to copyright -->
| Logo Size   = <!-- Use to limit the logo size -->
| Location    = <!-- manually link & alternatively name if wish -->
| Region      = <!-- e.g. County or City - NB autolinked -->
| State       = <!-- optional UK: England, Wales, Scotland, Northern Ireland. US: The US State - NB autolinked -->
| Country     = <!-- 2 letter code or in full, United States must be "US" -->
| Coordinates = <!-- (alternative to latitude/longitude) use template {{coord}} with 'display=inline, title' -->
| Address     = <!-- Address of main building -->
| HealthCare  = <!-- UK:NHS. AU/CA: Medicare. ELSE freetext, e.g. Private -->
| Funding     = <!-- Non-profit, For-profit, Government, Public - will generate linka -->
| Type        = <!-- Community, District, General, District General, Teaching, Specialist -->
| Speciality  = <!-- if devoted to a speciality (i.e. not a broad spectrum of specialities) and Type=Specialist/Teaching -->
| Standards   = <!-- optional if no national standards -->
| Emergency   = <!-- UK/IR/HK/SG: Yes/No, CA/IL/US: I/II/III/IV/V for Trauma certification level -->
| Helipad     = <!-- Yes, No, or use "Template:Airport codes" with p=n. Only list if verifiable, leave blank if unknown. -->
| Affiliation = <!-- 'None' or Medical School and university affiliations (medical or paramedical) -->
| Patron      = <!-- 'None' or the individual who acts as the hospital patron -->
| Network     = <!-- Hospital network, non-owner -->
| Beds        = <!-- Cite in article as well -->
| Founded     = <!-- Cite in article as well -->
| Closed      = <!-- Use if defunct, please also add to Category:Defunct hospitals -->
| Website     = <!-- 'None' or http URL -->
| Wiki-Links  = <!-- Creates ""See also" field -->
}}

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 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
Image W inserts picture 'Image:Image '
image alt W inserts alt text for picture. See WP:ALT.
Caption F/T
map_type P See Map and coordinates section
latitude P See Map and coordinates section
longitude P See Map and coordinates section
image_size F/T
Logo W inserts picture 'Image:Logo '
Logo Size W Sets logo size
Location F/T This parameter not wikified, but please move County/City & State details to Region & State parameters...
Region W This parameter is wikified if it exists
State W UK=England, Wales, Scotland or N.Ireland.
Country W see Wiki-links on Country/State parameter additional functionality
HealthCare F/T P Wikifies if UK=NHS. AU/CA=Medicare.
ELSE non-wikified freetext, eg 'Private'
Funding F/T P 'Non-profit', 'For-profit', 'Government', or 'Public' are wikilinked.
Type F/T P 'General', 'District' or 'District General', 'Specialist' & 'Teaching' are wikilinked.
Affiliation F/T University or Medical School association, may set to 'None' if no affiliation
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 UK/IR/HK/SG: if =Yes/No adds 'Accident & Emergency'
CA/IL/US:I/II/III/IV/V links to Trauma certification level; else Yes/No
Helipad F/T Optional, use Yes, No, or {{Airport codes}}. Only list if verifiable, leave blank if unknown.
Beds F/T
Speciality F/T Only shown if Type=Specialist, If Type=Teaching then an optional parameter
Founded F/T
Closed F/T
Website W give http://www..... address, add optional <Space> followed by display text, 'home page' is added to this. 'None' if no web presence
Wiki-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 item indicated as freetext is not automatically wikified/wikilinked unless the parameter is defined in a particular article that uses this template:

 Hence: |Affliliation=[[Kings College]]
Name
This defaults to the article's name ({{PAGENAME}}) if not defined
Org/Group
is an optional parameter that may be 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
Image
may be used to provide an optional illustration. These fields are optional, but it is helpful to provide an image if you can find one. Of course most images on the internet are copyrighted.
Image alt
Adds alt text to the image, see WP:ALT
Caption
optional caption for the image
image_size
an optional width parameter for the image. When no image_size parameter is specified, it defaults to 225 (pixels). You may though adjust the width if required like this:
 | Image       = ACME_hospital.png
 | Caption     = The 2006 rebuilt hospital 
 | image_size  = 280
Logo
is a further optional parameter which also takes a relevant image name and shows, to a fixed 200-pixel width, the hospital's logo or crest.

The original placement parameter was Location and would be set with manually wikilinked details of local place, city or country and US state. The template though adds wiki-links in a See also section to the relevant List of hospitals in State if this exits (i.e. if State is defines and the relevant wikipage exists), else to List of hospitals in State if that exists. So please split the hospital placement details into:

Location
the local details. This is not wikilinked
Region
the city or county. Is wikilinked and at least one of Location or Region need to be defined else 'Unknown' is shown
State
Optional wikilinked values.
  • 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
This must be defined else '(? country)' is shown.
Country may be freetext, but the template automatically shows the wikilinked 2 character ISO country codes if set as Australia, Canada, Ireland, India, Kenya, New Zealand, Pakistan, South Africa, Tanzania, United Kingdom or as the corresponding codes.
Hence | Country    = Canada          gives:   Country  CA
Please note: Region, State & Country are automatically wikified if the relevant wikipage exists (i.e. no red links are shown if the relevant wikipage does not exist).

(displayed as 'Organization' if country set as Canada or USA, to maintain spelling consistency within articles)

HealthCare
This indicates the insurance status of the hospital. This is generally a free text item.
However for certain countries, specific values of HealthCare are wikilinked:
Country HealthCare value Wikilinked to Displayed text
Australia Medicare Medicare (Australia) Public Medicare (AU)
Canada Medicare Medicare (Canada) Public Medicare (Canada) and wikilink to abbreviated Provincial plans where article exists
United Kingdom NHS National Health Service Public (NHS)
All countries (including those above) will accept free text for this parameter
Useful markups include Public ([[Ontario Health Insurance Plan|OHIP]])'
Funding
The hospital funding source should be set as one of 'Non-profit', 'For-profit', 'Government', or 'Public'. These are automatically wikilinked to Non-profit hospital, For-profit hospital, Government hospital (redirects to Public hospital), or Public hospital, respectively. Free text is also accepted for this parameter.
Type
The hospital Type is should be set as one of 'Community', 'District General' (or 'District' or 'General'), 'Teaching' or 'Specialist'.
'General' 'District' 'District General' & 'Specialist' are automatically wikilinked to relevant section in hospital
'Teaching' is wikilinked to University hospital (whilst University Hospital seems the most commonly used official term, most doctors & patients (and hence wikireaders) would refer to these as Teaching hospitals)
Affiliation
This in freetext 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 in freetext 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).
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 depreciated 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.
Emergency
is the new more generic parameter. It is generally freetext, 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.
Country Emergency value Displayed text
United Kingdom
Ireland
Hong Kong
Singapore
Yes
No
Yes Accident & Emergency
No Accident & Emergency
else Freetext
Canada
United States
I
II
III
Level I trauma center
Level II trauma center
Level III trauma center
Level IV trauma center
Level V trauma center
else Freetext
Helipad
Optional parameter to denote helipad for Medevac. Use Yes, No, or enter location identifiers using {{Airport codes}}. Only list if verifiable, leave blank if unknown.
Beds
The number of inpatient beds.
Speciality
Used where the hospital is primarily devoted to a particular medical or surgical speciality, i.e. Type=Specialist hospital (i.e. not if it has a broad spectrum of specialities and one happens to be more famous than the rest, for these leave parameter undefined). Teaching hospitals may encompass the full spectrum of clinical specialities or be a single Specialist centre; hence where Type=Teaching, this parameter is optional.
Either link to medical speciality, other useful links are to pediatric hospital, psychiatric hospital
Founded
Please give the year or full date that the hospital opened.
Closed
Optional parameter for when a hospital closed.
Website
Please give the full URL address starting with http://. If the hospital has no web presence, then set this to 'None'
Hence 
|Website =                                       Does not show the parameter at all
|Website = None                                  Gives None
|Website = http://www.example.com                Gives http://www.example.com
See also
This section gives freetext links to related material defined by Wiki-Links
Esoteric programming automatically generates links to the series of wikipedia articles of 'List of hospital in ...'. For UK & US, if State place parameter has been set then the See also field automatically shows List of hospitals in State, but only if such article exists, otherwise and for all other countries, List of Hospitals in Country is shown if this article exists.
(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 freetext passed by Wiki-Links parameter are shown on a new line if an autolink has already been displayed.

Map and coordinates

[सम्पादयतु]

It's usually not necessary to use the coordinates= parameter.

  • The latitude and longitude of the building may be specified:
    • in decimal degrees, using latitude= and longitude= OR
    • in degrees/minutes/seconds, using latd=, latm=, lats=, latNS=, longd=, longm=, longs=, and longEW=.
  • To suppress the display coordinates at the top of the page, set coordinates_display=none or coordinates_display=inline. Otherwise coordinates will appear at the top of the page and in the infobox.
  • The ISO 3166-1 alpha-2 or ISO 3166-2 region code is set using the iso_region= parameter.
  • The input format need not match the display format, use coordinates_format=dms to display the coordinates in degrees/minutes/seconds or coordinates_format=dec to display the coordinates in decimal degrees.

One advantage of omitting the coordinates= parameter is that you can display a {{Location map}} without duplicating coordinates.

{{Infobox hospital
...
| coordinates         = <!-- Template {{Coord}} if map is not used; empty if map is displayed. -->
| coordinates_display = <!-- set to 'inline' or 'none' to suppress display at the top of the page. -->
| iso_region          = <!-- to set the ISO 3166 region code. -->
| 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 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)" -->
...
}}
Parameters to specify coordinates in degrees, minutes, and seconds of arc:
{{Infobox hospital
...
| latd   = <!-- ''latitude'' degrees -->
| latm   = <!-- ''latitude'' minutes -->
| lats   = <!-- ''latitude'' seconds -->
| latNS  = <!-- latitude: S=south, N=north (default) -->
| longd  = <!-- ''longitude'' degrees -->
| longm  = <!-- ''longitude'' minutes -->
| longs  = <!-- ''longitude'' seconds -->
| longEW = <!-- longitude: W=west, E=east (default) -->
...
}}
Parameters to specify coordinates in decimal degrees:
{{Infobox hospital
...
| latitude  = <!-- ''latitude'' (decimal format; enter negative numbers for southern latitude) -->
| longitude = <!-- ''longitude'' (decimal format; enter negative numbers for western longitude) --> 
...
}}

Note: coordinates in decimal degrees are sensitive to extra whitespace in the parameters:

  • Incorrect: | longitude = - 123.45
  • Correct: | longitude = -123.45

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.

If the place or venue has an "established", "founded", "opened" or similar date, use {{start date}} unless the date is before 1583 CE.

If it has a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

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.

When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name= parameter.

The Template:Infobox_hospital 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.

साँचे के पैरामीटर्स

परिमितिःवर्णनम्प्रकारःस्थितिः
Hospital nameName

This defaults to the article's name ({{PAGENAME}}) if not defined

स्ट्रिंगऐच्छिकम्
Organisation/GroupOrg/Group

Organisation or group that owns or manages the hospital

स्ट्रिंगऐच्छिकम्
CountryCountry

2 letter code or in full, United States must be _US_

स्ट्रिंगऐच्छिकम्
Year/date of foundationFounded

the year or full date that the hospital opened

स्ट्रिंगऐच्छिकम्
"https://sa.wikipedia.org/w/index.php?title=फलकम्:Infobox_hospital/doc&oldid=245018" इत्यस्माद् प्रतिप्राप्तम्